1. Brekeke Product Name and Version:
3.8.3.4/490
2. Java version:
1.8.0_144
3. OS type and the version:
Linux 3.16.0-4-amd64
4. UA (phone), gateway or other hardware/software involved:
5. Your problem:
I have partner, who have multiple SIP servers. They support OPTIONS.
I need to route calls only to servers which are alive - responds to OPTIONS packets send by Brekeke. How to achieve that ?
How to send calls only to server which is alive - OPTIONS
Moderator: Brekeke Support Team
-
- Posts: 22
- Joined: Tue Feb 19, 2013 5:23 pm
For switching a destination depends on it is alive or not, let you use Failover.
https://docs.brekeke.com/sip/failover-w ... -dial-plan
https://docs.brekeke.com/sip/failover-w ... -dial-plan
-
- Posts: 22
- Joined: Tue Feb 19, 2013 5:23 pm
Try the Heartbeat function which sends OPTIONS periodically.
https://docs.brekeke.com/sip/monitoring ... -heartbeat
And specify a management command "ruleswitch" as Heartbeat's Action to disable the DialPlan rule which points outgoing SIP server.
Like this:
Type: Management Command
Target Address: localhost
Command: ruleswitch
Parameters "<rule_name>" disable
*) Replace <rule_name> with the actual DialPlan name.
https://docs.brekeke.com/sip/monitoring ... -heartbeat
And specify a management command "ruleswitch" as Heartbeat's Action to disable the DialPlan rule which points outgoing SIP server.
Like this:
Type: Management Command
Target Address: localhost
Command: ruleswitch
Parameters "<rule_name>" disable
*) Replace <rule_name> with the actual DialPlan name.