Hi,

I'm using a heavily modified version of the SofSipCli as my client on both
sides. Sometimes, it happens that a receiver responds to an INVITE request
with a 180 Ringing and a 200 OK, but the sender fails to recognize it.
Attached are a log file of the sender application and an Ethereal capture
file.

10.10.202.41 invites 139.10.136.113.  172.16.58.47 acts as a proxy between
them. You can see in the capture file that 10.10.202.41 receives a 180
Ringing and a 200 OK, but 10.10.202.41 fails to ACK, so 139.10.136.113 sends
an early BYE.

My log file shows the same situation.  Incoming messages trigger
priv_callback() on these events:

* sending an INVITE
* 200 OK to a SUBSCRIBE
* 200 OK to a NOTIFY
* 200 OK to an early BYE

In other words: both the 180 Ringing and 200 OK are ignored. Any ideas?

Thanks,
Jan
20070613_130224 [          16384] DEBUG sofia_sip/cose_sip.cpp 598 cose_invite(ssc, v=0
o=client 0 0 IN IP4 10.10.202.41
s=chat
c=IN IP4 10.10.202.41
m=message 5056 TCP/MSRP *
a=accept-types: message/cpim
a=path:msrp://10.10.202.41:5056/pljldSG2;tcp
, sip:[EMAIL PROTECTED], sip:[EMAIL PROTECTED])
20070613_130224 [          16386] DEBUG sofia_sip/cose_sip.cpp 331 priv_callback() called with status == 0 and phrase == INVITE sent. Operation name == INVITE
20070613_130224 [          16384] INFO sofia_sip/cose_sip.cpp 798 UA: priv_media_state_cb: INVITE to sip:[EMAIL PROTECTED]
20070613_130224 [          16384] INFO sofia_sip/cose_sip.cpp 618 UA: cose_invite: INVITE to sip:[EMAIL PROTECTED] pending
20070613_130232 [          16386] DEBUG sofia_sip/cose_sip.cpp 331 priv_callback() called with status == 200 and phrase == OK. Operation name == SUBSCRIBE
20070613_130232 [          16386] INFO sofia_sip/cose_sip.cpp 1541 UA: cose_r_subscribe: SUBSCRIBE: 200OK
20070613_130232 [          16386] WARNING im/../sofia_sip/sip_agent.hpp 626 send_sip_subscribe_response 200
20070613_130232 [          16386] WARNING presence/presence_agent.hpp 481 PRESENCE_AGENT: sip_subscribe_response_received from: sip:[EMAIL PROTECTED] response: 200
20070613_130232 [          16386] WARNING presence/presence_agent.hpp 244 PRESENCE_AGENT: send_presence_subscribe_response200
20070613_130232 [          16386] DEBUG sofia_sip/cose_sip.cpp 331 priv_callback() called with status == 200 and phrase == OK. Operation name == SUBSCRIBE
20070613_130232 [          16386] INFO sofia_sip/cose_sip.cpp 1587 UA cose_i_notify: NOTIFY from sip:[EMAIL PROTECTED]
20070613_130232 [          16386] WARNING im/../sofia_sip/sip_agent.hpp 590 send_incoming_presence sip:[EMAIL PROTECTED] application/pidf+xml  <?xml version="1.0" encoding="UTF-8"?><presence entity="sip:[EMAIL PROTECTED]"/>
20070613_130232 [          16386] WARNING presence/presence_agent.hpp 288 In incoming_presence_received from: sip:[EMAIL PROTECTED] content type: application/pidf+xml content parameters:  content:<?xml version="1.0" encoding="UTF-8"?><presence entity="sip:[EMAIL PROTECTED]"/>
20070613_130232 [          16386] WARNING presence/presence_app.cpp 53 In notify_parser: content type not equal to "Multipart/Related"  application/pidf+xml
20070613_130232 [          16386] INFO sofia_sip/cose_sip.cpp 1618      Content type: application/pidf+xml
20070613_130256 [          16386] DEBUG sofia_sip/cose_sip.cpp 331 priv_callback() called with status == 200 and phrase == OK. Operation name == INVITE
20070613_130256 [          16386] INFO sofia_sip/cose_sip.cpp 1093 UA: cose_i_bye: BYE received
20070613_130256 [          16386] WARNING im/../sofia_sip/sip_agent.hpp 574 send_sip_session_terminate_ind sip:[EMAIL PROTECTED] sip:[EMAIL PROTECTED] 4f2218a3 0cSeFDNXgQvDB
20070613_130256 [          16386] INFO im/im_agent.hpp 1204 sip_session_terminate_ind_received sip:[EMAIL PROTECTED] sip:[EMAIL PROTECTED] 4f2218a3 0cSeFDNXgQvDB
20070613_130256 [          16386] INFO im/im_sessiondata.cpp 180 im_sessiondata::get_sessionid
from tag: 4f2218a3
to_tag: 0cSeFDNXgQvDB
sessionid:

20070613_130256 [          16386] INFO im/im_sessiondata.cpp 180 im_sessiondata::get_sessionid
from tag: 0cSeFDNXgQvDB
to_tag: 4f2218a3
sessionid:

20070613_130256 [          16386] INFO im/im_sessiondata.cpp 74 im_sessiondata::remove_sessionid
20070613_130256 [          16386] INFO im/im_agent.hpp 453 send_msrp_stop_session
20070613_130256 [          16386] INFO im/../msrp/msrp_agent.hpp 212 msrp_stop_session_received
20070613_130256 [          16386] DEBUG sofia_sip/cose_sip.cpp 331 priv_callback() called with status == 200 and phrase == Received early BYE. Operation name == INVITE
20070613_130256 [          16386] INFO sofia_sip/cose_sip.cpp 1002 Call terminated
20070613_130256 [          16386] INFO sofia_sip/cose_sip.cpp 1005 UA: cose_i_state: call to sip:[EMAIL PROTECTED] is terminated

Attachment: unrecognizedresponse.pcap
Description: application/extension-pcap

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to