Cannot make calls for Outbound
Added by Beto G over 9 years ago
I cannot make calls for outbound even that I have added carrier etc and other configs.
Using SIP RTP CoS mark 5-- Executing [0037744699***@default:1] AGI("SIP/8008-00000000", "agi://127.0.0.1:4577/call_log") in new stack
-- <SIP/8008-00000000>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [0037744699***@default:2] Dial("SIP/8008-00000000", "sip/1002/0037744699***,60,tTo") in new stack
[Jul 27 02:21:22] WARNING[5164]: chan_sip.c:5823 create_addr: Purely numeric hostname (1002), and not a peer--rejecting!
[Jul 27 02:21:22] WARNING[5164]: app_dial.c:2345 dial_exec_full: Unable to create channel of type 'sip' (cause 20 - Subscriber absent)
Everyone is busy/congested at this time (1:0/0/1)
-- Executing [0037744699***@default:3] Hangup("SIP/8008-00000000", "") in new stack == Spawn extension (default, 0037744699***, 3) exited non-zero on 'SIP/8008-00000000'
-- Executing [h@default:1] AGI in new stack
-- <SIP/8008-00000000>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL---------- completed, returning 0
vicidial*CLI>
Any solution ?? I have changed here in this text my last three digits of phone number for privacy.
Extensions:
exten => _00XXXXXXXXXX.,1,AGI
exten => _00XXXXXXXXXX.,2,Dial(sip/1002/${EXTEN},60,tTo)
exten => _00XXXXXXXXXX.,3,Hangup
Carrier:
[1002]
type=friend
defaultuser=1002
fromuser=1002
secret=password
host=ip address
canreinvite=no
allow=ulaw
allow=gsm
allow=alaw
allow=g729
I need help if someone had such experience.
Replies (2)
RE: Cannot make calls for Outbound
-
Added by VINISH VIJAYAN over 9 years ago
Hi Beto,
I am also a beginner but i think this will resolve after changing dial Plan to below mentioned.
exten => _0XXXXXXXXXX.,1,AGI
exten => _0XXXXXXXXXX.,2,Dial(sip/1002/${EXTEN},60,tTo)
exten => _0XXXXXXXXXX.,3,Hangup
after change dial plan Pl reload and check. if it is not working then use below one
exten => _X.,1,AGI
exten => _X.,2,Dial(sip/1002/${EXTEN},60,tTo)
exten => _X.,3,Hangup
Regards
VINISH VIJAYAN
MOB : 91-9560302445
RE: Cannot make calls for Outbound
-
Added by Jefferson Varias over 9 years ago
Hi Beto,
You can also use our default dial plans below:
Dialplan Entry:
US:
exten => _91XXXXXXXXXX,1,AGI
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _91XXXXXXXXXX,3,Hangup
UK:
exten => _944.,1,AGI
exten => _944.,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _944,3,Hangup
Australia:
exten => _961.,1,AGI
exten => _961.,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _961.,3,Hangup
Thanks