[Freeswitch-users] OpenSIPs + Freeswitch + Registrations

Chris B. Ware chrisbware at yahoo.it
Wed Sep 11 15:54:22 MSD 2013



In this moment I have two phones registered on FS2.

"sofia status profile internal reg" works only on FS2

"show registrations" works on both FS boxes
__________________________________________________________________________


Date: Wed, 11 Sep 2013 14:04:30 +0300
From: Aleksandr Chusov <chusov.alexsandr at gmail.com>
Subject: Re: [Freeswitch-users] OpenSIPs + Freeswitch + Registrations
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Message-ID:
    <CABn9qfoJQZB3g=c1Lf3yMq5g23W__e9F9rkLn5sejQKLO51wmQ at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

2013/9/11 Chris B. Ware <chrisbware at yahoo.it>:
> FS box
Chris,
Do you see registration on booth FS box "show registration" ?



________________________________
 Da: Chris B. Ware <chrisbware at yahoo.it>
A: "freeswitch-users at lists.freeswitch.org" <freeswitch-users at lists.freeswitch.org> 
Inviato: Mercoledì 11 Settembre 2013 12:29
Oggetto: Re: OpenSIPs + Freeswitch + Registrations
 


Aleks,

Of course I share registrations on DB, but it seems unuseful.

I mean a call for a phone registered on an FS box, must be always sent to that box.

I don't have NAT issues, since all FS boxes and phones are on the same LAN.

What I'd like to do is "sharing the knowledge" between boxes, so that if the Invite
goes to a box where the called phone is not registered, call is forwarded to the phone
anyway, because there's a shared registrations DB!

Many experts on IRC guided me to use paths or scripts to redirect the call to the
right box, based on entries on table registrations.

But the question is: why freeswitch doesn't do it automatically?

Is there any configuration trick to do it?

Thank you
------------------------------
Message: 3
Date: Mon, 9 Sep 2013 16:34:43 +0100 (BST)
From: "Chris B. Ware" <chrisbware at yahoo.it>
Subject: [Freeswitch-users] OpenSIPs + Freeswitch + Registrations
To: "freeswitch-users at lists.freeswitch.org"
    <freeswitch-users at lists.freeswitch.org>
Message-ID:
    <1378740883.57558.YahooMailNeo at web171802.mail.ir2.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

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.
Message: 4
Date: Mon, 9 Sep 2013 18:56:05 +0300
From: Aleksandr Chusov <chusov.alexsandr at gmail.com>
Subject: Re: [Freeswitch-users] OpenSIPs + Freeswitch + Registrations
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Message-ID:
    <CABn9qfqw3e-FDPp2_gKuDZQ-8868B-fWf4-0pJQiLLrAmXC05Q at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

2013/9/9 Chris B. Ware <chrisbware at 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_FreeSWITCH_installs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130911/859b4ba5/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list