[Freeswitch-users] WebRTC(VertoJS) to SIP Call Issue
    Ken Rice 
    krice at freeswitch.org
       
    Tue Aug 23 01:14:12 MSD 2016
    
    
  
Oh Verto is WebSockets... WebRTC (and websockets) do not specify a protocol for any sort of call control that’s up to implementer to come up with… Verto is such a protocol…. Sipjs is cramming a whole sip stack in JS in a browser which is heavily overkill for such things….
 
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Murugan Pandian
Sent: Monday, August 22, 2016 3:28 PM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] WebRTC(VertoJS) to SIP Call Issue
 
You saved my time so VertoJS doesn’t store its  registered users into a database,Then i need to move SIPJS because it does it make any sense if i need to put nginx  load balancing for  freeswitch (VertoJS) .
 
Thanks Ken for your good time,Final query was websocket store its registered user into a database?
 
On Tue, Aug 23, 2016 at 1:43 AM, Ken Rice <krice at freeswitch.org <mailto:krice at freeswitch.org> > wrote:
1)      Verto doesn’t store its registered users into a database 
2)      If you look at the sofia registrations table, you’ll notice that the machine name is contained there, theres a constraint on that field when looking up users…. So its not likely to return users from fs1 when fs2 does the lookups… you need to handle that yourself with a different mechanism or you have to get crazy with naming the boxes the same thing and then dealing with all the other things that can pop up from doing that
 
From: freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org>  [mailto:freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org> ] On Behalf Of Murugan Pandian
Sent: Monday, August 22, 2016 3:08 PM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org> >
Subject: Re: [Freeswitch-users] WebRTC(VertoJS) to SIP Call Issue
 
Ken Thanks for your quick reply,We are using load balancing with two FS But both FS share same Postgres (Mean  sofia odbc-dsn) meaning every user present available in table if i am not wrong ,then why i need to register two FS and we are using mod_xml_curl for control freeswitch.
 
 
We need to enable presence also in ODBC ?,Because we already enable sofia odbc-dsn enabled 
 
 
Thanks
 
On Tue, Aug 23, 2016 at 1:27 AM, Ken Rice <krice at freeswitch.org <mailto:krice at freeswitch.org> > wrote:
If you have 2 different machines and trying to load balance between them,  say FS1 and FS2, then you need to do some additional steps to make sure FS2 can find users on FS1… usually the best way to do this is just send the calls to the machine the user is registered too…
 
There may be some more advanced HA ways to do this, but you start getting really complicated at that point and I would recommend contacting consulting at freeswitch.org <mailto:consulting at freeswitch.org>  to get one of the pro’s to help you with this sort of configuration
 
From: freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org>  [mailto:freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org> ] On Behalf Of Murugan Pandian
Sent: Monday, August 22, 2016 1:58 PM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] WebRTC(VertoJS) to SIP Call Issue
 
The same dialplan and dialstring  work fine in single FS,When i use two different FS then only i face this issue ,If my dialpaln or dialstring or incorrect it should not work single machine also right ,If i am not work 
 
On Tue, Aug 23, 2016 at 12:20 AM, Ken Rice <krice at freeswitch.org <mailto:krice at freeswitch.org> > wrote:
You either have your dialplan incorrect or your dialstring in the directory incorrect…. This does work as advertised if those 2 things are setup correctly.. see the example vanilla configs
 
From: freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org>  [mailto:freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org> ] On Behalf Of Murugan Pandian
Sent: Monday, August 22, 2016 1:48 PM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org> >
Subject: Re: [Freeswitch-users] WebRTC(VertoJS) to SIP Call Issue
 
Is there Any way i can achieve this 
 
On Mon, Aug 22, 2016 at 7:42 PM, Murugan Pandian <manpower13.cse at gmail.com <mailto:manpower13.cse at gmail.com> > wrote:
When i make call from FS-Verto to FS-SIP ,My FS-Verto syas Extension Not available 
 
On Mon, Aug 22, 2016 at 7:31 PM, Ítalo Rossi <italo at freeswitch.org <mailto:italo at freeswitch.org> > wrote:
What does sofia_contact says for your sip ext on FS-verto box?
 
On Sun, Aug 21, 2016 at 2:36 AM, Murugan Pandian <manpower13.cse at gmail.com <mailto:manpower13.cse at gmail.com> > wrote:
Hi Luiz,
 
 
 Hi don't have Any issue in single server when we Go with Two server then only i face this issue,Maybe freeswitch team will help here
 
On Sun, Aug 21, 2016 at 5:17 AM, Luiz Fernando Softov <fernando at softov.com.br <mailto:fernando at softov.com.br> > wrote:
To use in the same server, see
https://freeswitch.org/confluence/display/FREESWITCH/mod_verto
Permissions
 and dial-string
<param name="dial-string" value="{^^:sip_invite_domain=${dialed_domain}:presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(*/${dialed_user}@${dialed_domain})},${verto_contact ${dialed_user}@${dialed_domain}}"/>
To make calls between two servers, using presence, i don't know how.
 
I'm starting to use mod_verto, so I was trying to get user registration
 from database
.
Then I
 read the source of mod_verto, and figure out that verto doesn't manipule database to save extensions registered.
So, 
I think verto doesn't use database
 and don't manipulate presence
.
 
Maybe it need some patch to be done, or already have a way.
 
 
2016-08-20 17:07 GMT-04:00 Murugan Pandian <manpower13.cse at gmail.com <mailto:manpower13.cse at gmail.com> >:
HI,
 
  I have two FS Accessing Same database(PSQL in CORE and Sofia odbc-dsn)
 
1.FS-verto(WebRTC) Vertojs in single Machine DNS EX:verto.yyyyy.com <http://verto.yyyyy.com> 
2.FS-sip(SIP) in single Machine DNS EX:sip.yyyyy.com <http://sip.yyyyy.com> 
 
 
Client 1 (VertoJS) register successfully with FS-verto(verto.yyyyy.com <http://verto.yyyyy.com> )
Client 2 (Softfone)Register successfully with FS-sip(sip.yyyyy.com <http://sip.yyyyy.com> )
 
Issue:
 
   When i make call from Client 1(WebRTC) to Client 2 (SIP) its always say extension not available .
 
 
But when i try this in single system it works,I stuck here Any one faced this kind of issue pls help me here
 
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org> 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
 
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org> 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
 
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org> 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
 
-- 
Ítalo Rossi
italo at freeswitch.org <mailto:italo at freeswitch.org> 
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org> 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
 
 
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org> 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
 
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org> 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
 
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org> 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160822/74a60efc/attachment-0001.html 
    
    
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list