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"><<a href="mailto:mailinglist@fribert.dk">mailinglist@fribert.dk</a>></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'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>>>> 08-12-2009 kl. 07:05 skrev "mailinglist" <<a href="mailto:mailinglist@fribert.dk" target="_blank">mailinglist@fribert.dk</a>> i meddelelsen <<a href="mailto:4B1DFABC020000E1000002C2@mail.fribert.dk" target="_blank">4B1DFABC020000E1000002C2@mail.fribert.dk</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;">
<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->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>>>> 08-12-2009 kl. 03:05 skrev Mark Crane <<a href="mailto:mctch@yahoo.com" target="_blank">mctch@yahoo.com</a>> 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>> 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>