]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip.c: Fix ident_to_str() and refactor ident_handler().
authorRichard Mudgett <rmudgett@digium.com>
Sat, 6 Jan 2018 01:03:16 +0000 (19:03 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 9 Jan 2018 18:18:03 +0000 (12:18 -0600)
commit96040fa6bb8e287e1d87f32eef1ef683b1a8d492
treebf62f2629bdc0b0a818d1232c4f4656ba8b07be8
parent637f6216c40202c60209f4f985433a568e02c9a8
res_pjsip.c: Fix ident_to_str() and refactor ident_handler().

* Extracted sip_endpoint_identifier_type2str() and
sip_endpoint_identifier_str2type() to simplify the calling functions.

* Fixed pjsip_configuration.c:ident_to_str() building the endpoint's
identify_by value string.

Change-Id: Ide876768a8d5d828b12052e2a75008b0563fc509
res/res_pjsip/pjsip_configuration.c