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)


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

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

Reply via email to