Summary: | ASTERISK-20604: CLONE - bad dialog-info remote information | ||||
Reporter: | Addix Internet Services GmbH (addix) | Labels: | |||
Date Opened: | 2012-10-25 02:57:46 | Date Closed: | 2012-11-15 18:13:04.000-0600 | ||
Priority: | Major | Regression? | No | ||
Status: | Closed/Complete | Components: | Channels/chan_sip/Subscriptions | ||
Versions: | 11.0.0 | Frequency of Occurrence | |||
Related Issues: |
| ||||
Environment: | Attachments: | ||||
Description: | Enabling "notifycid" to "yes" is making asterisk to send NOTIFY information about callid in dialog-info section. In this dialog, asterisk also sends information about local and remote side. I found that data about remote side are the same as in the local side, witch is obviously wrong, according to RFC4235. Beneath is an example of such dialog. ****** ADDITIONAL INFORMATION ****** <?xml version="1.0"?> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="6" state="full" entity="sip:test001@10.0.0.12"> <dialog id="test001" call-id="pickup-ca245a55-3b1618d9@172.16.0.84" direction="recipient"> <remote> <identity display="test001">sip:test001@10.0.0.12</identity> <target uri="sip:test001@10.0.0.12"/> </remote> <local> <identity>sip:test001@10.0.0.12</identity> <target uri="sip:test001@10.0.0.12"/> </local> <state>early</state> </dialog> </dialog-info> | ||||
Comments: | By: Addix Internet Services GmbH (addix) 2012-10-25 03:04:52.730-0500 Hello, Ive got the same issue with asterisk-11.0.0-rc2 again: NOTIFY sip:300@172.17.128.205:2048 SIP/2.0 Via: SIP/2.0/UDP 172.17.128.150:5060;branch=z9hG4bK37074bdd;rport Max-Forwards: 70 From: <sip:200@172.17.128.150;user=phone>;tag=as0dc5ac6a To: <sip:300@172.17.128.150>;tag=1bswrdz153 Contact: <sip:200@172.17.128.150:5060> Call-ID: 5088f194ef24-dqtsijrtc35q CSeq: 104 NOTIFY User-Agent: AST4 Subscription-State: active Event: dialog Content-Type: application/dialog-info+xml Content-Length: 501 <?xml version="1.0"?> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="2" state="full" entity="sip:200@172.17.128.150"> <dialog id="200" call-id="pickup-5088f194ef24-dqtsijrtc35q" direction="recipient"> <remote> <identity display="1 Test">sip:100@172.17.128.150</identity> <target uri="sip:100@172.17.128.150"/> </remote> <local> <identity display="1 Test">sip:100@172.17.128.150</identity> <target uri="sip:100@172.17.128.150"/> </local> <state>early</state> </dialog> </dialog-info> In chan_sip.c "ast_channel_connected(callee)->id.name.str" gives the same information as " ast_channel_caller(callee)->id.name.str" By: Matt Jordan (mjordan) 2012-10-29 20:46:44.840-0500 Please do not clone a closed issue - it is extremely confusing to figure out whether or not this is a new problem, a regression, a continuing problem, or something completely else. If you are having a problem with the <dialog-info/> XML in SIP NOTIFY requests, please provide: # Your sip configuration # A snippet of dialplan that reproduces the problem # A pcap illustrating the erroneous SIP messages Attach this information as separate files. Please do *not* provide information in comments - note that this should be covered in the Issue Reporting guidelines, which you have to acknowledge that you read when you filed this issue. Thanks! By: Rusty Newton (rnewton) 2012-11-15 18:12:57.170-0600 Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested. Further information can be found at http://www.asterisk.org/developers/bug-guidelines |