there is no jistifucation whatsoever to require registration to make a call. It's completely nonsensical. A registration is telling a remote gateway how to call you. It has nothing at all to do with making a call and adds no benefit whatsoever.<span></span><br><br>On Sunday, May 29, 2016, Bipin Patel <<a href="mailto:bipin@xbipin.com">bipin@xbipin.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">actually my users register to FS which has xml curl with directory<br>
binding set, now i keep a DB of user accounts which my script gets and<br>
sends to FS when a user tries to register but each account has a<br>
different gateway ip in my DB so what im doing is routing the calls for<br>
each client differently, now my upstream GW requires FS to register to<br>
it but the problem is i dont have the gateway ip and account details<br>
before hand when sofia loads so im following the user specific gateway<br>
example and making my script send user account as well as gateway<br>
details to FS but FS keeps complaining GW not found. The current way i<br>
solve this is in dialplan by bridging call to GW and passing the id/pass<br>
during bridge but that doesnt make FS register to GW.<br>
<br>
i have to make FS register to upstream GW, without registration it works<br>
fine, what i learnt so far is FS needs its GW accounts when sofia loads<br>
and im trying to find a way i can create them on the fly because there r<br>
more than 60k client accounts in DB and hundreds of GW so i cant load<br>
all of them during sofia load so trying to do it dynamically. The config<br>
and dialplan bindings for xml curl i dont use as im using static xml<br>
files for that.<br>
<br>
im using this variable in user accounts<br>
|<br>
<br>
<variable name="register-gateway" value="user1out"/><br>
<br>
|but when FS requests param it gets user account but it sends the same<br>
request 2 more times and then complains twice GW not found, even if it<br>
requested GW then i could feed it but even with config binding it<br>
doesnt, only during sofia load it requests GW<br>
<br>
<br>
Regards,<br>
Bipin<br>
<br>
<br>
------------------------------------------------------------------------<br>
-------- Original Message --------<br>
Subject: Re: [Freeswitch-users] dynamic user specific gateways with xml curl<br>
From: Michael Jerris <<a href="javascript:;" onclick="_e(event, 'cvml', 'mike@jerris.com')">mike@jerris.com</a>><br>
To: FreeSWITCH Users Help <<a href="javascript:;" onclick="_e(event, 'cvml', 'freeswitch-users@lists.freeswitch.org')">freeswitch-users@lists.freeswitch.org</a>><br>
Date: 5/29/2016, 7:46:30 PM<br>
> there is no way to register a gateway from the dial plan as<br>
> registering has nothing to do with making calls so it makes no sense.<br>
> Registering is a mechanism for receiving calls, and has nothing at all<br>
> to do with sending calls. Why would you need to register to send a call?<br>
><br>
> On Sunday, May 29, 2016, Bipin Patel <<a href="javascript:;" onclick="_e(event, 'cvml', 'bipin@xbipin.com')">bipin@xbipin.com</a><br>
> <mailto:<a href="javascript:;" onclick="_e(event, 'cvml', 'bipin@xbipin.com')">bipin@xbipin.com</a>>> wrote:<br>
><br>
> well currently i use that only but i need to register to the gateway<br>
> upstream and this seems not possible using dialplan<br>
><br>
><br>
> Regards,<br>
> Bipin<br>
><br>
><br>
> ------------------------------------------------------------------------<br>
> -------- Original Message --------<br>
> Subject: dynamic user specific gateways with xml curl<br>
> From: Bipin Patel <<a href="javascript:;" onclick="_e(event, 'cvml', 'bipin@xbipin.com')">bipin@xbipin.com</a> <javascript:;>><br>
> To: <a href="javascript:;" onclick="_e(event, 'cvml', 'freeswitch-users@lists.freeswitch.org')">freeswitch-users@lists.freeswitch.org</a> <javascript:;><br>
> Date: 5/29/2016, 3:53:54 PM<br>
> > isnt there anyway to define gateways on the fly using xml curl, i<br>
> > tried the user specific gateway method by replying with the user<br>
> > account along with the gw info but sofia keeps saying gateway not<br>
> > found, i tried asking in irc but didnt get an answer, no docs also<br>
> > mention this if its possible also or no.<br>
> ><br>
> > so far reading other places it seems gateways need to be present<br>
> > during profile load but all those were very old so wanted to know if<br>
> > its still possible to dynamically create gateways on the fly or no<br>
> > when using xml curl.<br>
> ><br>
> ><br>
> > --<br>
> > Regards,<br>
> > Bipin<br>
> ><br>
> ><br>
> ><br>
> ------------------------------------------------------------------------<br>
><br>
><br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="javascript:;" onclick="_e(event, 'cvml', 'consulting@freeswitch.org')">consulting@freeswitch.org</a> <javascript:;><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="javascript:;" onclick="_e(event, 'cvml', 'FreeSWITCH-users@lists.freeswitch.org')">FreeSWITCH-users@lists.freeswitch.org</a> <javascript:;><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="javascript:;" onclick="_e(event, 'cvml', 'consulting@freeswitch.org')">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="javascript:;" onclick="_e(event, 'cvml', 'FreeSWITCH-users@lists.freeswitch.org')">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'consulting@freeswitch.org')">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'FreeSWITCH-users@lists.freeswitch.org')">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>