]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_path.c: Fix path when dialing using PJSIP_DIAL_CONTACTS()
authorIgor Goncharovsky <igorg@iqtek.ru>
Sun, 12 May 2024 08:36:05 +0000 (14:36 +0600)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Wed, 10 Jul 2024 17:02:12 +0000 (17:02 +0000)
commit55f4e6dd03155378ec655f0f186ca6119eeeb147
tree165199331a906265b13eeff428273e84ae6c71e3
parent52bdfe09ab3c901cd36463e5d3e8c14887d69c85
res_pjsip_path.c: Fix path when dialing using PJSIP_DIAL_CONTACTS()

When using the PJSIP_DIAL_CONTACTS() function for use in the Dial()
command, the contacts are returned in text form, so the input to
the path_outgoing_request() function is a contact value of NULL.
The issue was reported in ASTERISK-28211, but was not actually fixed
in ASTERISK-30100. This fix brings back the code that was previously
removed and adds code to search for a contact to extract the path
value from it.
res/res_pjsip_path.c