<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I have noticed this, too.&nbsp; I can open up ekiga on the machine FS
is installed on, and it can accept calls, but, if I remember correctly, FS
doesn&#8217;t show that the call is being routed, meaning ekiga is just accepting all
the calls itself. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>What I also found, in relation to this, is that if you have
another sip contact outside the FS box, and you try to call them with a sip
client also outside the FS box, then the client that is running on the FS box (in
my case, Ekiga) will accept the calls that are supposed to be for other users.&nbsp;
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>So, basically, I don&#8217;t think you can have a client on the same
machine as FS.&nbsp; I suppose that is to be expected, as a sip client is also a
server.&nbsp; Am I right?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>A related problem I have is if you have multiple sip accounts on
the same machine (registering from the same ip address), they can&#8217;t call each other.&nbsp;
It may stem from the problem above, but it may not.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I&#8217;m also a quite a newbie in FS, so hopefully we can figure out
how to do these things.&nbsp; I would gladly add the answer to the wiki for others if
there&#8217;s something specific we need to do to do these kind of things.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>-Dan<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>Pete
Kay<br>
<b>Sent:</b> Thursday, April 17, 2008 3:16 AM<br>
<b>To:</b> freeswitch-users@lists.freeswitch.org<br>
<b>Subject:</b> [Freeswitch-users] newbie dialplan question<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Hi,<br>
<br>
I am working on some test on seeing how I can port my exist Asterisk stuff to
Freeswitch. &nbsp;I am just getting started and I am hoping someone can give me
some help to get started. <br>
<br>
I installed with all the default config and xml setting. &nbsp; Then, I bring
up two SiP clients - one in the same machine as freeswitch (<a
href="http://192.168.1.104">192.168.1.104</a>) &nbsp;and the other one on
another machine ( <a href="http://192.168.1.102">192.168.1.102</a>).<br>
<br>
When I dial an extension ( 1001, or 1002... etc ) from my SIP client on <a
href="http://192.168.1.102">192.168.1.102</a>, I can make the call to the other
client no problem. &nbsp;<br>
2008-04-18 00:09:12 [NOTICE] switch_channel.c:531 switch_channel_set_name() New
Channel sofia/default/<a href="http://1002@192.168.1.104:5060">1002@192.168.1.104:5060</a>
[9e6d6146-0c98-11dd-bb92-f1e303d528b1]<br>
2008-04-18 00:09:12 [INFO] mod_dialplan_xml.c:223 dialplan_hunt() Processing
1002-&gt;<span style='color:red'>81001@default</span><br>
2008-04-18 00:09:12 [NOTICE] switch_channel.c:531 switch_channel_set_name() New
Channel sofia/default/<a href="http://1001@192.168.1.104:5061">1001@192.168.1.104:5061</a>
[9e93e564-0c98-11dd-bb92-f1e303d528b1]<br>
2008-04-18 00:09:12 [NOTICE] sofia.c:1603 sofia_handle_sip_i_state() Ring-Ready
sofia/default/<a href="http://1001@192.168.1.104:5061">1001@192.168.1.104:5061</a>!<br>
<br>
However, when I dial extension from the other SIP client, the one on <a
href="http://192.168.1.104">192.168.1.104</a>, the call can't be routed. <br>
<br>
2008-04-18 00:10:34 [NOTICE] switch_channel.c:531 switch_channel_set_name() New
Channel sofia/default/<a href="http://1001@192.168.1.104:5061">1001@192.168.1.104:5061</a>
[cf710b58-0c98-11dd-bb92-f1e303d528b1]<br>
2008-04-18 00:10:34 [INFO] mod_dialplan_xml.c:223 dialplan_hunt() Processing
1001-&gt;<span style='color:red'>1002@public</span><br>
2008-04-18 00:10:34 [NOTICE] switch_core_state_machine.c:198
switch_core_standard_on_execute() Hangup sofia/default/<a
href="http://1001@192.168.1.104:5061">1001@192.168.1.104:5061</a> [CS_EXECUTE]
[NORMAL_CLEARING]<br>
2008-04-18 00:10:34 [NOTICE] switch_core_session.c:748
switch_core_session_thread() Session 20 (sofia/default/<a
href="http://1001@192.168.1.104:5061">1001@192.168.1.104:5061</a>) Ended<br>
<br>
It seems like the the call is being routed to the wrong context.&nbsp; How come
this happens?&nbsp; I am using the standard default config xml files.&nbsp; Can
anyone please help me?<br>
<br>
With freeswitch, is there anyway to debug/trace the processing of the call so I
can see which condition it is in, and where it is routed to?&nbsp; That way, I
can debug the config easier?&nbsp; <br>
<br>
Thanks alot for all your inputs and help.<br>
<br>
Regards,<br>
Pete<o:p></o:p></p>

</div>

</body>

</html>