diff --git a/funcs/func_pjsip_aor.c b/funcs/func_pjsip_aor.c index 9ae51ed87b..1d24161517 100644 --- a/funcs/func_pjsip_aor.c +++ b/funcs/func_pjsip_aor.c @@ -57,6 +57,22 @@ Supported options are those fields on the aor object in pjsip.conf. + + When requested with this function, the contact + parameter will return both permanent and dynamic contacts. + + + The return value of the contact parameter is + one or more internal contact IDs separated by commans. + To get details about the contact itself, including the URI, + call the PJSIP_CONTACT dialplan function + with the contact ID and the desired contact parameter. + + + + + Available Fields: + @@ -64,6 +80,9 @@ + + PJSIP_CONTACT + ***/ diff --git a/funcs/func_pjsip_contact.c b/funcs/func_pjsip_contact.c index 44272e1a0c..a8981eb521 100644 --- a/funcs/func_pjsip_contact.c +++ b/funcs/func_pjsip_contact.c @@ -50,7 +50,15 @@ - The name of the contact to query. + + Contact names are in the form of "aor_id@@hash" for dynamic contacts + created by the registrar and permanent contacts defined + in a contact parameter in an aor + object. You can get the "aor_id@@hash" contact ID by calling the + PJSIP_AOR() dialplpan function with the AOR name + and the contact field. You can then pass the value + returned to this function. + The configuration option for the contact to query for. @@ -69,6 +77,9 @@ + + PJSIP_AOR + ***/