Dail prefix problem!!

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Dail prefix problem!!

Postby mohankumar » Mon Mar 12, 2007 6:13 am

Plz help me to solve the problem!!

I want my dial prefix to be 0109# so i hav configured my dial plan as

; dial an 800 outbound number
exten => _0109#1800NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => _91800NXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _0109#1800NXXXXXX,2,Dial(${TRUNK}/0109#${EXTEN:1},,tTo)
exten => _0109#1800NXXXXXX,3,Hangup
exten => _0109#1888NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => _91888NXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _0109#1888NXXXXXX,2,Dial(${TRUNK}/0109#${EXTEN},,tTo)
exten => _0109#1888NXXXXXX,3,Hangup
exten => _0109#1877NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => _91877NXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _0109#1877NXXXXXX,2,Dial(${TRUNK}/0109#${EXTEN},,tTo)
exten => _0109#1877NXXXXXX,3,Hangup
exten => _0109#1866NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => _0109#1866NXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _0109#1866NXXXXXX,2,Dial(${TRUNK}/0109#${EXTEN},,tTo)
exten => _0109#1866NXXXXXX,3,Hangup


But still it is not throwing the call...
Pls help me to solve the problem.
mohankumar
 
Posts: 53
Joined: Mon Jan 22, 2007 5:40 am
Location: India

Postby devafree » Mon Mar 12, 2007 10:43 am

Remove the leading 0109# , and leave it only before the ${EXTEN}, like this. I have put prefix 9, you can use whatever you normally used. If it is for sify , you have to add a 00 also as the number for say USA has to go out as 0109#001NXXNXXXXXX. Hope it helps.

; dial an 800 outbound number
exten => _9800NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9800NXXXXXX,2,Dial(${TRUNK}/0109#00${EXTEN:1},,tTo)
exten => _9800NXXXXXX,3,Hangup

Regards

devafree
devafree
 
Posts: 180
Joined: Wed Sep 20, 2006 5:03 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 84 guests