I am testing out the newer version and it was suppose to be easy to add carriers but I am having a hack of the time. I have the older version working fine. I am just not sure why this newer version isnt working for me. I went through managers manual and I first made a Phone 201 and then entered the carrier exactly as said in managers manual with some obvious exceptions. here is what I did
Carrier ID: SIPVOICE
Carrier Name: VOICEPULSE
Registration String:
register => user:password@jfk-primary.voicepulse.com
Template ID: None
Account Entry:
[voicepulse-primary]
type=peer
host=jfk-primary.voicepulse.com
username=user
secret=password
qualify=yes
allow=all
canreinvite=no
dtmfmode=rfc2833
rfc2833compensate=yes
insecure=port,invite
trustrpid=yes
context=vicidial-auto
Dialplan Entry:
exten => _91NXXNXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(user:pass@jfk-primary.voicepulse.com/${EXTEN:2},,tTor)
exten => _91NXXNXXXXXX,3,Hangup
I didnt use context=trunckinbound as I am dialing outbound campaigs. I tried context=default and context=vicidial-auto but nothing is working
When I go to softphone (x-lite) I dial a number like 918056453353 (in format of 91NxxNxxxxxx) it gives me an announcment that "The Person you are calling is unavailable)
and CLI gives this
-- Executing AGI("SIP/201-b782fee8", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("SIP/201-b782fee8", "/17203334762||To") in new stack
Jul 17 18:43:49 WARNING[18677]: channel.c:2621 ast_request: No channel type registered for ''
Jul 17 18:43:49 NOTICE[18677]: app_dial.c:1076 dial_exec_full: Unable to create channel of type '' (cause 66 - Channel not implemented)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Hangup("SIP/201-b782fee8", "") in new stack
== Spawn extension (default, 917203334762, 3) exited non-zero on 'SIP/201-b782fee8'
-- Executing DeadAGI("SIP/201-b782fee8", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----66-----CHANUNAVAIL----------") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
WHEN I DO : SIP SHOW PEERS
I can see it in cli as registered fine
201/201 192.168.2.11 D N 61890 OK (116 ms)
voicepulse-primary/user 64.61.93.190 N 5060 OK (65 ms)
WHEN I DO : SIP SHOW REGISTRY
I can see the provider is also listed
Host Username Refresh State
jfk-primary.voicepulse.com:506 user 105 Registered
Its driving me crazy. Please help!
Thanks