<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>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:</div><div><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Times; ">1 - subscriber number (national use)<span style="font: 12.0px Helvetica"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Times; ">2 - unknown (national use)<span style="font: 12.0px Helvetica"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Times; ">3 - national (significant) number<span style="font: 12.0px Helvetica"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Times; ">4 - international number<span style="font: 12.0px Helvetica"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Times; ">5 - network-specific number (national use)<span style="font: 12.0px Helvetica"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Times; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: medium;"><font class="Apple-style-span" face="Times"><br></font></span></font></div><div>Best regards,</div><div><br></div><div>Gustavo </div><div><br></div><br><div><div>On Feb 24, 2010, at 2:04 PM, peterpet wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I'll be grateful, and there is a some variable for getting NAI??<br><br><a href="mailto:gustavomarsico@gmail.com">gustavomarsico@gmail.com</a> wrote:<br><blockquote type="cite">Besides the destination number plan, there is a Nature of Adress Indicator. If _should be_ set in all calls.<br></blockquote><blockquote type="cite">Do you need some traces as examples?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">------Original Message------<br></blockquote><blockquote type="cite">From: peterpet<br></blockquote><blockquote type="cite">Sender: <a href="mailto:asterisk-ss7-bounces@lists.digium.com">asterisk-ss7-bounces@lists.digium.com</a><br></blockquote><blockquote type="cite">To: <a href="mailto:asterisk-ss7@lists.digium.com">asterisk-ss7@lists.digium.com</a><br></blockquote><blockquote type="cite">ReplyTo: <a href="mailto:asterisk-ss7@lists.digium.com">asterisk-ss7@lists.digium.com</a><br></blockquote><blockquote type="cite">Subject: [asterisk-ss7] SS7 National OR International<br></blockquote><blockquote type="cite">Sent: Feb 24, 2010 13:45<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Hi,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">There is a way to know from where is incomming call - national or international?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> <br></blockquote><br></div></blockquote></div><br></body></html>