Dear Team,
I have an Asterisk Server (Version Asterisk 11.22.0-vici) and SIP Trunk.
When am making the call using sip trunk after the call disconnected only my asterisk sip channel is not getting free.its taking more than 10 to 15seconds to get free the channel.
Am originate the clal using my trunk. Once the call is disconnected am able to see asterisk sending BYE to my SIP provider server also getting the ACK from my sip provider for with in 2 seconds, Am noticed after am getting ACK also iam able to see the below output on asterisk -rx “sip show channels”
myserver *CLI> sip show channels
Peer User/ANR Call ID Format Hold Last Message Expiry Peer
10.237.192.35 7574832699 2baa90e226891d2 (alaw) No Tx: ACK mytrunk
Once the got is disconnected am getting the below response in my server.
BYE sip:+912233330000@10.17.116.1:5060 SIP/2.0
Via: SIP/2.0/UDP 10.237.192.35:5060;branch=z9hG4bK-1ce4065fe32067c96fd8btaN0
To: "912233330000"sip:+912233330000@mumbai.relianceims.in;tag=as6dafe962
From: sip:7577577577@mumbai.relianceims.in;tag=ztesipJRCEecMkFqHYIAh-9DXyTd1-5-20481eaeb.1
Call-ID: 490df22770d393af3a30357c48d38e1e@mumbai.relianceims.in
CSeq: 1001 BYE
Max-Forwards: 66
Reason: Q.850;cause= 16;text= “Normal call clearing”
Content-Length: 0
<------------->
— (9 headers 0 lines) —
Sending to 10.237.192.35:5060 (NAT)
Scheduling destruction of SIP dialog ‘490df22770d393af3a30357c48d38e1e@mumbai.relianceims.in’ in 6400 ms (Method: BYE)
<— Transmitting (NAT) to 10.237.192.35:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.237.192.35:5060;branch=z9hG4bK-1ce4065fe32067c96fd8btaN0;received=10.237.192.35;rport=5060
From: sip:7577577577@mumbai.relianceims.in;tag=ztesipJRCEecMkFqHYIAh-9DXyTd1-5-20481eaeb.1
To: "912233330000"sip:+912233330000@mumbai.relianceims.in;tag=as6dafe962
Call-ID: 490df22770d393af3a30357c48d38e1e@mumbai.relianceims.in
CSeq: 1001 BYE
Server: Asterisk PBX 11.22.0-vici
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
After making i have revived ACK from sip provider still the sip show channel
was showing the channel .
10.237.192.35 +9122333300000@m 490df22770d393af (alaw) No Rx: BYE rcom-sip-t
And after 15 seconds h have received the below in terminal then the channel was cleared.
Really destroying SIP dialog ‘490df22770d393af3a30357c48d38e1e@mumbai.relianceims.in’ Method: BYE
…
Can any one help on this ? Why the channel is not getting clear even after ACK received from sip provider ?
Or is there any change where we can make the channel to get free instantly .
Thanks in Advance.