Hi,
Asterisk version 1.4.27.1
After placing a call my SIP provider does not send a SIP/2.0 180 -or- SIP/2.0 183 packet. This is causing Asterisk to consider the call answered before the dialed party actually answers, which is causing my dial plan to move down the priority list prematurely.
I understand the SIP provider is configured incorrectly by not sending a 180 and 183.
Are there any workarounds for this?
Here’s an example of the SIP trace where this happens:
<--- SIP read from xxx.xxx.xxx.xxx:5060 --->
SIP/2.0 100 Giving a try
Via: SIP/2.0/UDP 10.1.10.30:5060;branch=z9hG4bK4163f136;rport=5060;received=xxx.xxx.xxx.xxx
From: "V0419214134000000024" <sip:xxxxxxx@10.1.10.30>;tag=as4e639136
To: <sip:12345678910@some.telco.net;cpd=on>
Call-ID: 6c34aedd6444f59b3224e79a5fd7a18e@10.1.10.30
CSeq: 102 INVITE
Server:
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
<--- SIP read from xxx.xxx.xxx.xxx:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.1.10.30:5060;received=xxx.xxx.xxx.xxx;branch=z9hG4bK4163f136;rport=5060
Record-Route: <sip:xxx.xxx.xxx.xxx;lr=on;nat=yes;did=12a.1d6fe1a7>
From: "V0419214134000000024" <sip:xxxxxxxxxxxxx@10.1.10.30>;tag=as4e639136
To: <sip:12345678910@some.telco.net;cpd=on>;tag=as42dc8b6a
Call-ID: 6c34aedd6444f59b3224e79a5fd7a18e@10.1.10.30
CSeq: 102 INVITE
Server: Asterisk PBX 1.6.2.4
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact: <sip:1234567789@xxx.xxx.xxx.xxx>
Content-Type: application/sdp
Content-Length: 278
Here’s my dial plan with flags:
exten => _91.,1,Dial(SIP/${EXTEN:1}@sip-provider,,oghr)
exten => _91.,2,Hangup