Hey Orien,<br><br>All of these guys are more experienced than I, but I&#39;ll try to throw you a line. <br><br>I&#39;ll have to check a thing or two out at work, but here&#39;s an observation or two (I&#39;ll post again tomorrow morning after I get in).<br>
<br>The mult-homed example is set to work in a very specifc way: A dual-homed box where the WAN is used for the WWW connection, and then using the LAN side for phones. <br><br>To work like the example, you need to have your phones on the LAN network. Then, configure your internal.xml file on FS to use the LAN port, not the WAN. Next, set your phones to register to that LAN address.  <br>
<br>One thing I prefer to do on pfsense, is at the FS box console (or ssh to the box), kill the &quot;pfsense FS&quot; running the background, and run FS in the foreground. Then you can &quot;reloadxml&quot; instead of rebooting when XML changes are made (if I understand your post). <br>
<br>As I said, let me check a thing or two out, and I&#39;ll ask to see some configuration files. I&#39;m sure we can get you going. <br><br>BTW: What kind of phones are you using?<br><br>Regards,<br><br>Mike G.<br><br><br>
<div class="gmail_quote">On Wed, Oct 14, 2009 at 6:31 PM, Orien Love <span dir="ltr">&lt;<a href="mailto:orien@tx.rr.com">orien@tx.rr.com</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;">
Hello, a few weeks ago I asked about a setup, and about using the<br>
freeswitch package on pfSense. Since then I have received most of my<br>
hardware and started setting up freeswitch.<br>
<br>
First my setup<br>
WWW --&gt; 1st pfsense box &lt;-- private (192.168.2.xxx) --&gt; pfsense w<br>
freeswtich &lt;-- Test (192.168.3.xxx) --&gt; phones<br>
<br>
pfsense w freeswtich Port Addresses<br>
WAN 192.168.2.210<br>
LAN 192.168.3.1<br>
<br>
this is setup to simulate a pfsense box hooked up to an external network.<br>
<br>
<br>
here are the things I have done.<br>
<br>
1st attempt<br>
#1 set my WAN IP port to fixed in pfsense (192.168.2.210)<br>
#2 set my soft phone to register to 192.168.2.210 (The phones registered<br>
and showed up in the status section)<br>
#3 Tried to make a call to extension 1004, the soft phone tells me that<br>
it is &quot;Temporally Unavailable 480).<br>
<br>
2nd attempt<br>
#1 set my WAN IP port to fixed in pfsense (192.168.2.210)<br>
#2 deleted the lan.xml profile<br>
#3 rebooted freeswitch.<br>
#4 set my soft phone to register to 192.168.2.210 (The phones registered<br>
and showed up in the status section)<br>
#5 Tried to make a call to extension 1004, the soft phone tells me that<br>
it is &quot;Temporally Unavailable 480).<br>
<br>
3rd attempt<br>
#1 set my WAN IP port to fixed in pfsense (192.168.2.210)<br>
#2 edited the internal.xml file as described in the multi-home tutorial<br>
(192.168.3.1 is my phone lan address)<br>
    &lt;param name=&quot;rtp-ip&quot; value=&quot;192.168.3.1&quot;/&gt;<br>
    &lt;param name=&quot;sip-ip&quot; value=&quot;192.168.3.1&quot;/&gt;<br>
    &lt;param name=&quot;ext-rtp-ip&quot; value=&quot;192.168.3.1&quot;/&gt;<br>
    &lt;param name=&quot;ext-sip-ip&quot; value=&quot;192.168.3.1&quot;/&gt;<br>
#3 rebooted freeswitch.<br>
#4 set my soft phone to register to 192.168.2.210 (The phone would not<br>
register)<br>
#5 set my soft phone to register to 192.168.3.1 (The phone registered<br>
and showed up in the status section)<br>
#6 Tried to make a call to extension 1004, the soft phone tells me that<br>
it is &quot;Temporally Unavailable 480).<br>
#7 edited the file /usr/local/freeswitch/conf/directory/default.xml<br>
  &lt;domain name=&quot;192.168.3.1&quot;&gt;<br>
#8 rebooted freeswitch.<br>
#9 set my soft phone to register to 192.168.2.210 (The phone would not<br>
register)<br>
#10 set my soft phone to register to 192.168.3.1 (The phone would not<br>
register got a forbidden error)<br>
#11 did some reading and found a place in the vars tab to change the domain<br>
#12 edited the file in the vars tab<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;domain=192.168.3.1&quot;/&gt;<br>
#13 rebooted freeswitch.<br>
#14 set my soft phone to register to 192.168.2.210 (The phone would not<br>
register)<br>
#15 set my soft phone to register to 192.168.3.1 (The phone registered<br>
and showed up in the status section)<br>
#16 Tried to make a call to extension 1004, the soft phone tells me that<br>
it is &quot;Temporally Unavailable 480).<br>
<br>
here is part of the log file:<br>
2009-10-14 22:18:43.560147 [DEBUG] sofia.c:910 Write lock lan<br>
2009-10-14 22:18:43.563938 [NOTICE] sofia.c:917 Waiting for worker thread<br>
2009-10-14 22:18:43.563938 [DEBUG] sofia.c:975 Write unlock lan<br>
2009-10-14 22:26:00.23234 [DEBUG] sofia.c:4549 IP 192.168.3.199 Rejected<br>
by acl &quot;domains&quot;. Falling back to Digest auth.<br>
2009-10-14 22:26:00.55225 [DEBUG] sofia.c:4549 IP 192.168.3.199 Rejected<br>
by acl &quot;domains&quot;. Falling back to Digest auth.<br>
2009-10-14 22:26:00.55225 [NOTICE] switch_channel.c:602 New Channel<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> [8aa7cd8c-10b9-de11-a0e9-00a0cc5a11e3]<br>
2009-10-14 22:26:00.55225 [DEBUG] sofia.c:5196 Setting NAT mode based on<br>
rfc1918.auto<br>
2009-10-14 22:26:00.55225 [DEBUG] sofia.c:3210 Channel<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> entering state [received][100]<br>
2009-10-14 22:26:00.55225 [DEBUG] sofia.c:3217 Remote SDP:<br>
v=0<br>
o=- 78902911 78902911 IN IP4 192.168.189.1<br>
s=<a href="http://www.portsip.com" target="_blank">http://www.portsip.com</a><br>
c=IN IP4 192.168.189.1<br>
t=0 0<br>
m=audio 21328 RTP/AVP 0 8 18 101<br>
a=rtpmap:0 PCMU/8000<br>
a=rtpmap:8 PCMA/8000<br>
a=rtpmap:18 G729/8000<br>
a=fmtp:18 annexb=no<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-15<br>
a=ptime:20<br>
m=video 40216 RTP/AVP 34 125<br>
a=rtpmap:34 H263/90000<br>
a=fmtp:34 CIF=2<br>
a=rtpmap:125 H264/90000<br>
a=fmtp:125 profile-level-id=42e015<br>
<br>
2009-10-14 22:26:00.55225 [DEBUG] sofia_glue.c:3081 Audio Codec Compare<br>
[PCMU:0:8000:20]/[G7221:115:32000:20]<br>
2009-10-14 22:26:00.55225 [DEBUG] sofia_glue.c:3081 Audio Codec Compare<br>
[PCMU:0:8000:20]/[G7221:107:16000:20]<br>
2009-10-14 22:26:00.55225 [DEBUG] sofia_glue.c:3081 Audio Codec Compare<br>
[PCMU:0:8000:20]/[G722:9:8000:20]<br>
2009-10-14 22:26:00.55225 [DEBUG] sofia_glue.c:3081 Audio Codec Compare<br>
[PCMU:0:8000:20]/[PCMU:0:8000:20]<br>
2009-10-14 22:26:00.55225 [DEBUG] sofia_glue.c:2039 Set Codec<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> PCMU/8000 20 ms 160 samples<br>
2009-10-14 22:26:00.55225 [DEBUG] sofia_glue.c:3041 Set 2833 dtmf<br>
payload to 101<br>
2009-10-14 22:26:00.55225 [DEBUG] sofia.c:3376<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State Change CS_NEW -&gt; CS_INIT<br>
2009-10-14 22:26:00.55225 [DEBUG] switch_core_session.c:933 Send signal<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> [BREAK]<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:397<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) Running State Change CS_INIT<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:480<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State INIT<br>
2009-10-14 22:26:00.63551 [DEBUG] mod_sofia.c:83<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> SOFIA INIT<br>
2009-10-14 22:26:00.63551 [DEBUG] mod_sofia.c:111<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State Change CS_INIT -&gt; CS_ROUTING<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_session.c:933 Send signal<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> [BREAK]<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:480<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State INIT going to sleep<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:397<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) Running State Change CS_ROUTING<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:483<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State ROUTING<br>
2009-10-14 22:26:00.63551 [DEBUG] mod_sofia.c:130<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> SOFIA ROUTING<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:78<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> Standard ROUTING<br>
2009-10-14 22:26:00.63551 [INFO] mod_dialplan_xml.c:252 Processing<br>
1001-&gt;1004 in context public<br>
Dialplan: sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> parsing [public-&gt;unloop]<br>
continue=false<br>
Dialplan: sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> Regex (PASS) [unloop]<br>
${unroll_loops}(true) =~ /^true$/ break=on-false<br>
Dialplan: sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> Regex (FAIL) [unloop]<br>
${sip_looped_call}() =~ /^true$/ break=on-false<br>
Dialplan: sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> parsing<br>
[public-&gt;outside_call] continue=true<br>
Dialplan: sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> Absolute Condition<br>
[outside_call]<br>
Dialplan: sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> Action set(outside_call=true)<br>
Dialplan: sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> parsing [public-&gt;call_debug]<br>
continue=true<br>
Dialplan: sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> Regex (FAIL) [call_debug]<br>
${call_debug}(false) =~ /^true$/ break=never<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:114<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State Change CS_ROUTING -&gt; CS_EXECUTE<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_session.c:933 Send signal<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> [BREAK]<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:483<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State ROUTING going to sleep<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:397<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) Running State Change CS_EXECUTE<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:490<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State EXECUTE<br>
2009-10-14 22:26:00.63551 [DEBUG] mod_sofia.c:173<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> SOFIA EXECUTE<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:151<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> Standard EXECUTE<br>
EXECUTE sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> set(outside_call=true)<br>
2009-10-14 22:26:00.63551 [DEBUG] mod_dptools.c:748<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> SET [outside_call]=[true]<br>
2009-10-14 22:26:00.63551 [NOTICE] switch_core_state_machine.c:179<br>
Hangup sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_channel.c:1683 Send signal<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> [KILL]<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_session.c:933 Send signal<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> [BREAK]<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:490<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State EXECUTE going to sleep<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:397<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) Running State Change CS_HANGUP<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:433<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State HANGUP<br>
2009-10-14 22:26:00.63551 [DEBUG] mod_sofia.c:338 Channel<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> hanging up, cause: NORMAL_CLEARING<br>
2009-10-14 22:26:00.63551 [DEBUG] mod_sofia.c:414 Responding to INVITE<br>
with: 480<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:46<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> Standard HANGUP, cause: NORMAL_CLEARING<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:433<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State HANGUP going to sleep<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:475<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State Change CS_HANGUP -&gt; CS_REPORTING<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_session.c:933 Send signal<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> [BREAK]<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:397<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) Running State Change CS_REPORTING<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:607<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State REPORTING<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:53<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> Standard REPORTING, cause: NORMAL_CLEARING<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:607<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State REPORTING going to sleep<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:410<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State Change CS_REPORTING -&gt; CS_DESTROY<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_session.c:1067 Session 2<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) Locked, Waiting on external entities<br>
2009-10-14 22:26:00.63551 [NOTICE] switch_core_session.c:1085 Session 2<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) Ended<br>
2009-10-14 22:26:00.63551 [NOTICE] switch_core_session.c:1087 Close<br>
Channel sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> [CS_DESTROY]<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:559<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State DESTROY<br>
2009-10-14 22:26:00.63551 [DEBUG] mod_sofia.c:255<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> SOFIA DESTROY<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:60<br>
sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a> Standard DESTROY<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:559<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State DESTROY going to sleep<br>
2009-10-14 22:26:00.63551 [DEBUG] switch_core_state_machine.c:559<br>
(sofia/internal/<a href="mailto:1001@192.168.2.210">1001@192.168.2.210</a>) State DESTROY going to sleep<br>
<br>
I am at a loss, any help would be welcome.<br>
<br>
Orien Love<br>
<br>
<br>
<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>
</blockquote></div><br>