[asterisk-bugs] [JIRA] (ASTERISK-24488) xml-info wrong remote identity and target

Alejandro Padilla (JIRA) noreply at issues.asterisk.org
Tue Nov 18 04:29:29 CST 2014


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

Alejandro Padilla commented on ASTERISK-24488:
----------------------------------------------

Hi, mi hints.conf

[hints]

exten => 1054,hint,SIP/1054
exten => 1001,hint,SIP/1001
exten => 1000,hint,SIP/1000
exten => 1005,hint,SIP/1005
exten => 1002,hint,SIP/1002
exten => 1006,hint,SIP/1006
;exten => snom710,hint,SIP/1005
exten => 1080,hint,SIP/1080
exten => 1983,hint,SIP/1983
exten => 1003,hint,SIP/1003
exten => 1005,hint,SIP/1005
exten => line,hint,SIP/line


;exten => 4000,hint,Custom:4000

exten => b1054,hint,Custom:b1054

;exten => 1000,hint,Custom:01005&Custom:01054

exten => b1005,hint,Custom:b1005
exten => b1006,hint,Custom:b1006
exten => b1080,hint,Custom:b1080

;;;;;And macro of internal calls:

[macro-llamada_extensiones]

exten => s,1,GotoIf(${DB_EXISTS(DND/${ARG1})}?DND-ON)
exten => s,n,SipAddHeader(P-Asserted-Identity: <sip:${CALLERID(NUM)}>)
exten => s,n,NoOp(Se incrementa el contador)
exten => s,n,set(contador=$[${contador}+1])

exten => s,n,NoOP(${DEVICE_STATE(SIP/${ARG1})})
exten => s,n,GotoIf(${DB_EXISTS(buzon/${ARG1})}?unavail)


exten => s,n(llamar),Dial(SIP/${ARG1},30,trXx) ; DND is OFF, start dialing
exten => s,n,Hangup()






> 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: Alejandro Padilla
>         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