chan_ss7 SAM and overlap signaling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can somebody maybe explain me what this code means

static void check_iam_sam(struct ss7_chan* pvt)
{
  int complete = (pvt->link->linkset->enable_st &&
pvt->iam.dni.complete) ||
    ast_exists_extension(pvt->owner, pvt->context, pvt->iam.dni.num, 1,
pvt->iam.rni.num);


I think that the problem is here or in my understanding about this piece
of code. We have to understand, what the conditions are to first or to
second choise of this if else statement


thank you very much

BR
Ercan






-----Original Message-----
From: asterisk-ss7-bounces@xxxxxxxxxxxxxxxx
[mailto:asterisk-ss7-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Kristian
Nielsen
Sent: Mittwoch, 28. Februar 2007 11:44
To: asterisk-ss7@xxxxxxxxxxxxxxxx
Subject: Re: chan_ss7 SAM and overlap signaling

Ercan Y?cebas <ercan@xxxxxxxxxxxxxx> writes:

> Does any version of cham_ss7 supports overlap signaling?

I think chan_ss7 supports overlapped signalling on incoming calls:

    static void process_sam(struct ss7_chan *pvt, struct isup_msg
*inmsg)
    {
      ...
      strcat(pvt->iam.dni.num, inmsg->sam.sni.num);
      pvt->iam.dni.complete = pvt->iam.dni.complete ||
inmsg->sam.sni.complete;
      check_iam_sam(pvt);
    }

So on reception of SAM (subsequent address message), it just collects
the
digits.

Overlapped signalling is not supported for outgoing calls. This is
mostly
because there is no API in Asterisk for this (or at least there was not
when I
implemented the original version of chan_ss7).

I guess in the VoIP, overlapped dialing is not usual, as there usually
is a
full address before a call is initiated, and Asterisk works the same
way.

 - Kristian.

-- 
Kristian Nielsen, Software Developer
MySQL AB, Hvidovre, Denmark, www.mysql.com
Office: +46 18 174 400 ext. 4525
Are you MySQL certified?  www.mysql.com/certification

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-ss7


[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Backpacking]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux