<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16466"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI">
<DIV>Hi Michael</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thankyou for the excellent wiki article, yes, I did follow your guide there, all the way except to 'dialplan' and it seems that's the problem at the moment.</DIV>
<DIV>I would very much like to create the dialplan in the webinterface, and not in the public.xml file.</DIV>
<DIV>But at the moment it only uses the public.xml file :-(</DIV>
<DIV>&nbsp;</DIV>
<DIV>Great writeup you made, and it has brought me a long way.</DIV>
<DIV>&nbsp;</DIV>
<DIV>BR</DIV>
<DIV>Fribert</DIV>
<DIV><BR><BR>&gt;&gt;&gt; 09-12-2009 kl. 16:16 skrev Michael Gende &lt;mgende@gendesign.com&gt; i meddelelsen &lt;a87d43fd0912090716m689f6690m105264b874f12afa@mail.gmail.com&gt;:<BR></DIV>
<TABLE style="MARGIN: 0px 0px 0px 15px; FONT-SIZE: 1em" border=0 bgColor=#f3f3f3>
<TBODY>
<TR>
<TD>
<DIV style="BORDER-LEFT: #050505 1px solid; PADDING-LEFT: 7px">Hey There,<BR><BR>I came in not seeing any former posts of yours, so if this one is unhelpful, just delete.<BR><BR>I did my FS install using PFsense as well. Its been working famously for a few months now. Very happy. <BR><BR>I wrote what I discovered for FS on PFsense in this wiki: <A href="http://wiki.freeswitch.org/wiki/Multi_home_tutorial">http://wiki.freeswitch.org/wiki/Multi_home_tutorial</A><BR><BR>I assume since you're using PFsense that your computer is functioning as a firewall AND a phone system (a dual homed host, in other words). That's what the wiki attempt above is aimed at.<BR><BR>If you follow those instructions, you'll send and receive calls (as we were and are able to). It is working for us, at least. <BR><BR>One problem in your case: I didn't really like using the PFsense Web interface when configuring FS (except for installing FS and setting some system parameters. Its great for PFsense, though). <BR><BR>It helped me more to get in with ssh and vi and make FS work. Having done that successfully, you'll be more likely to effectively use the PFsense web interface for FS, as it's really just a "short cut" for someone that understands the FS file system, in my opinion.<BR><BR>Good luck,<BR><BR>Mike G.<BR><BR>
<DIV class=gmail_quote>On Tue, Dec 8, 2009 at 1:20 PM, mailinglist <SPAN dir=ltr>&lt;<A href="mailto:mailinglist@fribert.dk">mailinglist@fribert.dk</A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class=gmail_quote>
<DIV style="MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI; 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've done wrong, but I don'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've created.</DIV>
<DIV>But as I understand it, it doesn'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 "mailinglist" &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>
<TABLE style="MARGIN: 0px 0px 0px 15px; FONT-SIZE: 1em" border=0 bgColor=#f3f3f3>
<TBODY>
<TR>
<TD>
<DIV style="BORDER-LEFT: rgb(5,5,5) 1px solid; 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'll just create the empty XML's in lan to get rid of that error.</DIV>
<DIV></DIV>
<DIV>I'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't see any mention of the statements in the Dialplan, so for me it looks like it haven'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" border=0 bgColor=#f3f3f3>
<TBODY>
<TR>
<TD>
<DIV style="BORDER-LEFT: rgb(5,5,5) 1px solid; PADDING-LEFT: 7px">
<TABLE border=0 cellSpacing=0 cellPadding=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'm not sure if it's a genuine problem,as I can see it, it just complains that I haven't created any sip_profiles in /lan, but is that necessary?<BR><BR>Response: ----------------------------------------------<BR>This isn'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><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></DIV></TD></TR></TBODY></TABLE></BODY></HTML>