VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
no7find at gmail.com Guest
|
Posted: Mon Feb 02, 2015 10:08 am Post subject: [asterisk-users] Asterisk 13 - realtime + static modes |
|
|
Hello,
In Asterisk 11 it is possible to set extensions on DB table (sipppers) and also in sip.conf.
But in Asterisk 13 apparently this is not possible: as I tried to set in ps_endpoints and also in pjsip.conf but only the realtime endpoints are loaded.
Is there a way to use realtime + static modes at the same time for the ps_endpoints lookup using PJSIP.
Thanks |
|
Back to top |
|
|
jcolp at digium.com Guest
|
Posted: Mon Feb 02, 2015 10:12 am Post subject: [asterisk-users] Asterisk 13 - realtime + static modes |
|
|
Sunny wrote:
Quote: | Hello,
In Asterisk 11 it is possible to set extensions on DB table (sipppers)
and also in sip.conf.
But in Asterisk 13 apparently this is not possible: as I tried to set in
ps_endpoints and also in pjsip.conf but only the realtime endpoints are
loaded.
Is there a way to use realtime + static modes at the same time for the
ps_endpoints lookup using PJSIP.
|
Yes. The sorcery.conf file controls this and allows specifying multiple
things. It would be like follows:
[res_pjsip]
endpoint=realtime,ps_endpoints
endpoint=config,pjsip.conf,criteria=type=endpoint
Realtime will get queried first followed by the configuration file. If
you want to change the order then swap their placement.
Cheers,
--
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 |
|
|
no7find at gmail.com Guest
|
Posted: Mon Feb 02, 2015 12:18 pm Post subject: [asterisk-users] Asterisk 13 - realtime + static modes |
|
|
On 2 February 2015 at 15:12, Joshua Colp <jcolp@digium.com (jcolp@digium.com)> wrote:
Quote: | Sunny wrote:
Quote: | Hello,
In Asterisk 11 it is possible to set extensions on DB table (sipppers)
and also in sip.conf.
But in Asterisk 13 apparently this is not possible: as I tried to set in
ps_endpoints and also in pjsip.conf but only the realtime endpoints are
loaded.
Is there a way to use realtime + static modes at the same time for the
ps_endpoints lookup using PJSIP.
|
Yes. The sorcery.conf file controls this and allows specifying multiple things. It would be like follows:
[res_pjsip]
endpoint=realtime,ps_endpoints
endpoint=config,pjsip.conf,criteria=type=endpoint
Realtime will get queried first followed by the configuration file. If you want to change the order then swap their placement.
Cheers,
--
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
|
Yeah, it works now. Thank you Joshua!
However I'm getting following error:
[2015-02-02 16:55:56] ERROR[32605] res_sorcery_config.c: Could not create an object of type 'endpoint' with id '192.168.1.3' from configuration file 'pjsip.conf'
my endpoint is defined as:
[192.168.1.3]
type = endpoint
transport=simpletrans
context = inbound
dtmf_mode = inband
disallow = all
allow = alaw
allow = ulaw
aors = 192.168.1.3
Thanks, |
|
Back to top |
|
|
jcolp at digium.com Guest
|
Posted: Mon Feb 02, 2015 12:23 pm Post subject: [asterisk-users] Asterisk 13 - realtime + static modes |
|
|
Sunny wrote:
<snip>
Quote: | Yeah, it works now. Thank you Joshua!
However I'm getting following error:
[2015-02-02 16:55:56] ERROR[32605] res_sorcery_config.c: Could not
create an object of type 'endpoint' with id '192.168.1.3' from
configuration file 'pjsip.conf'
my endpoint is defined as:
[192.168.1.3]
type = endpoint
transport=simpletrans
context = inbound
dtmf_mode = inband
disallow = all
allow = alaw
allow = ulaw
aors = 192.168.1.3
|
Does "pjsip show endpoints" show it? I think there may be a regression
or something where it is trying to create endpoints before it can...
leading to an error message that eventually gets resolved.
--
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 |
|
|
no7find at gmail.com Guest
|
Posted: Mon Feb 02, 2015 12:30 pm Post subject: [asterisk-users] Asterisk 13 - realtime + static modes |
|
|
On 2 February 2015 at 17:23, Joshua Colp <jcolp@digium.com (jcolp@digium.com)> wrote:
Quote: | Sunny wrote:
<snip>
Quote: | Yeah, it works now. Thank you Joshua!
However I'm getting following error:
[2015-02-02 16:55:56] ERROR[32605] res_sorcery_config.c: Could not
create an object of type 'endpoint' with id '192.168.1.3' from
configuration file 'pjsip.conf'
my endpoint is defined as:
[192.168.1.3]
type = endpoint
transport=simpletrans
context = inbound
dtmf_mode = inband
disallow = all
allow = alaw
allow = ulaw
aors = 192.168.1.3
|
Does "pjsip show endpoints" show it? I think there may be a regression or something where it is trying to create endpoints before it can... leading to an error message that eventually gets resolved.
--
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
|
Yeah, that's the case. The endpoint is listed in pjsip show endpoints.
Thanks |
|
Back to top |
|
|
jcolp at digium.com Guest
|
|
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
|