If 112 is the only number that you need to send as subscriber you set:

ss7_subscriberprefix=112

in chan_dahdi.conf. Also "ss7_called_nai=dynamic" must be set above the 
ss7_subscriberprefix line.

I don't remember if the internal function strips the 112 when is matched. In 
case that 112 is removed, you can do exactly how you describe, only replace the 
112 in ss7_subscriberprefix by 07 and that's it.

I'll try to find the patch to set the NAI call by call and I'll sent to you 
ASAP.

Best regards,

Gustavo


On 27 Mar 2010, at 17:08, Peter Petrov wrote:

> hi,
> when i need dial emergency number "112" from my asterisk to Telco, need send 
> call 
> with NAI - Subscriber, but i dont know how need to do...
> 
> May be  i need set variable ss7_subsrcriberprefix=07 <- for example
> and in dialplan i need set this:
> 
> Dial(DAHDI/g3/07${EXTEN})
> 
> May this is wrong..... I need set subscriber only for this call.... Please, i 
> need help 
> 
> 
> 
> -- 
> _____________________________________________________________________
> -- 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


-- 
_____________________________________________________________________
-- 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