[asterisk-users] Mixing PJSIP realtime and flat files

David Cunningham
Thu, 21 Jan 2016 23:18:26 -0000

Hello,

Is it possible to mix PJSIP realtime and flat file configuration in
pjsip,conf?

What we want is to set up endpoints in the ps_endpoints table with some
columns set but most being NULL, and then allow end-customers to optionally
add configuration by adding a pjsip.conf section.

For example, in ps_endpoinds might be an endpoint with id "asterisk-1"
with
the transport, aors, auth, and context columns set but all other fields
NULL. Then the end-customer could add a [asterisk-1] section in pjsip.conf
which sets the codecs they want to enable.

We tried this but it seemed that the [asterisk-1] section in pjsip.conf had
no effect. Our sorcery.conf is attached.

Is this possible, and how do we do it? Thanks very much for any advice.

--
David Cunningham, Voisonics
http://voisonics.com/
USA: +1 213 221 1092
UK: +44 (0) 20 3298 1642
Australia: +61 (0) 2 8063 9019
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20160122/51fe7d94/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sorcery.conf
Type: application/octet-stream
Size: 498 bytes
Desc: not available
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20160122/51fe7d94/attachment.obj>