[sr-dev] [tracker] Task opened: Error in generating Publush with state confirmed at recived 200OK package.

sip-router admin at sip-router.org
Wed Dec 7 11:58:14 CET 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Tomek Kotecki (koteckit) 

Attached to Project - sip-router
Summary - Error in generating Publush with state confirmed at recived 200OK package.
Task Type - Bug Report
Category - Module
Status - Unconfirmed
Assigned To - 
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - Hi,
We have found a bug in version 3.2.0 kamailio (also occurs in 3.2.1).
Pua_dialoginfo module generates an incorrect status for the package xml 200OK (method INVITE).
In version 3.1.5 for package 200OK status in the body XML was correct and was: <state>confirmed </ state>.
In version 3.2.x for package 200OK status in the body XML is: <state>terminated</ state>.

In log from kamailio 3.2.0 we found ERROR:
/usr/sbin/kamailio[1997]: ERROR: pua_dialoginfo [pua_dialoginfo.c:284]: unhandled dialog callback type 8 received, from=sip:username12 at sip.mydomain.com
/usr/sbin/kamailio[1997]: DEBUG: pua_dialoginfo [dialog_publish.c:242]: new_body: <?xml version="1.0"?> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0" state="full" entity="sip:username12 at sip.mydomain.com">   <dialog id="baeb1755-42d613e2 at 192.168.2.59" call-id="baeb1755-42d613e2 at 192.168.2.59" direction="initiator">     <state>terminated</state>     <remote>       <identity>sip:11 at sip.mydomain.com</identity>       <target uri="sip:11 at sip.mydomain.com"/>     </remote>     <local>       <identity>sip:username12 at sip.mydomain.com</identity>       <target uri="sip:username12 at XX.XX.6.1:29727"/>     </local>   </dialog> </dialog-info>

Correct in kamailio 3.1.5, without ERROR:
/usr/sbin/kamailio[29551]: DEBUG: pua_dialoginfo [pua_dialoginfo.c:223]: dialog confirmed, from=sip:username12 at sip.mydomain.com
/usr/sbin/kamailio[29551]: DEBUG: pua_dialoginfo [dialog_publish.c:242]: new_body: <?xml version="1.0"?> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0" state="full" entity="sip:username12 at sip.mydomain.com">   <dialog id="16ee2c89-2e618509 at 192.168.2.59" call-id="16ee2c89-2e618509 at 192.168.2.59" direction="initiator">     <state>confirmed</state>     <remote>       <identity>sip:11 at sip.mydomain.com</identity>       <target uri="sip:11 at sip.mydomain.com"/>     </remote>     <local>       <identity>sip:username12 at sip.mydomain.com</identity>       <target uri="sip:username12 at XX.XX.6.1:58340"/>     </local>   </dialog> </dialog-info>

Best Regards,
TK


More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=187

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list