[SR-Users] Identical Kamailio setup on 2 hosts

Daniel Tryba d.tryba at pocos.nl
Wed Oct 5 11:36:26 CEST 2016


On Wed, Oct 05, 2016 at 11:40:49AM +0530, Infinicalls Infinicalls wrote:
> Oct  5 06:05:03 infinicalls-proxy1 /usr/local/sbin/kamailio[4840]:
> ERROR: dispatcher [dispatcher.c:788]: ds_warn_fixup(): failover
> functions used, but required AVP parameters are NULL -- feature
> disabled

In an other mail you mention using failover mode 2. The error indicates
you need to define some avp to store store the failover mechanism, see
http://www.kamailio.org/docs/modules/4.3.x/modules/dispatcher.html#dispatcher.p.dst_avp
and the next entry:

"You must set this parameter if you want to do load balancing fail
over."
 
>  5 06:05:03 infinicalls-proxy1 /usr/local/sbin/kamailio[4840]: ERROR:
> <core> [udp_server.c:367]: udp_init(): bind(7, 0x7f2a8fe6bf74, 16) on
> 52.233.25.164: Cannot assign requested address

You mentioned in an other mail the/a machine behind nat. Is the address
52.233.25.164 a local address configured? If yes, I have no idea what is
wrong. Otherwise you need to use:
listen=udp:PRIVATEIP:5060 advertise PUBLICIP:5060



More information about the sr-users mailing list