Dialplan & trunk
Added by Ervin Skendaj almost 12 years ago
hello im new to goautodial, i installed the server of goautodial for 25 agents outbound, with a dialplan like this
exten => _X.,1,AGI
exten => _X.,2,Dial(SIP/abcom/${EXTEN}@abcom,,tTor)
exten => _X.,3,Hangup
i want to call italy with the prefix 0039, i also placed the X at the champaing settings, but still i get a message at the CLI console,
603 call decline. or congestion everybody is busy. what can i do???
i also placed these dialplanes but nothing:
exten => _XX,1,AGI
exten => _XX,2,Dial(${SIPTRUNK}/0039${EXTEN}@abcom,,tTor)
exten => _XX,3,Hangup
exten => _910XXXXXX.,1,AGI
exten => _910XXXXXX.,2,Dial(${SIPTRUNK}/${EXTEN}@abcom,,tTor)
exten => _910XXXXXX.,3,Hangup
exten => _91XX!,1,AGI
exten => _91XX!,2,Dial(${SIPTRUNK}/0039${EXTEN:4}@abcom,,tTor)
exten => _91XX!,3,Hangup
exten => _913[1-9]XX!,1,AGI
exten => _913[1-9]XX!,2,Dial(${SIPTRUNK}/0039${EXTEN:4}@abcom,,tTo)
exten => _913[1-9]XX!,3,Hangup
plzzzz help!!
Replies (1)
RE: Dialplan & trunk
-
Added by striker 247 almost 12 years ago
you forget to put .(dot) in you dialplan after XX
exten => _XX,1,AGI exten => _XX,2,Dial(${SIPTRUNK}/0039${EXTEN}@abcom,,tTor) exten => _XX,3,Hang
change it to
exten => _XX.,1,AGI exten => _XX.,2,Dial(${SIPTRUNK}/0039${EXTEN}@abcom,,tTor) exten => _XX.,3,Hang
but use some prefix instead of XX. and put 9 as prefix in campaing, hte below dialplan will remove 9 and insert 0039 while dialling out
exten => _9XXXXXXX.,1,AGI(agi:127.0.0.1:4577/call_log) exten => _9XXXXXXX.,2,Dial(${SIPTRUNK}/0039${EXTEN:1}@abcom,,tTor) exten => _9XXXXXXX.,3,Hang
br
striker
www.striker24x7.blogspot.com