diff options
author | Joshua Colp <jcolp@digium.com> | 2014-11-04 12:03:35 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2015-04-29 09:48:06 -0300 |
commit | 89f6719f7abb775f4db4a772b358bb0c7075a52d (patch) | |
tree | fede1c7174107bb8aeddd19c2f05d4205306b9ca /configs | |
parent | df23c8a86bf8b24d4a9d9c5d02665a1fd391c90f (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.
ASTERISK-24949 #close
Reported by: Joshua Colp
Change-Id: I7df909d2625479110a83fdd354c21ac539e8615d
Diffstat (limited to 'configs')
-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 5081794b3..de055f919 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 |