[asterisk-bugs] [JIRA] (ASTERISK-24488) xml-info wrong remote identity and target
Marco Paland (JIRA)
noreply at issues.asterisk.org
Tue Dec 9 09:06:29 CST 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223939#comment-223939 ]
Marco Paland commented on ASTERISK-24488:
-----------------------------------------
I'm having a similar MAJOR issue, which makes 13.0.0 unusable with snom phones.
We are using the PJSIP stack, not the chan_sip.
The NOTIFY header of a ringing extension (1005) looks like (at ext 1010):
<--- Transmitting SIP request (808 bytes) to UDP:192.168.1.155:36578 --->
NOTIFY sip:1010 at 192.168.1.155:36578 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.1:5060;rport;branch=z9hG4bKPjbaab25f1-9a22-4e9d-95f0-0311eba3d937
From: <sip:1005 at 192.168.1.1>;tag=94d2b042-dfe5-4d56-bc1b-77b212dd4d0f
To: <sip:1010 at 192.168.1.1>;tag=54wyd8hmq4
Contact: <sip:192.168.1.1:5060>
Call-ID: 313431373934373935333433383134-n1tmcldgl41x
CSeq: 25798 NOTIFY
Event: dialog
Subscription-State: active;expires=3500
Allow-Events: message-summary, presence, dialog, refer
Max-Forwards: 70
User-Agent: Asterisk
Content-Type: application/dialog-info+xml
Content-Length: 228
<?xml version="1.0" encoding="UTF-8"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="1" state="full" entity="sip:1005 at 200.200.200.200:5060">
<dialog id="1005">
<state>early</state>
</dialog>
</dialog-info>
Issues:
- <remote> and <local> are missing completely
- no direction="recipient" attr in <dialog> tag
- entity="sip:1005 at 200.200.200.200:5060" is outside IP, but inside IP (192.168.1.1) is needed
> xml-info wrong remote identity and target
> -----------------------------------------
>
> Key: ASTERISK-24488
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24488
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: 13.0.0
> Reporter: Alejandro Padilla
> Assignee: Rusty Newton
> Attachments: issue_24488_full_log, sip_casa.conf, sip.conf
>
>
> Hi, i had installed the new version asterisk 13.0.0 , and i found a issue on xml-info send to the phones on extensions monitoring.
> In this example the extension 1080 are calling to extension 1002
> im monitoring the 1002 extension with blf and snom phone with other extension, and now i received this xml:
> {noformat}
> ?xml version="1.0"?>
> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="9" state="full" entity="sip:1002 at pbx.casa.local">
> <dialog id="1002" call-id="pickup-080f0000be77-dq09hphbjmcr" local-tag="pndu3ilpwj" remote-tag="as03ca48d8" direction="recipient">
> <remote>
> <identity display="1002">sip:1002 at pbx.casa.local</identity>
> <target uri="sip:1002 at pbx.casa.local"/>
> </remote>
> <local>
> <identity display="1002">sip:1002 at pbx.casa.local</identity>
> <target uri="sip:1002 at pbx.casa.local"/>
> </local>
> <state>early</state>
> </dialog>
> </dialog-info>
> {noformat}
> In before version of asterisk and same configuration im receiving this:
> {noformat}
> ?xml version="1.0"?>
> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="13" state="full" entity="sip:1 at pbx.casa.local">
> <dialog id="1" call-id="pickup-0d100000a26a-r4fxlunt57hh" local-tag="we84z74osq" remote-tag="as78081848" direction="recipient">
> <remote>
> <identity display="tel760">sip:1080 at pbx.casa.local</identity>
> <target uri="sip:1080 at pbx.casa.local"/>
> </remote>
> <local>
> <identity display="tel870">sip:1002 at pbx.casa.local</identity>
> <target uri="sip:1002 at pbx.casa.local"/>
> </local>
> <state>early</state>
> </dialog>
> </dialog-info>
> {noformat}
> I have this on sip.conf on both servers asterisk 11 and asterisk 13:
> {noformat}
> notifycid=ignore-context
> trustrpid=no
> sendrpid=yes
> {noformat}
> Regards
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list