[asterisk-users] Asterisk only registering at one provider
Dennis Guse
dennis.guse at alumni.tu-berlin.de
Sat Mar 21 04:14:35 CDT 2015
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 at digium.com> wrote:
> Dennis Guse wrote:
>
>> 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 at a
>> register => XX at b
>> register => XX at 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 at tacos
> register => hola at bob
> register => yolo at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150321/3b24ad8f/attachment.html>
More information about the asterisk-users
mailing list