[OpenSIPS-Users] Dispatcher - Probe only certain gateways and not others

Duane Larson duane.larson at gmail.com
Thu Jun 9 16:51:11 CEST 2011


Thanks.  Added the gateways with a Flag=2 and then

modparam("dispatcher", "ds_probing_mode", 0)
modparam("dispatcher", "ds_ping_method", "OPTIONS")



On Thu, Jun 9, 2011 at 5:29 AM, Bogdan-Andrei Iancu <bogdan at opensips.org>wrote:

> Hi Duane,
>
> Check
> http://www.opensips.org/html/docs/modules/1.6.x/dispatcher.html#id293630for the flags params.
>
> Regards,
> Bogdan
>
>
> On 06/08/2011 11:28 PM, duane.larson at gmail.com wrote:
>
>> Not sure what you mean by probe_mode. There isn't a section in the
>> dispatcher table called probe_mode.
>>
>> On Jun 8, 2011 3:11pm, Robert Thomas <thomcr at gmail.com> wrote:
>> > When you add the GW to the database set up the probe_mode to 1, only on
>> the rows that you want to monitor
>> >
>> > On Wed, Jun 8, 2011 at 2:25 PM, duane.larson at gmail.com> wrote:
>> >
>> >
>> > Is it possible to enable probing for only a certain set of gateways and
>> not others? I am looking to constantly be sending OPTION messages to my SIP
>> Trunk Providers gateways and if they are down then set them into Probing
>> state. That way I find out if the gateway is down hopefully before a lot of
>> calls are made to it. At the same time I am using Dispatcher to monitor my
>> Asterisk servers only if there is a timeout and if there is a timeout I set
>> the state of the Asterisk server to Inactive and it can't come back on
>> unless I execute a fifo command to enable it. So I don't want to send any
>> probes to my Asterisk servers.
>> >
>> >
>> >
>> >
>> >
>> > Is this possible?
>>
>
> --
> Bogdan-Andrei Iancu
> OpenSIPS solutions and "know-how"
>
>


-- 
--
*--*--*--*--*--*
Duane
*--*--*--*--*--*
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110609/83d65881/attachment.htm>


More information about the Users mailing list