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? >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20100224/6e196b17/attachment.htm