Hi peter, here is the patch for exporting the called/calling NAI to channel vars. Saludos, Nahuel Greco. On Wed, Feb 24, 2010 at 1:37 PM, Gustavo Marsico [gmail] <gustavomarsico at gmail.com> wrote: > Talking about libss7/chan_dahdi the Nature of Address Indicator in the IAM > (called party number and calling party number) are show exposed to variables > by chan_dahdi at this time. Nahuel (friend of mine) will send to you in a > few minutes a patch to do it. This will expose SS7_CALLED_NAI and > SS7_CALLING_NAI containing the definition in Q763 3.9b: > 1 -?subscriber number (national use) > 2 - unknown (national use) > 3 - national (significant) number > 4 - international number > 5 - network-specific number (national use) > Best regards, > Gustavo > > On Feb 24, 2010, at 2:04 PM, peterpet wrote: > > I'll be grateful, and there is a some variable for getting NAI?? > > gustavomarsico at gmail.com wrote: > > Besides the destination number plan, there is a Nature of Adress Indicator. > If _should be_ set in all calls. > > Do you need some traces as examples? > > ------Original Message------ > > From: peterpet > > Sender: asterisk-ss7-bounces at lists.digium.com > > To: asterisk-ss7 at lists.digium.com > > ReplyTo: asterisk-ss7 at lists.digium.com > > Subject: [asterisk-ss7] SS7 National OR International > > Sent: Feb 24, 2010 13:45 > > Hi, > > There is a way to know from where is ?incomming ?call - national or > international? > > > > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-ss7 mailing list > To UNSUBSCRIBE or update options visit: > ? http://lists.digium.com/mailman/listinfo/asterisk-ss7 > -------------- next part -------------- A non-text attachment was scrubbed... Name: chan_dahdi.c.patch Type: application/octet-stream Size: 474 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-ss7/attachments/20100224/2d1c2cdd/attachment.obj