[asterisk-bugs] [JIRA] (ASTERISK-20604) CLONE - bad dialog-info remote information

Addix Internet Services GmbH (JIRA) noreply at issues.asterisk.org
Thu Oct 25 03:06:18 CDT 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198899#comment-198899 ] 

Addix Internet Services GmbH commented on ASTERISK-20604:
---------------------------------------------------------

Hello,

Ive got the same issue with asterisk-11.0.0-rc2 again:

NOTIFY sip:300 at 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 at 172.17.128.150;user=phone>;tag=as0dc5ac6a
To: <sip:300 at 172.17.128.150>;tag=1bswrdz153
Contact: <sip:200 at 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 at 172.17.128.150">
<dialog id="200" call-id="pickup-5088f194ef24-dqtsijrtc35q" direction="recipient">
<remote>
<identity display="1 Test">sip:100 at 172.17.128.150</identity>
<target uri="sip:100 at 172.17.128.150"/>
</remote>
<local>
<identity display="1 Test">sip:100 at 172.17.128.150</identity>
<target uri="sip:100 at 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"


                
> CLONE - bad dialog-info remote information
> ------------------------------------------
>
>                 Key: ASTERISK-20604
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20604
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Channels/chan_sip/Subscriptions
>    Affects Versions: 11.0.0
>            Reporter: Addix Internet Services GmbH
>            Severity: Minor
>
> 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 at 10.0.0.12">
> <dialog id="test001" call-id="pickup-ca245a55-3b1618d9 at 172.16.0.84" direction="recipient">
> <remote>
> <identity display="test001">sip:test001 at 10.0.0.12</identity>
> <target uri="sip:test001 at 10.0.0.12"/>
> </remote>
> <local>
> <identity>sip:test001 at 10.0.0.12</identity>
> <target uri="sip:test001 at 10.0.0.12"/>
> </local>
> <state>early</state>
> </dialog>
> </dialog-info>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list