Hello,
I am using PJSUA to send SIP MESSAGE to another SIP URL. The message is received at FreeSwitch server and 200 OK response is sent back to the sender.
However, I see no message being forwarded to the receiver at the server. Both wireshark and siptrace reveal no attempt to deliver the message to the receipient.
The SIP message and its response is:
------------------------------------------------------------------------
recv 572 bytes from udp/[96.57.214.157]:1024 at 16:16:19.536837:
------------------------------------------------------------------------
MESSAGE sip:1001@wimed.philips.com SIP/2.0
Via: SIP/2.0/UDP 96.57.214.157:1024;rport;branch=z9hG4bKPjf03b25a7-3d05-46b1-bc16-347cbbd97c07
Max-Forwards: 70
From: <sip:1000@wimed.philips.com>;tag=9ef1d5f6-d19c-459c-87cf-eaab7ca9dfe2
To: <sip:1001@wimed.philips.com>
Call-ID: 907e1671-1b1f-495e-9808-5802e7670328
CSeq: 29555 MESSAGE
Accept: text/plain, application/im-iscomposing+xml
Contact: <sip:1000@96.57.214.157:1024;transport=UDP;ob>
User-Agent: PJSUA v1.10.0 Linux-2.6.35.13/i686/glibc-2.13
Content-Type: text/plain
Content-Length: 16
SIP REGISTRATION
------------------------------------------------------------------------
send 541 bytes to udp/[96.57.214.157]:1024 at 16:16:19.537837:
------------------------------------------------------------------------
SIP/2.0 200 OK
Via: SIP/2.0/UDP 96.57.214.157:1024;rport=1024;branch=z9hG4bKPjf03b25a7-3d05-46b1-bc16-347cbbd97c07
From: <sip:1000@wimed.philips.com>;tag=9ef1d5f6-d19c-459c-87cf-eaab7ca9dfe2
To: <sip:1001@wimed.philips.com>;tag=00tQ14HpaSDUg
Call-ID: 907e1671-1b1f-495e-9808-5802e7670328
CSeq: 29555 MESSAGE
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Content-Length: 0
----------------------------------------------------------------
The registration messages from both the clients at Freeswitch are:
------------------------------------------------------------------------
recv 841 bytes from udp/[96.57.214.157]:1024 at 16:15:58.158614:
------------------------------------------------------------------------
REGISTER sip:96.57.214.156 SIP/2.0
Via: SIP/2.0/UDP 96.57.214.157:1024;rport;branch=z9hG4bKPj4b9b314a-e7d7-4e51-9b58-2aab22e78633
Max-Forwards: 70
From: <sip:1000@wimed.philips.com>;tag=738d0018-6309-47df-81a8-0efbcb12a1b7
To: <sip:1000@wimed.philips.com>
Call-ID: 5887dcaf-c8b5-4837-a708-ea8c75704f79
CSeq: 14535 REGISTER
User-Agent: PJSUA v1.10.0 Linux-2.6.35.13/i686/glibc-2.13
Contact: <sip:1000@96.57.214.157:1024;transport=UDP;ob>
Expires: 300
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Authorization: Digest username="1000", realm="wimed.philips.com", nonce="bba2277d-66b8-4d56-93bf-df343dc7fe52", uri="sip:96.57.214.156", response="b2a31bef17c12d8c0c6c3961ae958932", algorithm=MD5,
cnonce="eb828e16-22b4-4a24-ac21-9b96bc0ad765", qop=auth, nc=00000001
Content-Length: 0
------------------------------------------------------------------------
send 647 bytes to udp/[96.57.214.157]:1024 at 16:15:58.185616:
------------------------------------------------------------------------
SIP/2.0 200 OK
Via: SIP/2.0/UDP 96.57.214.157:1024;rport=1024;branch=z9hG4bKPj4b9b314a-e7d7-4e51-9b58-2aab22e78633
From: <sip:1000@wimed.philips.com>;tag=738d0018-6309-47df-81a8-0efbcb12a1b7
To: <sip:1000@wimed.philips.com>;tag=X5eDvKZBKya3D
Call-ID: 5887dcaf-c8b5-4837-a708-ea8c75704f79
CSeq: 14535 REGISTER
Contact: <sip:1000@96.57.214.157:1024;transport=UDP;ob>;expires=30
Date: Tue, 09 Aug 2011 16:15:58 GMT
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Content-Length: 0
------------------------------------------------------------------------
------------------------------------------------------------------------
recv 841 bytes from udp/[96.57.214.157]:5060 at 16:15:56.372512:
------------------------------------------------------------------------
REGISTER sip:96.57.214.156 SIP/2.0
Via: SIP/2.0/UDP 96.57.214.157:5060;rport;branch=z9hG4bKPj53492c33-27ad-42a5-a5ea-6b0a7fb6760c
Max-Forwards: 70
From: <sip:1001@wimed.philips.com>;tag=76e9c9d5-7f52-4f22-a17c-11a8c287c227
To: <sip:1001@wimed.philips.com>
Call-ID: 71251231-581e-4664-85b9-a9cd74877ca5
CSeq: 52991 REGISTER
User-Agent: PJSUA v1.10.0 Linux-2.6.35.13/i686/glibc-2.13
Contact: <sip:1001@96.57.214.157:5060;transport=UDP;ob>
Expires: 300
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Authorization: Digest username="1001", realm="wimed.philips.com", nonce="aac8bc16-1644-4986-a4e2-a5749d1ea911", uri="sip:96.57.214.156", response="a5a19227c03a4d053ccb0dd65af23aaf", algorithm=MD5,
cnonce="33e8968a-5f8f-45d3-9ccf-a3e20b50de66", qop=auth, nc=00000001
Content-Length: 0
------------------------------------------------------------------------
send 647 bytes to udp/[96.57.214.157]:5060 at 16:15:56.396514:
------------------------------------------------------------------------
SIP/2.0 200 OK
Via: SIP/2.0/UDP 96.57.214.157:5060;rport=5060;branch=z9hG4bKPj53492c33-27ad-42a5-a5ea-6b0a7fb6760c
From: <sip:1001@wimed.philips.com>;tag=76e9c9d5-7f52-4f22-a17c-11a8c287c227
To: <sip:1001@wimed.philips.com>;tag=ta32p2c1U37aB
Call-ID: 71251231-581e-4664-85b9-a9cd74877ca5
CSeq: 52991 REGISTER
Contact: <sip:1001@96.57.214.157:5060;transport=UDP;ob>;expires=30
Date: Tue, 09 Aug 2011 16:15:56 GMT
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Content-Length: 0
------------------------------------------------------------------
Are there any additional settings (other than default) at Freeswitch server for messages to be actually forwarded to the receipient?
Thanks in advance
Amjad