Kamailio sends INVITE by tm.t_uac_wait RPC command:

INVITE sip:[email protected]:5022 SIP/2.0
Via: SIP/2.0/UDP 
192.168.187.215;branch=z9hG4bK6cf1.f1d087d6000000000000000000000000.0
To: <sip:[email protected]>
From: 
<sip:[email protected]>;tag=2dd3d4389fe3d66c5cb97dc370ab7d7b-9c5a2a58
CSeq: 1 INVITE
Call-ID: [email protected]
Content-Length: 131
User-Agent: OpenSIPg SIP Proxy (5.9.0-0b01 (x86_64/linux))
Max-Forwards: 10
Contact: <sip:[email protected]:5060>
Content-Type: application/sdp

.. sdp omitted

UAS accepts the INVITE:

SIP/2.0 200 Answering
Via: SIP/2.0/UDP 
192.168.187.215;branch=z9hG4bK6cf1.f1d087d6000000000000000000000000.0
To: <sip:[email protected]>;tag=a3302e2a0898de3e
From: 
<sip:[email protected]>;tag=2dd3d4389fe3d66c5cb97dc370ab7d7b-9c5a2a58
CSeq: 1 INVITE
Call-ID: [email protected]
Server: baresip v3.12.0 (x86_64/Linux)
Contact: <sip:[email protected]:5022>
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,NOTIFY,SUBSCRIBE,INFO,MESSAGE,UPDATE,REFER
Supported: gruu,replaces,norefersub
Content-Type: application/sdp
Content-Length: 239

.. sdp omitted

After receiving the response, Kamailio automatically sends ACK:

ACK sip:[email protected]:5022 SIP/2.0
Via: SIP/2.0/UDP 
192.168.187.215;branch=z9hG4bK6cf1.f1d087d6000000000000000000000000.0
From: 
<sip:[email protected]>;tag=2dd3d4389fe3d66c5cb97dc370ab7d7b-9c5a2a58
Call-ID: [email protected]
To: <sip:[email protected]>;tag=a3302e2a0898de3e
CSeq: 1 ACK
User-Agent: OpenSIPg SIP Proxy (5.9.0-0b01 (x86_64/linux))
Content-Length: 0

The problem is that Max-Forwards header is missing from the ACK.

Should I have something in config file to add it or is this a bug?

-- Juha
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to