[asterisk-bugs] [JIRA] (ASTERISK-30217) Registration do not allow multiple proxies

Igor Goncharovsky (JIRA) noreply at issues.asterisk.org
Fri Sep 9 04:36:08 CDT 2022


Igor Goncharovsky created ASTERISK-30217:
--------------------------------------------

             Summary: Registration do not allow multiple proxies
                 Key: ASTERISK-30217
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30217
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_pjsip_outbound_registration
    Affects Versions: 19.6.0, 18.13.0, 16.27.0
            Reporter: Igor Goncharovsky
            Severity: Major


chan_pjsip make you able to specify proxy chain for the endpoints in the format supported by pjsip:
outbound_proxy=<sip:192.168.2.7:7000\;lr>,<sip:172.12.27.1:5060\;lr>

But when outbound_proxy specified for the registration, this wouldn't work because of pjsip_parse_uri would not able to pare such value giving following error:

res_pjsip_outbound_registration.c: Invalid outbound proxy URI '<sip:192.168.2.7:7000;lr>,<sip:172.12.27.1:5060;lr>' specified on outbound registration 'VATS'

With a simple pathch that remove uri parsing test on cofiguration load REGISTER to the proxy sent fine. 




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



More information about the asterisk-bugs mailing list