[Home]

Summary:ASTERISK-25072: res_pjsip_outbound_registration: line functionality. Additional check for using the request URI
Reporter:Dmitriy Serov (Demon)Labels:
Date Opened:2015-05-08 08:53:48Date Closed:2015-05-24 11:03:48
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Resources/res_pjsip_outbound_registration
Versions:13.3.2 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Issue ASTERISK-24949 introduced line functionality to pjsip registration.

When an inbound call is checked the To header for "line" option.
Some setups will have a different request URI. An additional check for using the request URI need to be added in addition to the To header.

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

Cutted SIP packet on inbound call:
INVITE sip:srv_d228@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@sipnet.ru>;tag=AF8FA0BE-7476-5577F0E0_kmbdctn-44B1
To: <sip:talk37.ru@sipnet.ru>
Contact: <sip:signode-7476-5577F0E0_kmbdctn-44B1@212.53.40.40>
Comments:By: Rusty Newton (rnewton) 2015-05-15 14:06:10.586-0500

Dmitriy did you want to submit a patch for this?

[See the Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]

Press 'Send Back' or 'Enter Feedback' to get the issue back to us.

By: Dmitriy Serov (Demon) 2015-05-19 07:32:38.137-0500

Patch is submited: https://gerrit.asterisk.org/#/c/482/

By: Rusty Newton (rnewton) 2015-05-20 15:20:52.877-0500

Thanks for your contribution Dmitriy!!