[asterisk-users] Modify Contact in PJsip

Andrew Colin andrew at convergedgroup.net
Mon Oct 19 05:41:05 CDT 2015


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

 

[trunk_defaults](!)

type = wizard

transport = transport-udp

endpoint/allow_subscribe = no

endpoint/allow = !all,g729

aor/qualify_frequency = 30

registration/expiration = 1800

contact_pattern=xxx

 

[xxx](trunk_defaults)

sends_auth = yes

sends_registrations = yes

endpoint/context = extensions

remote_hosts = xxx.xx.xx.xx

accepts_registrations = no

endpoint/send_rpid = yes

endpoint/send_pai = yes

outbound_auth/username = xxx

outbound_auth/password = xxx

contact_pattern=xxx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20151019/1dcc4b09/attachment.html>


More information about the asterisk-users mailing list