OpenSIPs + Freeswitch + Registrations
Hi, I'm a bit confused (as usual) on call flow between FS boxes behind an OpenSIPs balancer. All servers are on the same LAN, so the phones. Registrations are stored on common DB. PhoneA sends a register and Opensips balancer forward it to FS1. PhoneB sends a register and Opensips balancer forward it to FS2. PhoneA send an INVITE for PhoneB and OpenSIPs forward it to FS1. FS1 answers "Originate Failed. Cause: USER_NOT_REGISTERED" An IRC friend says to use path (RFC 3327). Is there a config solution or should I follow the his advice? Thanks, Chris B.
2013/9/9 Chris B. Ware <chrisbware@yahoo.it>:
USER_NOT_REGISTERED
Hello, You need store the mod_sofia data in a shared database. Good Opensips configuration example: https://wiki.freeswitch.org/wiki/OpenSIPS_configuration_for_2_or_more_FreeSW...
Hi, You can also use the failure_route in opensips to reroute the call to FS2 when you get the 404 answer from FS1. Have a look at: http://www.opensips.org/html/docs/modules/devel/tm.html#id295050 Alternatively, you can also forward the call to FS2 in FS1 dialplan: https://wiki.freeswitch.org/wiki/Dialplan_FollowMe#FollowMe_Dialplan_Example... Best Regards, Vallimamod. . On Sep 9, 2013, at 5:34 PM, Chris B. Ware <chrisbware@yahoo.it> wrote:
Hi,
I'm a bit confused (as usual) on call flow between FS boxes behind an OpenSIPs balancer. All servers are on the same LAN, so the phones. Registrations are stored on common DB.
PhoneA sends a register and Opensips balancer forward it to FS1. PhoneB sends a register and Opensips balancer forward it to FS2.
PhoneA send an INVITE for PhoneB and OpenSIPs forward it to FS1.
FS1 answers "Originate Failed. Cause: USER_NOT_REGISTERED"
An IRC friend says to use path (RFC 3327).
Is there a config solution or should I follow the his advice?
Thanks,
Chris B.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Aleksandr Chusov
-
Chris B. Ware
-
Vallimamod ABDULLAH