<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Yes, I am aware of that fact : insteaad of the pre-configured<br>
internal/external profiles I coulf have myprofile1/myprofile2.<br>
But since I am using the pre-configured profiles (without changing the
ports)<br>
and since the internal profile initiated the parsing I would expect<br>
that all the gateways defined in my directory user's xml files would<br>
belong to the internal profile (which is preconfigured to use port
5060).<br>
But when I am capturing the packets sent to that gateway I can see that<br>
the port used from FS is 5080 (which is the preconfigured port of the
internal profile).<br>
<br>
Anthony Minessale wrote:
<blockquote
 cite="mid:191c3a030901160915n250d791m4451815341b8d60a@mail.gmail.com"
 type="cite">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 moz-do-not-send="true"
 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 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 moz-do-not-send="true"
 href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; <a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a moz-do-not-send="true" 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's<br>
xml file (in the dieractory).<br>
Then I use :<br>
    <br>
&lt;domain name="$${domain}" parse="true"/&gt;<br>
    <br>
in my internal profile to let FS "parse" the gateways that I have<br>
declared in the directory.<br>
    <br>
So one would expect that the gateways declared in the user'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's port)<br>
    <div>
    <div class="Wj3C7c"><br>
--<br>
-------------------------------------------<br>
Apostolos Pantsiopoulos<br>
Kinetix Tele.com R &amp; D<br>
email: <a moz-do-not-send="true" href="mailto:regs@kinetix.gr">regs@kinetix.gr</a><br>
-------------------------------------------<br>
    <br>
    <br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
    <a moz-do-not-send="true"
 href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
    <a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
    <a moz-do-not-send="true" 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 moz-do-not-send="true" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>
ClueCon <a moz-do-not-send="true" href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
  <br>
AIM: anthm<br>
  <a moz-do-not-send="true"
 href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a moz-do-not-send="true"
 href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a moz-do-not-send="true" href="http://irc.freenode.net">irc.freenode.net</a>
#freeswitch<br>
  <br>
FreeSWITCH Developer Conference<br>
  <a moz-do-not-send="true"
 href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
  <a moz-do-not-send="true"
 href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
  <a moz-do-not-send="true"
 href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:213-799-1400<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R &amp; D
email: <a class="moz-txt-link-abbreviated" href="mailto:regs@kinetix.gr">regs@kinetix.gr</a>
------------------------------------------- </pre>
</body>
</html>