Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Failover / modifying response time


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
stephen.more at gmail.com
Guest





PostPosted: Wed Sep 03, 2014 1:39 pm    Post subject: [asterisk-users] Failover / modifying response time Reply with quote

I have two real time asterisk boxes configured to accept incoming or outgoing calls at any time.


All the users are configured to send their calls to primary. If primary is down calls will go to backup.

All incoming SIP calls should be sent to primary. If primary is down incoming calls will go to backup.


99.9% of the time it works as designed.


Every once in a while my SIP provider will send a sip call to our backup. primary is working fine. When asked they responded with "it's possible primary didn't respond fast enough so backup grabbed it. You should lower the response time on primary and raise it on backup"


What setting is he referring to ? Can I tweak a setting to make our backup server respond slower so that the primary answers the call ?



-Thanks
Back to top
stephen.more at gmail.com
Guest





PostPosted: Thu Sep 04, 2014 11:06 am    Post subject: [asterisk-users] Failover / modifying response time Reply with quote

I was able to get a packet trace of this event....


Time

312.353549 -> INVITE to primary

313.222303 -> INVITE to primary ( suspected resend of frame )

314.289215 -> INVITE to backup

315.397120 -> INVITE to backup ( suspected resend of frame )


So is primary just too slow to answer ? I am not seeing anything in the logs on primary.





On Wed, Sep 3, 2014 at 2:39 PM, Stephen More <stephen.more@gmail.com (stephen.more@gmail.com)> wrote:
Quote:
I have two real time asterisk boxes configured to accept incoming or outgoing calls at any time.


All the users are configured to send their calls to primary. If primary is down calls will go to backup.

All incoming SIP calls should be sent to primary. If primary is down incoming calls will go to backup.


99.9% of the time it works as designed.


Every once in a while my SIP provider will send a sip call to our backup. primary is working fine. When asked they responded with "it's possible primary didn't respond fast enough so backup grabbed it. You should lower the response time on primary and raise it on backup"


What setting is he referring to ? Can I tweak a setting to make our backup server respond slower so that the primary answers the call ?



-Thanks


Back to top
lists at jttech.se
Guest





PostPosted: Sat Sep 06, 2014 11:50 am    Post subject: [asterisk-users] Failover / modifying response time Reply with quote

Den 2014-09-04 18:05, Stephen More skrev:
Quote:
I was able to get a packet trace of this event....

Time
312.353549 -> INVITE to primary
313.222303 -> INVITE to primary ( suspected resend of frame )
314.289215 -> INVITE to backup
315.397120 -> INVITE to backup ( suspected resend of frame )

So is primary just too slow to answer ? I am not seeing anything in the
logs on primary.


You can try with Wait(2) to wait two seconds before you do Answer().
This will delay the response to the INVITE with two seconds.

You don't want to wait to long thought, so maybe you can test your way
to something that works for you.

Good luck!


--
Johan Wilfer

--
_____________________________________________________________________
-- 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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services