all gateways are properties of a profile <br>so even in the parse domain way of handling gateways whatever profile parsed the domain <br>will be the owner of all the gateways discovered from the domain.<br><br>FYI,<br><br>
The internal profile has nothing to do with users or anything else.<br>You are confusing the default examples for absolute fact.<br><br><div class="gmail_quote">On Fri, Jan 16, 2009 at 8:53 AM, Apostolos Pantsiopoulos <span dir="ltr">&lt;<a href="mailto:regs@kinetix.gr">regs@kinetix.gr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">Raymond Chandler wrote:<br>
&gt; Apostolos Pantsiopoulos wrote:<br>
&gt;&gt; When I am using the following method to place a call from the dialplan :<br>
&gt;&gt;<br>
&gt;&gt; sofia/gateway/&lt;gateway&gt;/&lt;number_to_dial&gt;<br>
&gt;&gt;<br>
&gt;&gt; how do I tell FS which profile to use (as in the<br>
&gt;&gt; sofia/&lt;profile&gt;/&lt;extension&gt; method?)<br>
&gt;&gt;<br>
&gt;&gt; I am asking that because all my calls to my declared &lt;gateways&gt; use<br>
&gt;&gt; the 5080 port,<br>
&gt;&gt; and I want them to use the 5060 port. Is there a way to configure a<br>
&gt;&gt; &lt;gateway&gt; to use<br>
&gt;&gt; a specific profile when making outbound calls?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt; the gateway should always use the profile from which it was included.<br>
&gt; so, for instance, if you include gw1 from internal.xml, then gw1<br>
&gt; should always use the internal profile<br>
&gt;<br>
&gt; -Ray<br>
</div></div><div class="Ih2E3d">&gt; _______________________________________________<br>
&gt; Freeswitch-users mailing list<br>
&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">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>
&gt;<br>
</div>I am using the directory to define my gateways. Specifically, because<br>
this certain gateway<br>
is related to a specific user I am including this gateway in the user&#39;s<br>
xml file (in the dieractory).<br>
Then I use :<br>
<br>
&lt;domain name=&quot;$${domain}&quot; parse=&quot;true&quot;/&gt;<br>
<br>
in my internal profile to let FS &quot;parse&quot; the gateways that I have<br>
declared in the directory.<br>
<br>
So one would expect that the gateways declared in the user&#39;s file would<br>
belong to the internal<br>
profile. Yet, when I am using the sofia/gateway/&lt;gw_name&gt;/&lt;number&gt;<br>
notation to send a call<br>
through this gateway the SIP packets get send from the 5080 port (which<br>
is my external profile&#39;s port)<br>
<div><div></div><div class="Wj3C7c"><br>
--<br>
-------------------------------------------<br>
Apostolos Pantsiopoulos<br>
Kinetix Tele.com R &amp; D<br>
email: <a href="mailto:regs@kinetix.gr">regs@kinetix.gr</a><br>
-------------------------------------------<br>
<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto: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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>