View previous topic :: View next topic |
Author |
Message |
stephen.more at gmail.com Guest
|
Posted: Wed Sep 03, 2014 1:39 pm Post subject: [asterisk-users] Failover / modifying response time |
|
|
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
|
Posted: Thu Sep 04, 2014 11:06 am Post subject: [asterisk-users] Failover / modifying response time |
|
|
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
|
Posted: Sat Sep 06, 2014 11:50 am Post subject: [asterisk-users] Failover / modifying response time |
|
|
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 |
|
|
|