If a "sip reload" does it, but a reboot does... what about something in 
between?

Can you:

asterisk -r -x "core stop now"
/etc/init.d/asterisk init


I'm thinking the issue might be that it hasn't noticed that the interfaces it 
was bound to have changed address --assuming we're talking about the firewall 
having the two connections to the outside, and not sitting behind another 
router.

Check that:  even if it were sitting behind another router, the issue would be 
the same.  The addresses of its outbound connections would need to be 
reestablished via NAT going out via a different interface.


On 9/23/10 8:37 AM, Tod Fitch wrote:
> I used to go to the Teliax dashboard make the change and then change back.
> But one time I was at a remote location and did not have my Teliax
> password with me. That is when I discovered that I only had to change the
> proxy in my sip.conf, do a sip reload, change the proxy back in my
> sip.conf and then do another sip reload.
>
> My other VoIP provider has SRV records. Asterisk fails on its first
> attempt to re-register but immediately tries again and connects on another
> proxy given by the SRV mechanism. If I hadn't looked at the log files I
> would not have known that it isn't seamless.
>
> Just restarting Asterisk does not bring Teliax back on line. Since the
> only place that I know of where it caches information between
> instantiations is in the DB, my guess is that clearing something in there
> before starting Asterisk back up would work too. But I haven't pursued
> that.
>
> In the meantime, since you have multiple VoIP providers with the same
> issue, I guess a reboot is the easiest way for you.
>
> -Tod
>
> On Thu, September 23, 2010 7:54 am, Ionel Chila wrote:
>> Tod, I am aware of that issue but is something else what you're
>> describing.
>> Telix does not have redundancy or failover to their proxyes so you have to
>> manauly change your sip.conf but also go into the Teliax dashboard and
>> change
>> the proxy as well. Very very anyoing.
>>
>> Unlicke some other VoIp providers they have redundcancy already built into
>> their
>> proxyes and you can very easily bild a failover mechanism into to your
>> sip.conf
>> file if the providers supports it.
>>
>> My reconecting issue is with all 3 of my VoIp providers. I have 3
>> providers for
>> 3 numbers in 3 various continets. Asia, Europe and USA. Is pretty cool to
>> be
>> able to recieve and make phone calls with one phone in the house. I love
>> it.
>>
>>
>> All 3 providers behave the same way where I can't connect, period.
>>
>> Thanks
>>
>>
>>
>> ----- Original Message ----
>> From: Tod Fitch<t...@fitchdesign.com>
>> To: AstLinux Users Mailing List<astlinux-users@lists.sourceforge.net>
>> Sent: Thu, September 23, 2010 8:38:36 AM
>> Subject: Re: [Astlinux-users] Multi-home AstLinux?
>>
>> On Sep 22, 2010, at 10:08 PM, Philip Prindeville wrote:
>>
>>>    There are ways to do what you're doing without a reboot.
>>>
>>> You first need to figure out what state changes before/after the 
>>> reboot, and then come up with a way to automate that.
>>>
>> I noticed that the reboot script that was posted was checking for 
>> Teliax...
>>
>> I've got my AstLinux box behind a multiple WAN router and find that 
>> reconnects to Teliax after a switch over are an issue. No problem with 
>> my other VoIP provider, Teliax. To reconnect to Teliax I end up 
>> loading a sip.conf with a different proxy specified, then reload again 
>> with the original proxy. Not sure what state information Asterisk is 
>> keeping on a proxy but that is the way I've found to get reconnected 
>> to Teliax.
>>
>> -Tod


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to