On Thu, 29 Mar 2012 09:59:03 +0200, "Dovid B" <ast-...@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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-ss7

Reply via email to