Question ---------------------------------------------- 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?
Response: ---------------------------------------------- Since you moved the internal profile to the lan ip address you can go ahead and dump the lan profile. Question ---------------------------------------------- If I do a reloadxml it gives me this output on the console: freeswi...@firewall.fribert.dk> reloadxml 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) Error including /usr/local/freeswitch/conf/autoload_configs/../sip_profiles/lan/*.xml (No such file or directory) 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? Response: ---------------------------------------------- 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. Question ---------------------------------------------- Extension Name musimi.dk Enabled true Order 001 Description ... condition ^0(.\d+)$ action bridge sofia/gateway/musimi.dk/$1 Response: ---------------------------------------------- This is correct as long as you have a gateway that is registered called musimi.dk Question ---------------------------------------------- Extension Name 10.11.12.25 Enabled true Order 002 Description ... action bridge sofia/internal/$ Response: ---------------------------------------------- No idea what this is for its not needed as far as I can tell. Now please summarize what you still need help on. Mark J Crane http://fusionpbx.com pfSense FreeSWITCH package developer --- On Mon, 12/7/09, mailinglist <mailingl...@fribert.dk> wrote: From: mailinglist <mailingl...@fribert.dk> Subject: [Freeswitch-users] pfSense with Freeswitch - so far so good, but no calls going through To: freeswitch-users@lists.freeswitch.org Date: Monday, December 7, 2009, 1:50 PM Hi All Ok, so next episode in the saga of getting this monster of the ground :-) I've gotten the FS up and running pretty much I guess, but I'm missing something. It has been set up as per the 'multi-homed' document (http://wiki.freeswitch.org/wiki/Multi_home_tutorial). I want to use the webinterface in pfSense, as it is the easiest for me to manage, and gives me a better overview. If I do a reloadxml it gives me this output on the console: freeswi...@firewall.fribert.dk> reloadxml 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) Error including /usr/local/freeswitch/conf/autoload_configs/../sip_profiles/lan/*.xml (No such file or directory) 2009-12-07 21:21:40.719721 [INFO] mod_enum.c:808 ENUM Reloaded 2009-12-07 21:21:40.719721 [INFO] switch_time.c:661 Timezone reloaded 530 definitions API CALL [reloadxml()] output: +OK [Success] 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? Looking at the status I see: sofia status profile internal API CALL [sofia(status profile internal)] output: ================================================================================================= Name internal Domain Name N/A DBName sofia_reg_internal Pres Hosts Dialplan XML Context public Challenge Realm auto_from RTP-IP 10.11.12.25 Ext-RTP-IP 10.11.12.25 SIP-IP 10.11.12.25 Ext-SIP-IP 10.11.12.25 URL sip:mod_so...@10.11.12.25:5060 BIND-URL sip:mod_so...@10.11.12.25:5060 HOLD-MUSIC local_stream://moh OUTBOUND-PROXY N/A CODECS g7...@32000h,g7...@16000h,G722,PCMU,PCMA,GSM TEL-EVENT 101 DTMF-MODE rfc2833 CNG 13 SESSION-TO 0 MAX-DIALOG 0 NOMEDIA false LATE-NEG false PROXY-MEDIA false AGGRESSIVENAT false STUN-ENABLED true STUN-AUTO-DISABLE false CALLS-IN 10 FAILED-CALLS-IN 5 CALLS-OUT 0 FAILED-CALLS-OUT 0 Registrations: ================================================================================================= Call-ID: MThhODdkOWFkMGM4YTk5OWU1MTMzMjg5NmFjOGFhNWU. User: 1...@10.11.12.25 Contact: "1001" <sip:1...@10.11.12.145:59650;rinstance=7c2be2513804dcea;fs_nat=yes;fs_path=sip%3A1001%4010.11.12.145%3A59650%3Brinstance%3D7c2be2513804dcea> Agent: X-Lite release 1103k stamp 53621 Status: Registered(UDP-NAT)(unknown) EXP(2009-12-07 23:03:40) Host: firewall.fribert.dk IP: 10.11.12.145 Port: 59650 Auth-User: 1001 Auth-Realm: 10.11.12.25 Call-ID: OTc2NTJkMmU3MGQ0MDNkN2NiZDgzZDFjYzQ1MzYxMDY. User: 1...@10.11.12.25 Contact: "1002" <sip:1...@10.11.12.195:4117;rinstance=8c18309a2c957d6a;fs_nat=yes;fs_path=sip%3A1002%4010.11.12.195%3A4117%3Brinstance%3D8c18309a2c957d6a> Agent: 3CXVoipPhone 3.1.6288.0 Status: Registered(UDP-NAT)(unknown) EXP(2009-12-07 23:25:09) Host: firewall.fribert.dk IP: 10.11.12.195 Port: 4117 Auth-User: 1002 Auth-Realm: 10.11.12.25 ================================================================================================= And... sofia status profile external API CALL [sofia(status profile external)] output: ================================================================================================= Name external Domain Name N/A DBName sofia_reg_external Pres Hosts Dialplan XML Context public Challenge Realm auto_to RTP-IP 87.61.18.196 Ext-RTP-IP 87.61.18.196 SIP-IP 87.61.18.196 Ext-SIP-IP 87.61.18.196 URL sip:mod_so...@87.61.18.196:5080 BIND-URL sip:mod_so...@87.61.18.196:5080 HOLD-MUSIC local_stream://moh OUTBOUND-PROXY N/A CODECS PCMU,PCMA,GSM TEL-EVENT 101 DTMF-MODE rfc2833 CNG 13 SESSION-TO 0 MAX-DIALOG 0 NOMEDIA false LATE-NEG false PROXY-MEDIA false AGGRESSIVENAT false STUN-ENABLED true STUN-AUTO-DISABLE false CALLS-IN 0 FAILED-CALLS-IN 0 CALLS-OUT 2 FAILED-CALLS-OUT 2 Registrations: ================================================================================================= ================================================================================================= In my Dialplan I've created these two entries: ----- Extension Name musimi.dk Enabled true Order 001 Description ... condition ^0(.\d+)$ action bridge sofia/gateway/musimi.dk/$1 ----- and ----- Extension Name 10.11.12.25 Enabled true Order 002 Description ... action bridge sofia/internal/$1 I'm not sure if the latter is correct or needed to make local calls? But anyways, it doesn't seem to react as per my intentions. If I try and make a local call from 1001 to 1002 it says 2009-12-07 21:40:02.776210 [NOTICE] switch_channel.c:602 New Channel sofia/internal/1...@10.11.12.25 [b115e2b1-70e3-de11-af59-000c29b7b4cb] 2009-12-07 21:40:02.776210 [INFO] mod_dialplan_xml.c:252 Processing 1001->1002 in context default 2009-12-07 21:40:02.796449 [NOTICE] switch_channel.c:602 New Channel sofia/external/$1 [aa22e3b1-70e3-de11-af59-000c29b7b4cb] 2009-12-07 21:40:02.874492 [NOTICE] sofia.c:3770 Hangup sofia/external/$1 [CS_CONSUME_MEDIA] [NO_ROUTE_DESTINATION] 2009-12-07 21:40:02.894599 [INFO] mod_dptools.c:2091 Originate Failed. Cause: NO_ROUTE_DESTINATION 2009-12-07 21:40:02.894599 [NOTICE] mod_dptools.c:2123 Hangup sofia/internal/1...@10.11.12.25 [CS_EXECUTE] [NO_ROUTE_DESTINATION] 2009-12-07 21:40:02.894599 [NOTICE] switch_core_session.c:1085 Session 15 (sofia/external/$1) Ended 2009-12-07 21:40:02.894599 [NOTICE] switch_core_session.c:1087 Close Channel sofia/external/$1 [CS_DESTROY] 2009-12-07 21:40:02.894599 [NOTICE] switch_core_session.c:1085 Session 14 (sofia/internal/1...@10.11.12.25) Ended 2009-12-07 21:40:02.894599 [NOTICE] switch_core_session.c:1087 Close Channel sofia/internal/1...@10.11.12.25 [CS_DESTROY] As I read it it goes into context default, and then tries to create an external channel, which I don't understand why? And then it fails of course. Then if I try to do an external call (with the leading 0) it gives me: 2009-12-07 21:41:33.655915 [NOTICE] switch_channel.c:602 New Channel sofia/internal/1...@10.11.1.25 [25260ce8-70e3-de11-af59-000c29b7b4cb] 2009-12-07 21:41:33.655915 [INFO] mod_dialplan_xml.c:252 Processing 1001->012345678 in context dfault 2009-12-07 21:41:33.655915 [NOTICE] switch_channel.c:602 New Channel sofia/external/$1 [36e10ce870e3-de11-af59-000c29b7b4cb] 2009-12-07 21:41:33.755921 [NOTICE] sofia.c:3770 Hangup sofia/external/$1 [CS_CONSUME_MEDIA] [NOROUTE_DESTINATION] 2009-12-07 21:41:33.755921 [INFO] mod_dptools.c:2091 Originate Failed. Cause: NO_ROUTE_DESTINATON 2009-12-07 21:41:33.755921 [NOTICE] mod_dptools.c:2123 Hangup sofia/internal/1...@10.11.12.25 [C_EXECUTE] [NO_ROUTE_DESTINATION] 2009-12-07 21:41:33.755921 [NOTICE] switch_core_session.c:1085 Session 17 (sofia/external/$1) Ened 2009-12-07 21:41:33.755921 [NOTICE] switch_core_session.c:1087 Close Channel sofia/external/$1 [S_DESTROY] 2009-12-07 21:41:33.755921 [NOTICE] switch_core_session.c:1085 Session 16 (sofia/internal/1...@1.11.12.25) Ended 2009-12-07 21:41:33.755921 [NOTICE] switch_core_session.c:1087 Close Channel sofia/internal/100110.11.12.25 [CS_DESTROY] So for me, it looks like it never comes to the dialplan I've entered into the pfsense interface??? I've used the gateway value instead of the profile value in my bridge. So the question is, do I go and enter the 'default.xml' for the dialplan, or what do I do? What have I missed here??? -----Inline Attachment Follows----- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org