[asterisk-ss7] libss7 set nai

Matthew Fredrickson creslin at digium.com
Tue Feb 3 23:15:32 CST 2009

Markus A. Wipfler wrote:
> Hi Group,
> I am using libss7 to interconnect with telecom. I need to set the  
> Nature of Address Indicator depending on where the call is coming from  
> (SIP). How can i do this ?


Well... the short answer is that you'd have to change the source code. 
Right now, we have a fixed NAI parameter that is set inside chan_dahdi.conf.

You might be able to add a simple dialplan variable to set it though. 
There are plenty of good examples of doing things like this with other 
SS7 variables in chan_dahdi.c

Matthew Fredrickson
Digium, Inc.

More information about the asterisk-ss7 mailing list