Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] PJSIP Contact User in Dial INVITE


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
juan.vanrooyen at ligh...
Guest





PostPosted: Wed Oct 14, 2015 9:36 pm    Post subject: [asterisk-users] PJSIP Contact User in Dial INVITE Reply with quote

Hi all,

This is a followup from my "Getting around semi-colons" question.

I've specified:
contact_user=01234567\;tgrp=01234567\;trunkcontext=telecom.co.nz under my
registration section for the trunk.

This is all fine and I successfully got Asterisk 13 + pjsip registered to
our BroadWorks-based provider.
However, I see the contact_user field only gets used upon registration, and
not during an INVITE.

During Registration:

Contact: <sip:
01234567;tgrp=01234567;trunkcontext=telecom.co.nz@192.168.252.10:5060>

During INVITE:

Contact: <sip:746775a8-e08c-4b73-a37e-fa48fe45a36b@192.168.252.10:5060>

The only questions I have is:
1. Is this expected/known behaviour? eg. pjsip won't use the contact user
for anything else?
2. If not, where should I be specifying the contact_user to make pjsip use
it in INVITEs? Is this where the AoRs come in?
3. Are those Contact headers used for some internal reference/record keeping
for the calls? Or...
4. Can I mess with the Contact Header with the PJSIP_HEADER function?

Thanks again for the help, just wrapping my head around this new channel
driver Smile
Juan



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services