[Asterisk-Users] How can i convert number with exten

Tim Robinson
2004-08-30T02:53:13Z

Just strip 00 and replace with 011

eg. Dial(SIP/your-US-provider/011${EXTEN:2})  etc

This will strip the leading 00 and replace with 011
Rgds
Tim

Johannes van Hulst wrote:

>I am looking for a way to convert numbers so that I can use one standard for
>all the providers.
>
>For example
>I would like to dail 00 31 20 1234567
>And that convert to 0011 31 20 1234567 so that my VS provider understands
>it.
>
>How can I remove the 00 and replace it with 0011.
>
>Greetings Han
>
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users@lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>