[asterisk-bugs] [JIRA] (ASTERISK-24949) res_pjsip_outbound_registration: Backport line functionality

Dmitriy Serov (JIRA) noreply at issues.asterisk.org
Fri May 8 05:25:33 CDT 2015


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

Dmitriy Serov commented on ASTERISK-24949:
------------------------------------------

Question: 
Why was used "rdata->msg_info.to->uri", not "rdata->msg_info.msg->line.req.uri"?

My tests with different servers failed. The reason: option "line" is not added to "to" line.

cutted pjsip.conf:
[srv_d228]
type=registration
line=yes
endpoint=srv_d228

cutted SIP packet on inbound call:
INVITE sip:srv_d228 at 85.142.148.80:5070;line=uusollx SIP/2.0
Via: SIP/2.0/UDP 212.53.40.40:5060;branch=z9hG4bK514972-kmbdctn;cgp=etc.tario.ru;rport
From: "PhonerLite" <sip:demon_iv at sipnet.ru>;tag=AF8FA0BE-7476-5577F0E0_kmbdctn-44B1
To: <sip:talk37.ru at sipnet.ru>
Contact: <sip:signode-7476-5577F0E0_kmbdctn-44B1 at 212.53.40.40>

What I understood incorrectly? How do I make it work?

> res_pjsip_outbound_registration: Backport line functionality
> ------------------------------------------------------------
>
>                 Key: ASTERISK-24949
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24949
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Resources/res_pjsip_outbound_registration
>    Affects Versions: 13.3.2
>            Reporter: Joshua Colp
>            Assignee: Joshua Colp
>            Severity: Minor
>
> Line functionality was placed into trunk long ago. This functionality allows INVITEs received as a result of an outbound registration to be associated with an endpoint if the remote SIP server does not manipulate or strip information from the Contact URI. This is useful since it removes the requirement to do IP based matching on an ITSP, and also allows multiple outbound registrations to be individually identified.
> This issue is for backporting of this functionality into 13. This requires a test to be created.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list