Hello, I have installed FS, and tested outbound successfully. Now I am just trying to do the inbound testing. I got the Inbound DID. Please suggest me what changes should I make and where? Thanks, Rex -- View this message in context: http://n2.nabble.com/Inbound-using-FS-tp3012286p3012286.html Sent from the freeswitch-users mailing list archive at Nabble.com.
Have you setup an inbound gateway similar to this? http://wiki.freeswitch.org/wiki/Tested_Phone_Providers_Listing You also need to setup your dialplans for the inbound.... this page among others has more info: http://wiki.freeswitch.org/wiki/Quick_Start Finally, your FIREWALL can be the most critical to get right. In fact, you might want to start with this or revisit even if you think it is setup right. I was grasping around in the dark until I started using TCPDUMP to monitor what was happening with my connections. In the end, I realized that I needed to open certain ports on the SENDING side -- so, for example, calls coming FROM port 5060 to *any* port on my side I actually forward to port 5080 on my freeswitch server. At least I think that's what I ended up doing, but there are several different rules I setup as well. On Tue, Jun 2, 2009 at 7:14 AM, Rex_Alex <rex.alex345@yahoo.com> wrote:
Hello, I have installed FS, and tested outbound successfully. Now I am just trying to do the inbound testing. I got the Inbound DID. Please suggest me what changes should I make and where? Thanks, Rex ------------------------------ View this message in context: Inbound using FS<http://n2.nabble.com/Inbound-using-FS-tp3012286p3012286.html> Sent from the freeswitch-users mailing list archive<http://n2.nabble.com/freeswitch-users-f2379917.html>at Nabble.com.
_______________________________________________ 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
-- ) ) ) ) ) ) ) ) ) UNWIRE.IT ( ( ( ( ( ( ( ( ( broadband internet for west hollywood d@unwire.it http://unwire.it
UPDATE: I just looked at my firewall rules and looks like I scrapped all the logic I was attempting and now I just port forward ANYTHING coming from the IP of my provider gateway to my freeswitch box. Seems to be working fine. On Tue, Jun 2, 2009 at 7:35 AM, Darin Weeks <d@unwire.it> wrote:
Have you setup an inbound gateway similar to this? http://wiki.freeswitch.org/wiki/Tested_Phone_Providers_Listing
You also need to setup your dialplans for the inbound.... this page among others has more info: http://wiki.freeswitch.org/wiki/Quick_Start
Finally, your FIREWALL can be the most critical to get right. In fact, you might want to start with this or revisit even if you think it is setup right. I was grasping around in the dark until I started using TCPDUMP to monitor what was happening with my connections. In the end, I realized that I needed to open certain ports on the SENDING side -- so, for example, calls coming FROM port 5060 to *any* port on my side I actually forward to port 5080 on my freeswitch server. At least I think that's what I ended up doing, but there are several different rules I setup as well.
On Tue, Jun 2, 2009 at 7:14 AM, Rex_Alex <rex.alex345@yahoo.com> wrote:
Hello, I have installed FS, and tested outbound successfully. Now I am just trying to do the inbound testing. I got the Inbound DID. Please suggest me what changes should I make and where? Thanks, Rex ------------------------------ View this message in context: Inbound using FS<http://n2.nabble.com/Inbound-using-FS-tp3012286p3012286.html> Sent from the freeswitch-users mailing list archive<http://n2.nabble.com/freeswitch-users-f2379917.html>at Nabble.com.
_______________________________________________ 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
--
) ) ) ) ) ) ) ) ) UNWIRE.IT ( ( ( ( ( ( ( ( ( broadband internet for west hollywood d@unwire.it http://unwire.it
-- ) ) ) ) ) ) ) ) ) UNWIRE.IT ( ( ( ( ( ( ( ( ( broadband internet for west hollywood d@unwire.it http://unwire.it
I would route the DID to the host and port 5080 if you are using the default config, and make an extension in dialplan/public.xml to catch the DID. Press F8 to see the debug information if not sure what DID string should be matched. On Jun 2, 2009, at 10:14 PM, Rex_Alex wrote:
Hello, I have installed FS, and tested outbound successfully. Now I am just trying to do the inbound testing. I got the Inbound DID. Please suggest me what changes should I make and where? Thanks, Rex View this message in context: Inbound using FS Sent from the freeswitch-users mailing list archive at Nabble.com. _______________________________________________ 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
Hello, My public.xml configration is: <extension name="inboundsip"> <condition field="destination_number" expression="^123456$"> <!--where 123456 is my DID number from my service provider --> <action application="transfer" data="$1 XML default"/> </condition> </extension> My default.xml configration is: <extension name="Inbound"> <condition field="destination_number" expression="^*****$"> <action application="ring_ready" /> <action application="set" data="call_timeout=20"/> <action application="bridge" data="sofia/sip/1001%freeswitchip"/> </condition> </extension> When I am trying to call 123456 from my mobile no. Not able to see any logging in FS console. Please assist where I am going wrong? Or do I require any extra modules to be installed? Thanks, Rex dujinfang wrote:
I would route the DID to the host and port 5080 if you are using the default config, and make an extension in dialplan/public.xml to catch the DID. Press F8 to see the debug information if not sure what DID string should be matched.
On Jun 2, 2009, at 10:14 PM, Rex_Alex wrote:
Hello, I have installed FS, and tested outbound successfully. Now I am just trying to do the inbound testing. I got the Inbound DID. Please suggest me what changes should I make and where? Thanks, Rex View this message in context: Inbound using FS Sent from the freeswitch-users mailing list archive at Nabble.com. _______________________________________________ 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
-- View this message in context: http://n2.nabble.com/Inbound-using-FS-tp3012286p3012928.html Sent from the freeswitch-users mailing list archive at Nabble.com.
On Jun 2, 2009, at 11:11 AM, Rex_Alex wrote:
Hello,
My public.xml configration is:
<extension name="inboundsip"> <condition field="destination_number" expression="^123456$"> <!-- where 123456 is my DID number from my service provider --> <action application="transfer" data="$1 XML default"/> </condition> </extension>
$1 will not exist in this case because your regular expression doesn't capture anything. So replace $1 with your target number or use ^(123456)$
My default.xml configration is:
<extension name="Inbound"> <condition field="destination_number" expression="^*****$"> <action application="ring_ready" /> <action application="set" data="call_timeout=20"/> <action application="bridge" data="sofia/sip/1001%freeswitchip"/> </condition> </extension>
Can you elaborate how you're registering with your provider?
When I am trying to call 123456 from my mobile no. Not able to see any logging in FS console. Please assist where I am going wrong? Or do I require any extra modules to be installed?
Thanks, Rex
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
Hi Brian, I am using audiocode box with IP 2.2.2.2 and FS with IP 1.1.1.1 Addions made are, acl.conf.xml <list name="Inbound_Test" default="allow"> <node type="allow" cidr="2.2.2.2/32"/> </list> freeswitch.xml <X-PRE-PROCESS cmd="set" data="internal_auth_calls=true"/> sip_profiles/external.xml under <settings> tag public.xml <extension name="Inbound"> <condition field="destination_number" expression="^(123456)$"> <action application="transfer" data="$1 XML default"/> </condition> </extension> default.xml <extension name="Inbound"> <condition field="destination_number" expression="^123456$"> <action application="ring_ready" /> <action application="set" data="call_timeout=20"/> <action application="bridge" data="sofia/internal/1007%1.1.1.1"/> </condition> </extension> Still, Inbound is not hitting my FS console itself. Please assist where am I going wrong? Thanks, Rex Brian West wrote:
On Jun 2, 2009, at 11:11 AM, Rex_Alex wrote:
Hello,
My public.xml configration is:
<extension name="inboundsip"> <condition field="destination_number" expression="^123456$"> <!-- where 123456 is my DID number from my service provider --> <action application="transfer" data="$1 XML default"/> </condition> </extension>
$1 will not exist in this case because your regular expression doesn't capture anything. So replace $1 with your target number or use ^(123456)$
My default.xml configration is:
<extension name="Inbound"> <condition field="destination_number" expression="^*****$"> <action application="ring_ready" /> <action application="set" data="call_timeout=20"/> <action application="bridge" data="sofia/sip/1001%freeswitchip"/> </condition> </extension>
Can you elaborate how you're registering with your provider?
When I am trying to call 123456 from my mobile no. Not able to see any logging in FS console. Please assist where I am going wrong? Or do I require any extra modules to be installed?
Thanks, Rex
Brian West brian@freeswitch.org
-- Meet us at ClueCon! http://www.cluecon.com
_______________________________________________ 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
-- View this message in context: http://n2.nabble.com/Inbound-using-FS-tp3012286p3043665.html Sent from the freeswitch-users mailing list archive at Nabble.com.
Hi Brian, Missed.... sip_profiles/external.xml under <settings> tag Thanks, Rex Rex_Alex wrote:
Hi Brian,
I am using audiocode box with IP 2.2.2.2 and FS with IP 1.1.1.1
Addions made are,
acl.conf.xml
<list name="Inbound_Test" default="allow"> <node type="allow" cidr="2.2.2.2/32"/> </list>
freeswitch.xml
<X-PRE-PROCESS cmd="set" data="internal_auth_calls=true"/>
sip_profiles/external.xml
under <settings> tag
public.xml
<extension name="Inbound"> <condition field="destination_number" expression="^(123456)$"> <action application="transfer" data="$1 XML default"/> </condition> </extension>
default.xml
<extension name="Inbound"> <condition field="destination_number" expression="^123456$"> <action application="ring_ready" /> <action application="set" data="call_timeout=20"/> <action application="bridge" data="sofia/internal/1007%1.1.1.1"/> </condition> </extension>
Still, Inbound is not hitting my FS console itself. Please assist where am I going wrong?
Thanks, Rex
Brian West wrote:
On Jun 2, 2009, at 11:11 AM, Rex_Alex wrote:
Hello,
My public.xml configration is:
<extension name="inboundsip"> <condition field="destination_number" expression="^123456$"> <!-- where 123456 is my DID number from my service provider --> <action application="transfer" data="$1 XML default"/> </condition> </extension>
$1 will not exist in this case because your regular expression doesn't capture anything. So replace $1 with your target number or use ^(123456)$
My default.xml configration is:
<extension name="Inbound"> <condition field="destination_number" expression="^*****$"> <action application="ring_ready" /> <action application="set" data="call_timeout=20"/> <action application="bridge" data="sofia/sip/1001%freeswitchip"/> </condition> </extension>
Can you elaborate how you're registering with your provider?
When I am trying to call 123456 from my mobile no. Not able to see any logging in FS console. Please assist where I am going wrong? Or do I require any extra modules to be installed?
Thanks, Rex
Brian West brian@freeswitch.org
-- Meet us at ClueCon! http://www.cluecon.com
_______________________________________________ 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
-- View this message in context: http://n2.nabble.com/Inbound-using-FS-tp3012286p3043700.html Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (4)
-
Brian West
-
Darin Weeks
-
dujinfang
-
Rex_Alex