I cannot figure out this error. I used to be able to manual dial and it worked. Couldn’t get autodial to work but now both don’t work giving the same error as in the subject. Currently trying to dial Norwegian numbers. I am not sure about the ‘context’. When I was successful in manul dial, I didn’t change the context.
Account entry:
[Norway]
disallow=all
allow=gsm
allow=ulaw
type=friend
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=very
nat=yes
host=194.6.238.84
username=carrier username
secret=carrier password
Dialplan Entry:
exten => _00.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _00.,2,Dial(SIP/${EXTEN:2}@Norway,,tTo)
exten => _00.,3,Hangup
Unsuccessful Dial log:
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [004747289862@default:3] Hangup("Local/8600052@default-00000005;1", "") in new stack
== Spawn extension (default, 004747289862, 3) exited non-zero on 'Local/8600052@default-00000005;1'
-- Executing [h@default:1] AGI("Local/8600052@default-00000005;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----1-----CHANUNAVAIL----------") in new stack
-- <Local/8600052@default-00000005;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----1-----CHANUNAVAIL---------- completed, returning 0
== Spawn extension (default, 8600052, 1) exited non-zero on 'Local/8600052@default-00000005;2'
-- Executing [h@default:1] AGI("Local/8600052@default-00000005;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- <Local/8600052@default-00000005;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0[/code]
[b]Successful dial log[/b]
[code]Connected to Asterisk 1.8.23.0-1_centos7.go RPM by demian@goautodial.com currently running on CentOS-71-64-minimal (pid = 8993)
Verbosity is at least 3
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing [8600051@default:1] MeetMe("Local/8600051@default-00000038;2", "8600051,F") in new stack
-- Executing [004797718208@default:1] AGI("Local/8600051@default-00000038;1", "agi://127.0.0.1:4577/call_log") in new stack
== Manager 'sendcron' logged off from 127.0.0.1
-- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=NORWAY))
-- <Local/8600051@default-00000038;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [004797718208@default:2] Dial("Local/8600051@default-00000038;1", "SIP/97718208@Norway,,tTo") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/97718208@Norway
-- SIP/Norway-000000dc is making progress passing it to Local/8600051@default-00000038;1
[May 29 09:20:49] NOTICE[12166]: chan_sip.c:25829 handle_request_register: Registration from '"10818" <sip:10818@XXX.XXX.XXX.XXX:5060>' failed for '212.83.171.95:5090' - Wrong password
-- SIP/Norway-000000dc answered Local/8600051@default-00000038;1
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing [h@default:1] AGI("Local/8600051@default-00000038;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----20-----4") in new stack
== Manager 'sendcron' logged off from 127.0.0.1
-- <Local/8600051@default-00000038;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----20-----4 completed, returning 0
-- Executing [h@default:2] Dial("Local/8600051@default-00000038;1", "SIP/@Norway,,tTo") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/@Norway
== Spawn extension (default, h, 2) exited non-zero on 'Local/8600051@default-00000038;1'
== Spawn extension (default, 004797718208, 2) exited non-zero on 'Local/8600051@default-00000038;1'
== Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-00000038;2'
-- Executing [h@default:1] AGI("Local/8600051@default-00000038;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- <Local/8600051@default-00000038;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
-- Executing [h@default:2] Dial("Local/8600051@default-00000038;2", "SIP/@Norway,,tTo") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/@Norway
== Spawn extension (default, h, 2) exited non-zero on 'Local/8600051@default-00000038;2'[/code]
[b]SIP logs[/b]
[code]<--- SIP read from UDP:194.6.238.84:5060 --->
SIP/2.0 501 Unsupported Method
Via: SIP/2.0/UDP serverip:5060;branch=z9hG4bK1a6c1cad;rport=5060
To: <sip:194.6.238.84>;tag=07218832
From: "asterisk" <sip:asterisk@serverip>;tag=as7e1e3b98
Call-ID: 25efe57329d994294c0d80f95f854b93@serverip:5060
CSeq: 102 OPTIONS
Content-Length: 0
<------------->
--- (7 headers 0 lines) ---
Really destroying SIP dialog '25efe57329d994294c0d80f95f854b93@serverip:5060' Method: OPTIONS
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
Reliably Transmitting (NAT) to 10.10.10.100:54396:
OPTIONS sip:8002@10.10.10.100:54396;rinstance=fbd4445fc8206add SIP/2.0
Via: SIP/2.0/UDP 10.10.10.1:5060;branch=z9hG4bK30cacb9c;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.10.10.1>;tag=as54bfb17b
To: <sip:8002@10.10.10.100:54396;rinstance=fbd4445fc8206add>
Contact: <sip:asterisk@10.10.10.1:5060>
Call-ID: 293dfa2757b18ad76ddc89e13250f601@10.10.10.1:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.23.0-1_centos7.go RPM by demian@goautodial.com
Date: Wed, 10 Jun 2015 11:29:19 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
Retransmitting #1 (NAT) to 10.10.10.100:54396:
OPTIONS sip:8002@10.10.10.100:54396;rinstance=fbd4445fc8206add SIP/2.0
Via: SIP/2.0/UDP 10.10.10.1:5060;branch=z9hG4bK30cacb9c;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.10.10.1>;tag=as54bfb17b
To: <sip:8002@10.10.10.100:54396;rinstance=fbd4445fc8206add>
Contact: <sip:asterisk@10.10.10.1:5060>
Call-ID: 293dfa2757b18ad76ddc89e13250f601@10.10.10.1:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.23.0-1_centos7.go RPM by demian@goautodial.com
Date: Wed, 10 Jun 2015 11:29:19 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
Retransmitting #2 (NAT) to 10.10.10.100:54396:
OPTIONS sip:8002@10.10.10.100:54396;rinstance=fbd4445fc8206add SIP/2.0
Via: SIP/2.0/UDP 10.10.10.1:5060;branch=z9hG4bK30cacb9c;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.10.10.1>;tag=as54bfb17b
To: <sip:8002@10.10.10.100:54396;rinstance=fbd4445fc8206add>
Contact: <sip:asterisk@10.10.10.1:5060>
Call-ID: 293dfa2757b18ad76ddc89e13250f601@10.10.10.1:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.23.0-1_centos7.go RPM by demian@goautodial.com
Date: Wed, 10 Jun 2015 11:29:19 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
Retransmitting #3 (NAT) to 10.10.10.100:54396:
OPTIONS sip:8002@10.10.10.100:54396;rinstance=fbd4445fc8206add SIP/2.0
Via: SIP/2.0/UDP 10.10.10.1:5060;branch=z9hG4bK30cacb9c;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.10.10.1>;tag=as54bfb17b
To: <sip:8002@10.10.10.100:54396;rinstance=fbd4445fc8206add>
Contact: <sip:asterisk@10.10.10.1:5060>
Call-ID: 293dfa2757b18ad76ddc89e13250f601@10.10.10.1:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.23.0-1_centos7.go RPM by demian@goautodial.com
Date: Wed, 10 Jun 2015 11:29:19 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.10.10.100:54396 --->
SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/UDP 10.10.10.1:5060;branch=z9hG4bK30cacb9c;rport=5060
To: <sip:8002@10.10.10.100:54396;rinstance=fbd4445fc8206add>;tag=96128726
From: "asterisk" <sip:asterisk@10.10.10.1>;tag=as54bfb17b
Call-ID: 293dfa2757b18ad76ddc89e13250f601@10.10.10.1:5060
CSeq: 102 OPTIONS
Allow: SUBSCRIBE, NOTIFY, INVITE, ACK, CANCEL, BYE, REFER, INFO, MESSAGE
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
[Jun 10 13:29:22] NOTICE[1925]: chan_sip.c:21647 handle_response_peerpoke: Peer '8002' is now Lagged. (3058ms / 2000ms)
Really destroying SIP dialog '293dfa2757b18ad76ddc89e13250f601@10.10.10.1:5060' Method: OPTIONS
Reliably Transmitting (NAT) to 10.10.10.100:54396:
OPTIONS sip:8002@10.10.10.100:54396;rinstance=fbd4445fc8206add SIP/2.0
Via: SIP/2.0/UDP 10.10.10.1:5060;branch=z9hG4bK188ce788;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@10.10.10.1>;tag=as77b96784
To: <sip:8002@10.10.10.100:54396;rinstance=fbd4445fc8206add>
Contact: <sip:asterisk@10.10.10.1:5060>
Call-ID: 25100f3f7c4ed74b279291331a6cf064@10.10.10.1:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.23.0-1_centos7.go RPM by demian@goautodial.com
Date: Wed, 10 Jun 2015 11:29:32 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:10.10.10.100:54396 --->
SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/UDP 10.10.10.1:5060;branch=z9hG4bK188ce788;rport=5060
To: <sip:8002@10.10.10.100:54396;rinstance=fbd4445fc8206add>;tag=f79d9941
From: "asterisk" <sip:asterisk@10.10.10.1>;tag=as77b96784
Call-ID: 25100f3f7c4ed74b279291331a6cf064@10.10.10.1:5060
CSeq: 102 OPTIONS
Allow: SUBSCRIBE, NOTIFY, INVITE, ACK, CANCEL, BYE, REFER, INFO, MESSAGE
Content-Length: 0
Thanks in advance.