How to change Nature Of Address on Dahdi

If You have an idea, how to change Nature Of Address flag, using Dahdi? I know it’s possible to do it on /etc/asterisk/chan_dahdi.conf, but I need it to do it on dialplan.

I’m presuming you’re talking about the ss7_called_nai and ss7_calling_nai options?

In chan_dahdi.conf:

The prefix one of those letters to your dial string in the dialplan. It should dynamically set the nai based on the prefix to the dial string:
; for international prefix

Hope that helps.

Matthew Fredrickson

1 Like

Yes, I meant rather ss7_calling_nai which I want to change dynamically. Wow, I didn’t know it would work as You mentioned! Thank You creslin287. I will test it.

I have one more question: is it possible to set national nature of address for calling number and international nature of address for called number in one connection? Other question: do these settings have any influnce on incomming connections through this link?

It doesn’t work. If I use, for example Dial(DAHDI/g1/i123456), I get:
Nature of address: 8 which is unknown noa. Do You know the reason?