[asterisk-users] PJSIP question

Chad Mothersell chad at mothersell.net
Thu Jun 26 11:48:48 CDT 2014


You can use templates.
Templates are defines by putting a “(!)” next to the context name.
[template-name](!)
disallow=all
allow=ulaw

Then define the template next to the endpoint in parenthesis. 
[endpoint-name](template-name)

Chad

On Jun 26, 2014, at 12:30 PM, CDR <venefax at gmail.com> wrote:

> In a PJSIP endpoint, how do I set all no-named settings so they get
> inherited from another place and I don't need to mention them again
> and again for all my endpoints?
> In regular sip you could specify those options and they remained valid
> if not redefined by a peer. A case would be the codecs allowed.
> I tried to include those global options in a section called
> [global]
> disallow=all
> allow=ulaw
> 
> but the endpoints do not have knowledge of any such global options.
> 
> -- 
> _____________________________________________________________________
> -- 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




More information about the asterisk-users mailing list