Kamailio sends INVITE by tm.t_uac_wait RPC command:

INVITE sip:test-0x55e7f1f78e70@192.168.187.215:5022 SIP/2.0
Via: SIP/2.0/UDP 
192.168.187.215;branch=z9hG4bK6cf1.f1d087d6000000000000000000000000.0
To: <sip:t...@test.tutpro.com>
From: 
<sip:click2d...@test.tutpro.com>;tag=2dd3d4389fe3d66c5cb97dc370ab7d7b-9c5a2a58
CSeq: 1 INVITE
Call-ID: 6649e78355...@test.tutpro.com
Content-Length: 131
User-Agent: OpenSIPg SIP Proxy (5.9.0-0b01 (x86_64/linux))
Max-Forwards: 10
Contact: <sip:click2dial@192.168.187.215: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:t...@test.tutpro.com>;tag=a3302e2a0898de3e
From: 
<sip:click2d...@test.tutpro.com>;tag=2dd3d4389fe3d66c5cb97dc370ab7d7b-9c5a2a58
CSeq: 1 INVITE
Call-ID: 6649e78355...@test.tutpro.com
Server: baresip v3.12.0 (x86_64/Linux)
Contact: <sip:test-0x55e7f1f78e70@192.168.187.215: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:test-0x55e7f1f78e70@192.168.187.215:5022 SIP/2.0
Via: SIP/2.0/UDP 
192.168.187.215;branch=z9hG4bK6cf1.f1d087d6000000000000000000000000.0
From: 
<sip:click2d...@test.tutpro.com>;tag=2dd3d4389fe3d66c5cb97dc370ab7d7b-9c5a2a58
Call-ID: 6649e78355...@test.tutpro.com
To: <sip:t...@test.tutpro.com>;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 sr-users-le...@lists.kamailio.org
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