[OpenSIPS-Users] Getting asterisk to reply to OPTIONS keepalive

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Mar 11 10:33:47 CET 2010


Hi Alejandro,

I'm aware of the incapacity of Asterisk of properly answer to OPTIONS 
pings, so we made a fix on the opensips side - the LB module has a 
parameter that allows you do define an extra list of reply codes to be 
considered as success (aside 200 ok). See:
    
http://www.opensips.org/html/docs/modules/1.6.x/load_balancer.html#id228255

So, just do :

    modparam("load_balancer", "probing_reply_codes", "404")

Regards,
Bogdan



Alejandro Recarey wrote:
> Hi all,
>
> I'm trying to use the keepalive / ping option in OpenSIPS Loadbalancer
> module, but asterisk always responds with a 404 not found. Has anybody
> managed to get this working with Asterisk 1.6.1.X + OpenSIPS 1.6.2 ?
>
> Thanks!
>
> Alex
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list