have you created Extension 1002? <br>-nandy<br>
<br><br><div class="gmail_quote">On Wed, Dec 9, 2009 at 3:20 AM, mailinglist <span dir="ltr">&lt;<a href="mailto:mailinglist@fribert.dk">mailinglist@fribert.dk</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 style="margin: 4px 4px 1px; font-family: Segoe UI; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<div>Hi All</div>
<div> </div>
<div>Ok, after reading a bit more I think I see what I&#39;ve done wrong, but I don&#39;t know how to fix it properly.</div>
<div>Looking in the Dialplan directory I see the following:</div>
<div>default (dir)</div>
<div>default.xml</div>
<div>features.xml</div>
<div>public (dir)</div>
<div>public.xml</div>
<div> </div>
<div>Under the default dir the webinterface has created the 001_musimi.dk.xml file that I&#39;ve created.</div>
<div>But as I understand it, it doesn&#39;t use it.</div>
<div><br>How do I make it use it, I would very much like to keep the webinterface editor, and not have to do it via ssh and vi all the time.</div>
<div><br>&gt;&gt;&gt; 08-12-2009 kl. 07:05 skrev &quot;mailinglist&quot; &lt;<a href="mailto:mailinglist@fribert.dk" target="_blank">mailinglist@fribert.dk</a>&gt; i meddelelsen &lt;<a href="mailto:4B1DFABC020000E1000002C2@mail.fribert.dk" target="_blank">4B1DFABC020000E1000002C2@mail.fribert.dk</a>&gt;:<br>
</div><div><div></div><div class="h5">
<table style="margin: 0px 0px 0px 15px; font-size: 1em;" bgcolor="#f3f3f3" border="0">
<tbody>
<tr>
<td>
<div style="border-left: 1px solid rgb(5, 5, 5); padding-left: 7px;">
<div>Hi Mark</div>
<div> </div>
<div>Ok, thanks.</div>
<div>Yes I have a gateway placed in external called <a href="http://musimi.dk" target="_blank">musimi.dk</a> (or should it be in public?), and I&#39;ll just create the empty XML&#39;s in lan to get rid of that error.</div>

<div> </div>
<div>I&#39;ll remove the second part of the dialplan, my idea was that it was needed for calls between sip phones hooked up to the freeswitch.</div>
<div> </div>
<div>Now the remaining problem:</div>
<div>When I call ext 1002 from ext 1001 I see this message and get an error, the same goes for dialing 0XXXXXXXX to get an external number:</div>
<div> </div>
<div>2009-12-08 07:02:20.522883 [NOTICE] switch_channel.c:602 New Channel <a href="mailto:sofia/internal/1001@10.11.12.25" target="_blank">sofia/internal/1001@10.11.12.25</a> [b2b1253f-bfe3-de11-af59-000c29b7b4cb]<br>2009-12-08 07:02:20.522883 [INFO] mod_dialplan_xml.c:252 Processing 1001-&gt;1002 in context default<br>
2009-12-08 07:02:20.522883 [NOTICE] switch_channel.c:602 New Channel sofia/external/$1 [199e263f-bfe3-de11-af59-000c29b7b4cb]<br>2009-12-08 07:02:20.642371 [NOTICE] sofia.c:3770 Hangup sofia/external/$1 [CS_CONSUME_MEDIA] [NO_ROUTE_DESTINATION]<br>
2009-12-08 07:02:20.642371 [INFO] mod_dptools.c:2091 Originate Failed.  Cause: NO_ROUTE_DESTINATION<br>2009-12-08 07:02:20.642371 [NOTICE] mod_dptools.c:2123 Hangup <a href="mailto:sofia/internal/1001@10.11.12.25" target="_blank">sofia/internal/1001@10.11.12.25</a> [CS_EXECUTE] [NO_ROUTE_DESTINATION]<br>
2009-12-08 07:02:20.663502 [NOTICE] switch_core_session.c:1085 Session 2 (sofia/external/$1) Ended<br>2009-12-08 07:02:20.663502 [NOTICE] switch_core_session.c:1087 Close Channel sofia/external/$1 [CS_DESTROY]<br>2009-12-08 07:02:20.663502 [NOTICE] switch_core_session.c:1085 Session 1 (<a href="mailto:sofia/internal/1001@10.11.12.25" target="_blank">sofia/internal/1001@10.11.12.25</a>) Ended<br>
2009-12-08 07:02:20.663502 [NOTICE] switch_core_session.c:1087 Close Channel <a href="mailto:sofia/internal/1001@10.11.12.25" target="_blank">sofia/internal/1001@10.11.12.25</a> [CS_DESTROY]<br></div>
<div>I don&#39;t see any mention of the statements in the Dialplan, so for me it looks like it haven&#39;t registered the Dialplan?</div>
<div> </div>
<div>Best regards</div>
<div>Kenneth</div>
<div><br>&gt;&gt;&gt; 08-12-2009 kl. 03:05 skrev Mark Crane &lt;<a href="mailto:mctch@yahoo.com" target="_blank">mctch@yahoo.com</a>&gt; i meddelelsen <a href="mailto:659603.29094.qm@web56408.mail.re3.yahoo.com" target="_blank">659603.29094.qm@web56408.mail.re3.yahoo.com</a>:<br>
</div>
<table style="margin: 0px 0px 0px 15px; font-size: 1em;" bgcolor="#f3f3f3" border="0">
<tbody>
<tr>
<td>
<div style="border-left: 1px solid rgb(5, 5, 5); padding-left: 7px;">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td valign="top"><br>Question ----------------------------------------------<br>
<div>If I do a reloadxml it gives me this output on the console:</div><a href="http://us.mc564.mail.yahoo.com/mc/compose?to=freeswitch@firewall.fribert.dk" rel="nofollow" target="_blank">freeswitch@firewall.fribert.dk</a>&gt; reloadxml<br>
2009-12-07 21:21:40.381445 [ERR] switch_xml.c:1282 Couldnt open /usr/local/freeswitch/conf/autoload_configs/../sip_profiles/lan/*.xml (No such file or directory)<br>Error including /usr/local/freeswitch/conf/autoload_configs/../sip_profiles/lan/*.xml (No such file or directory)<br>
<br>I&#39;m not sure if it&#39;s a genuine problem,as I can see it, it just complains that I haven&#39;t created any sip_profiles in /lan, but is that necessary?<br><br>Response: ----------------------------------------------<br>
This isn&#39;t really a problem. To get rid of the error simply put a blank xml file into each folder as in the internal and external directories. Dump the lan directory and lan profile as mentioned earlier.<br><br>
<div>Question ----------------------------------------------<br><br></div>
<div>Extension Name  <a href="http://musimi.dk" target="_blank"><span>musimi.dk</span></a></div>
<div>Enabled true</div>
<div>Order 001</div>
<div>Description  ...</div>
<div> </div>
<div>condition ^0(.\d+)$</div>
<div>action bridge sofia/gateway/<a href="http://musimi.dk/$1" target="_blank">musimi.dk/$1</a><br><br></div>
<div>Response: ----------------------------------------------<br><br>This is correct as long as you have a gateway that is registered called <a href="http://musimi.dk" target="_blank">musimi.dk</a><br><br>Question ----------------------------------------------<br>

<div>Extension Name 10.11.12.25</div>
<div>Enabled true</div>
<div>Order 002</div>
<div>Description ...</div>
<div> </div>
<div>action bridge  sofia/internal/$<br><br>Response: ----------------------------------------------<br><br></div>No idea what this is for its not needed as far as I can tell.<br></div><br><br>Now please summarize what you still need help on.<br>
<br><br>Mark J Crane<br><a href="http://fusionpbx.com" target="_blank">http://fusionpbx.com</a><br>pfSense FreeSWITCH package developer<br></td></tr></tbody></table><br></div></td></tr></tbody></table></div></td></tr></tbody></table>
</div></div></div>
<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>
<br></blockquote></div><br>