[asterisk-users] Change extension for international ?
Phil Frost
phil at macprofessionals.com
Wed Apr 4 15:55:13 CDT 2012
On 04/04/2012 04:50 PM, Olivier CALVANO wrote:
> Hi
>
> i am search a solution for "change" the number called.
>
> Sample:
>
> I have a Linksys SPA942 connected in SIP with my server.
>
> When this phone call a number: 043112xxxx
> automatiquely change in 3343112xxxx
>
> because my carrier want a number in international format.
>
> It's possible ?
>
Yes. You can use ${EXTEN:N} to strip the leading N digits off the dial
extension. Probably something like:
exten => 043122XXXX,1,Goto(33${EXTEN:1})
or
exten => 043122XXXX,1,Dial(SIP/33${EXTEN:1}@your-provider)
More information about the asterisk-users
mailing list