<html>
<head>
</head>
<body>
<div style="color: black;">
<div style="color: black;">
<p style="margin: 0 0 1em 0; color: black;">Well the main reason to
register is to receive incoming calls even plus a few other custom things
we do, but for a start I wanted atleast one way to work, which does even
without register but now for the other way I hit this road block because it
won't register to gw</p>
</div>
<div style="color: black;">
<p
style="color: black; font-size: 10pt; font-family: Arial, sans-serif; margin: 10pt 0;">On
May 29, 2016 11:44:41 PM Michael Jerris &lt;mike@jerris.com&gt; wrote:</p>
<blockquote type="cite" class="gmail_quote"
style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;">
there is no jistifucation whatsoever to require registration to make a
call.  It&#39;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 &lt;<a
href="mailto:bipin@xbipin.com">bipin@xbipin.com</a>&gt;
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>
&lt;variable name=&quot;register-gateway&quot;
value=&quot;user1out&quot;/&gt;<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 &lt;<a href="javascript:;"
onclick="_e(event, &#39;cvml&#39;, &#39;mike@jerris.com&#39;)">mike@jerris.com</a>&gt;<br>
To: FreeSWITCH Users Help &lt;<a href="javascript:;"
onclick="_e(event, &#39;cvml&#39;, &#39;freeswitch-users@lists.freeswitch.org&#39;)">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
Date: 5/29/2016, 7:46:30 PM<br>
&gt; there is no way to register a gateway from the dial plan as<br>
&gt; registering has nothing to do with making calls so it makes no sense.<br>
&gt; Registering is a mechanism for receiving calls, and has nothing at all<br>
&gt; to do with sending calls.  Why would you need to register to send a
call?<br>
&gt;<br>
&gt; On Sunday, May 29, 2016, Bipin Patel &lt;<a href="javascript:;"
onclick="_e(event, &#39;cvml&#39;, &#39;bipin@xbipin.com&#39;)">bipin@xbipin.com</a><br>
&gt; &lt;mailto:<a href="javascript:;"
onclick="_e(event, &#39;cvml&#39;, &#39;bipin@xbipin.com&#39;)">bipin@xbipin.com</a>&gt;&gt;
wrote:<br>
&gt;<br>
&gt;     well currently i use that only but i need to register to the
gateway<br>
&gt;     upstream and this seems not possible using dialplan<br>
&gt;<br>
&gt;<br>
&gt;     Regards,<br>
&gt;     Bipin<br>
&gt;<br>
&gt;<br>
&gt;   
 ------------------------------------------------------------------------<br>
&gt;     -------- Original Message --------<br>
&gt;     Subject: dynamic user specific gateways with xml curl<br>
&gt;     From: Bipin Patel &lt;<a href="javascript:;"
onclick="_e(event, &#39;cvml&#39;, &#39;bipin@xbipin.com&#39;)">bipin@xbipin.com</a>
&lt;javascript:;&gt;&gt;<br>
&gt;     To: <a href="javascript:;"
onclick="_e(event, &#39;cvml&#39;, &#39;freeswitch-users@lists.freeswitch.org&#39;)">freeswitch-users@lists.freeswitch.org</a>
&lt;javascript:;&gt;<br>
&gt;     Date: 5/29/2016, 3:53:54 PM<br>
&gt;     &gt; isnt there anyway to define gateways on the fly using xml
curl, i<br>
&gt;     &gt; tried the user specific gateway method by replying with the
user<br>
&gt;     &gt; account along with the gw info but sofia keeps saying gateway
not<br>
&gt;     &gt; found, i tried asking in irc but didnt get an answer, no docs
also<br>
&gt;     &gt; mention this if its possible also or no.<br>
&gt;     &gt;<br>
&gt;     &gt; so far reading other places it seems gateways need to be
present<br>
&gt;     &gt; during profile load but all those were very old so wanted to
know if<br>
&gt;     &gt; its still possible to dynamically create gateways on the fly
or no<br>
&gt;     &gt; when using xml curl.<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; --<br>
&gt;     &gt; Regards,<br>
&gt;     &gt; Bipin<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;   
 ------------------------------------------------------------------------<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;   
 _________________________________________________________________________<br>
&gt;     Professional FreeSWITCH Consulting Services:<br>
&gt;     <a href="javascript:;"
onclick="_e(event, &#39;cvml&#39;, &#39;consulting@freeswitch.org&#39;)">consulting@freeswitch.org</a>
&lt;javascript:;&gt;<br>
&gt;     <a href="http://www.freeswitchsolutions.com"
target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt;     Official FreeSWITCH Sites<br>
&gt;     <a href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
&gt;     <a href="http://confluence.freeswitch.org"
target="_blank">http://confluence.freeswitch.org</a><br>
&gt;     <a href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt;     FreeSWITCH-users mailing list<br>
&gt;     <a href="javascript:;"
onclick="_e(event, &#39;cvml&#39;, &#39;FreeSWITCH-users@lists.freeswitch.org&#39;)">FreeSWITCH-users@lists.freeswitch.org</a>
&lt;javascript:;&gt;<br>
&gt;     <a
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;     UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;     <a href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;
_________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="javascript:;"
onclick="_e(event, &#39;cvml&#39;, &#39;consulting@freeswitch.org&#39;)">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com"
target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org"
target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="javascript:;"
onclick="_e(event, &#39;cvml&#39;, &#39;FreeSWITCH-users@lists.freeswitch.org&#39;)">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <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, &#39;cvml&#39;, &#39;consulting@freeswitch.org&#39;)">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, &#39;cvml&#39;, &#39;FreeSWITCH-users@lists.freeswitch.org&#39;)">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>

_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services: <br>
<a class="aqm-autolink aqm-autowrap"
href="mailto:consulting%40freeswitch.org">consulting@freeswitch.org</a><br>
<a class="aqm-autolink aqm-autowrap"
href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a class="aqm-autolink aqm-autowrap"
href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a class="aqm-autolink aqm-autowrap"
href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
<a class="aqm-autolink aqm-autowrap"
href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a class="aqm-autolink aqm-autowrap"
href="mailto:FreeSWITCH-users%40lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a class="aqm-autolink aqm-autowrap"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a class="aqm-autolink aqm-autowrap"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a class="aqm-autolink aqm-autowrap"
href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</blockquote>
</div>
</div>
</body>
</html>