[asterisk-users] Prefix/Suffix/StripLSD/StripMSD gone?

Don Pobanz dpobanz at hastingsutilities.com
Tue Nov 21 14:48:59 MST 2006


>> see substrings and String Concatenation under variables 
>> http://www.voip-info.org/wiki-Asterisk+variables
>
> Ok, but if I use this to change EXTEN, asterisk will 
> continue to process statements in the same context 
> based on the original value of EXTEN.
>    ; Allow emergency calls with or without 0 for outside lines
>    exten => 112,1,Prefix(0)

Maybe you just need to explicitly use the goto. 

  exten => 112,1,Goto(0112,1)
    or 
  exten => 0112,1,Goto(${PROV_EMERG}0112,1)

Don Pobanz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2995 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20061121/d47d0fa9/attachment.bin


More information about the asterisk-users mailing list