[asterisk-users] Modify Contact in PJsip
Joshua Colp
jcolp at digium.com
Mon Oct 19 06:03:59 CDT 2015
On 15-10-19 07:41 AM, Andrew Colin wrote:
> Hi Guys
>
> We are using the wizard to configure our pjsip trunk(see below)
>
> How do we get this setting to work
>
> contact_user=username
>
> We want to change the contact field in the sip invite to display the
> username of the trunk
>
The Contact header can not currently be modified on a per-endpoint basis
and takes its values from the generated From header. On a global scale
it could be controlled using the default_user global option. Otherwise
there's no real way without adding explicit support for it.
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list