Page 1 of 1

extensions.conf

PostPosted: Wed Sep 13, 2006 12:28 am
by abhasbajpai
i am using asterisk + vicidial
on test setup
i have take minuts for a Voip provider and now i have to change it
i want to dial australia
previuosly i was using this extensions.conf file
[vicidial]
;exten => h,1,AGI(call_log.agi,${EXTEN}) ; use regular AGI for older versions
exten => h,1,DeadAGI(call_log.agi,${EXTEN}) ; DeadAGI is new
exten => h,2,DeadAGI(VD_hangup.agi,PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})

; Call Australia
exten => _61NXXXXXXXX,1,Monitor(WAV,${TIMESTAMP}_${CALLERIDNUM}_${EXTEN},mb)
exten => _61NXXXXXXXX,2,Dial(SIP/${EXTEN}@xxxxx,,tTo)
exten => _61NXXXXXXXX,3,Hangup

exten => _610XXXXXXXXX,1,Monitor(WAV,${TIMESTAMP}_${CALLERIDNUM}_61${EXTEN:3},mb)
exten => _610XXXXXXXXX,2,Dial(SIP/61${EXTEN:3}@xxxxx,,tTo)
exten => _610XXXXXXXXX,3,Hangup


now my new minutes provider require me to 00 before dialing 61XXXXXXX
how can i do it
help me

PostPosted: Wed Sep 13, 2006 1:02 am
by gerski
try

adding all 00 before 61

exten => _0061NXXXXXXX,2,Dial(SIP/${EXTEN}@xxxxx,,tTo)

PostPosted: Thu Sep 14, 2006 12:21 am
by abhasbajpai
i can do it in extensions.conf
but how will i do it in leads
whcih allows only country code
there how will i put 00

PostPosted: Thu Sep 14, 2006 2:09 am
by gerski
are you using vicidial? if yes after you load the leads go to CAMPAIGNS then go to your created campaigns then click detail view and you will si DIAL PREFIX, just put 00 if your number or leads has 61. if your leads has number only you can put 0061

PostPosted: Sat Sep 16, 2006 12:39 am
by abhasbajpai
ok thanks