diff options
author | Joshua Colp <jcolp@digium.com> | 2014-11-04 12:03:35 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2014-11-04 12:03:35 +0000 |
commit | d159885e50eb3457579d55eb08f4712b002347ff (patch) | |
tree | 1462a59c1b94353b654b11f822bb506f858143fa /configs/samples/pjsip.conf.sample | |
parent | 33f0251b6c2af3da95cf27499506cfca32728208 (diff) |
res_pjsip_outbound_registration: Add virtual line support.
Virtual line support establishes a relationship between messages
related to an outbound registration and a local endpoint. This is
accomplished by attaching a parameter to the Contact of the outbound
registration and looking for it on any received requests. If the
parameter exists and can be matched to an outbound registration
the configured endpoint is associated with the request.
Review: https://reviewboard.asterisk.org/r/2964/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@427165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/samples/pjsip.conf.sample')
-rw-r--r-- | configs/samples/pjsip.conf.sample | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/samples/pjsip.conf.sample b/configs/samples/pjsip.conf.sample index 06b3bb404..a6bc2fa30 100644 --- a/configs/samples/pjsip.conf.sample +++ b/configs/samples/pjsip.conf.sample @@ -167,6 +167,11 @@ ; "contact_user=" sets the SIP contact header's user portion of the SIP URI ; this will affect the extension reached in dialplan when the far end calls you at this ; registration. The default is 's'. +; +; If you would like to enable line support and have incoming calls related to this +; registration go to an endpoint automatically the "line" and "endpoint" options must +; be set. The "endpoint" option specifies what endpoint the incoming call should be +; associated with. ;[mytrunk] ;type=registration @@ -178,6 +183,8 @@ ;retry_interval=60 ;forbidden_retry_interval=600 ;expiration=3600 +;line=yes +;endpoint=mytrunk ;[mytrunk_auth] ;type=auth |