Variable if call is national or not

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 29 Mar 2012 09:59:03 +0200, "Dovid B" <ast-ss7 at dovid.net> wrote:
> Hi,
> 
>  
> 
> Is there some sort of variable that will let me know if the calling
party's
> number is in national format or not?
> 

There is no such variable set by default, but you may:
 1. use ss7 debug and look at the incoming message for nai
 2. patch the code to get SS7_NAI_XXX from ss7->calling_nai
 3. easy do this in dialplan by setting ss7_XXXprefix for the linkset and
match by that variable. For example if you set ss7_nationalprefix = N the
incoming call to 12345 will go to extension N12345 the same goes for the
calling party - it will be N54321

It depends what are you after

>  
> 
> Regards,
> 
>  
> 
> Dovid



[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Backpacking]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux