VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
dennis.guse at alumni.... Guest
|
Posted: Tue Mar 17, 2015 11:15 am Post subject: [asterisk-users] Asterisk only registering at one provider |
|
|
Hey,
I am running default Asterisk 11.16.0 on a FreeBSD-Machine.
I need to register to several other SIP-Services (actually 3):
short sip.conf
register => XX@a
register => XX@b
register => XX@c
If I remember correctly this worked quite well, but I now checked the system again and it is only obeying the first register statement.
"sip show registry" only reports the first entry and if I reorder them, this effect stays the same.
Did something changed recently in the parsing code for sip.conf or so?
---
Dennis Guse |
|
Back to top |
|
|
jcolp at digium.com Guest
|
Posted: Wed Mar 18, 2015 4:20 pm Post subject: [asterisk-users] Asterisk only registering at one provider |
|
|
Dennis Guse wrote:
Quote: | Hey,
I am running default Asterisk 11.16.0 on a FreeBSD-Machine.
I need to register to several other SIP-Services (actually 3):
short sip.conf
register => XX@a
register => XX@b
register => XX@c
If I remember correctly this worked quite well, but I now checked the
system again and it is only obeying the first register statement.
"sip show registry" only reports the first entry and if I reorder them,
this effect stays the same.
Did something changed recently in the parsing code for sip.conf or so?
|
Nope, and I'd expect we'd be seeing many bug reports if something like
this was occurring.
I just did this in my general section in 11:
register => meh@tacos
register => hola@bob
register => yolo@dave
And confirmed they appeared as expected:
Host dnsmgr Username Refresh
State Reg.Time
dave:5060 N yolo 120
Request Sent
bob:5060 N hola 120
Request Sent
tacos:5060 N meh 120
Request Sent
Does anything show up on the console when chan_sip is loaded?
--
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 |
|
|
dennis.guse at alumni.... Guest
|
Posted: Sat Mar 21, 2015 4:15 am Post subject: [asterisk-users] Asterisk only registering at one provider |
|
|
Hey guys,
thanks for your effort.
I just replicated the typical problem: the problem sits in front of the monitor.
(And I am so glad that my systems are not in production).
The issue was that "register =>" is *only* allowed in the [general]-section.
But since I like a precise and clean configuration I put it like this:
[general]
register => SIP1
[SIP1]
...
register => SIP2
[SIP2]
...
And then the second register is ignored as it is not in [general].
However, no error messages are thrown...
Best regards and a happy weekend!
---
Dennis Guse
---
Dennis Guse
On Wed, Mar 18, 2015 at 10:19 PM, Joshua Colp <jcolp@digium.com (jcolp@digium.com)> wrote:
Quote: | Dennis Guse wrote:
Quote: | Hey,
I am running default Asterisk 11.16.0 on a FreeBSD-Machine.
I need to register to several other SIP-Services (actually 3):
short sip.conf
register => XX@a
register => XX@b
register => XX@c
If I remember correctly this worked quite well, but I now checked the
system again and it is only obeying the first register statement.
"sip show registry" only reports the first entry and if I reorder them,
this effect stays the same.
Did something changed recently in the parsing code for sip.conf or so?
|
Nope, and I'd expect we'd be seeing many bug reports if something like this was occurring.
I just did this in my general section in 11:
register => meh@tacos
register => hola@bob
register => yolo@dave
And confirmed they appeared as expected:
Host dnsmgr Username Refresh State Reg.Time
dave:5060 N yolo 120 Request Sent
bob:5060 N hola 120 Request Sent
tacos:5060 N meh 120 Request Sent
Does anything show up on the console when chan_sip is loaded?
--
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 |
|
|
|
|
|
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
|