Page 1 of 1

Dial Plan with prefix Code .

PostPosted: Mon Nov 04, 2013 2:27 am
by heart200306
Dear Team

would you please help me to add extra prefix in outbound trunk . new carrier asking to send call 5252+Country Code+ number .
Now I am sending call "country code+phone" and dial prefix as below which is working fine .

exten => _9ZX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9ZX.,2,Dial(SIP/${EXTEN:1}@12.12.12.12,,o)
exten => _9ZX.,3,Hangup

Ques: How can make dial prefix with code 5252 , Please advise .


Asterisk 1.4.44-vici

ISO ::ViciBox.x86_64-4.0.3.iso
ViciBox Server v.4.0!
SVN Version: 1953
DB Schema Version: 1341
Server :Cluster
VERSION: 2.6-396a
BUILD: 130402-2322

: No senguma , No other SW install

Re: Dial Plan with prefix Code .

PostPosted: Mon Nov 04, 2013 9:36 am
by boybawang
exten => _9ZX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9ZX.,2,Dial(SIP/5252${EXTEN:1}@12.12.12.12,,o)
exten => _9ZX.,3,Hangup

Re: Dial Plan with prefix Code .

PostPosted: Wed Nov 06, 2013 1:47 am
by heart200306
Appreciate you help sir .