VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
jcolp at digium.com Guest
|
Posted: Thu Jan 21, 2016 6:27 pm Post subject: [asterisk-users] Mixing PJSIP realtime and flat files |
|
|
David Cunningham wrote:
Quote: | 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.
|
It's not possible to do this. Each source (realtime, config file)
provides the complete definition.
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
--
_____________________________________________________________________
-- 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 |
|
|
dcunningham at voisoni... Guest
|
Posted: Fri Jan 22, 2016 2:51 am Post subject: [asterisk-users] Mixing PJSIP realtime and flat files |
|
|
Shame, but thank you very much for the reply Joshua.
On 22 January 2016 at 10:26, Joshua Colp <jcolp@digium.com (jcolp@digium.com)> wrote:
Quote: | David Cunningham wrote:
Quote: | 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.
|
It's not possible to do this. Each source (realtime, config file) provides the complete definition.
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
--
_____________________________________________________________________
-- 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
|
--
David Cunningham, Voisonics
http://voisonics.com/
USA: +1 213 221 1092
UK: +44 (0) 20 3298 1642
Australia: +61 (0) 2 8063 9019 |
|
Back to top |
|
|
|
|
|
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
|