[asterisk-ss7] chan_ss7 SAM and overlap signaling
Ercan Yücebas
ercan at goldenphone.ch
Wed Feb 28 17:36:58 MST 2007
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 at lists.digium.com
[mailto:asterisk-ss7-bounces at lists.digium.com] On Behalf Of Kristian
Nielsen
Sent: Mittwoch, 28. Februar 2007 11:44
To: asterisk-ss7 at lists.digium.com
Subject: Re: [asterisk-ss7] chan_ss7 SAM and overlap signaling
Ercan Yücebas <ercan at goldenphone.ch> 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
More information about the asterisk-ss7
mailing list