cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
534
Views
0
Helpful
0
Replies

SIP BYE Reason Header is not set when call is ended by device where recording in disabled

sikanderhayat
Level 1
Level 1

I have a basic SIP server that I am using for recording calls from CUCM. I have enabled recording on one device and disabled on another. When the call is ended by the recording-enabled device, I get Reason header in BYE Event, below is an example.

Via: SIP/2.0/TCP 192.168.1.48:5060;branch=z9hG4bK3db43e83a6c;rport=39302
From: <sip:2702@192.168.1.48;x-farend;x-refci=22278955;x-nearendclusterid=BR-Cluster2;x-nearenddevice=sikander2;x-nearendaddr=2702;x-farendrefci=22278954;x-farendclusterid=BR-Cluster2;x-farenddevice=sikander1;x-farendaddr=2701>;tag=1661~00d3be95-408b-41c6-90cf-01ef66258892-22278978
To: <sip:88888@192.168.1.124>;tag=f678968f
Date: Mon, 20 Jul 2020 12:08:44 GMT
Call-ID: c0a07380-f151894c-184-3001a8c0@192.168.1.48
User-Agent: Cisco-CUCM11.5
Max-Forwards: 70
P-Asserted-Identity: <sip:2702@192.168.1.48>
CSeq: 102 BYE
Reason: Q.850;cause=16
Session-ID: 00000000000000000000000000000000;remote=e09eaac54aa612f7f1b180eeebab1661
Content-Length: 0

But when the call is ended the non-recording-enabled device, I don't get the Reason Header in BYE event, below is an example

Via: SIP/2.0/TCP 192.168.1.48:5060;branch=z9hG4bK3e27a480e86;rport=39302
From: <sip:2702@192.168.1.48;x-farend;x-refci=22278980;x-nearendclusterid=BR-Cluster2;x-nearenddevice=sikander2;x-nearendaddr=2702;x-farendrefci=22278979;x-farendclusterid=BR-Cluster2;x-farenddevice=sikander1;x-farendaddr=2701>;tag=1666~00d3be95-408b-41c6-90cf-01ef66258892-22278987
To: <sip:88888@192.168.1.124>;tag=209282f
Date: Mon, 20 Jul 2020 12:11:02 GMT
Call-ID: 12e19480-f15189d6-187-3001a8c0@192.168.1.48
User-Agent: Cisco-CUCM11.5
Max-Forwards: 70
P-Asserted-Identity: <sip:2702@192.168.1.48>
CSeq: 102 BYE
Session-ID: 00000000000000000000000000000000;remote=e09eaac54aa612f7f1b180eeebab1666
Content-Length: 0

What could be the possible reason, or I am missing anything. Any leads will be appreciated.

0 Replies 0