Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Inbound using FS

Goto page 1, 2  Next
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
dujinfang at gmail.com
Guest





PostPosted: Tue Jun 02, 2009 9:42 am    Post subject: [Freeswitch-users] Inbound using FS Reply with quote

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:
Quote:
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 (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
Back to top
d at unwire.it
Guest





PostPosted: Tue Jun 02, 2009 9:42 am    Post subject: [Freeswitch-users] Inbound using FS Reply with quote

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 (rex.alex345@yahoo.com)> wrote:
Quote:
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 (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 (d@unwire.it)        http://unwire.it
Back to top
d at unwire.it
Guest





PostPosted: Tue Jun 02, 2009 9:45 am    Post subject: [Freeswitch-users] Inbound using FS Reply with quote

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 (d@unwire.it)> wrote:
Quote:
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 (rex.alex345@yahoo.com)> wrote:


Quote:

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 (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 (d@unwire.it)        http://unwire.it




--

) ) ) ) ) ) ) ) ) UNWIRE.IT ( ( ( ( ( ( ( ( (
broadband internet for west hollywood
   d@unwire.it (d@unwire.it)        http://unwire.it
Back to top
rex.alex345 at yahoo.com
Guest





PostPosted: Tue Jun 02, 2009 11:28 am    Post subject: [Freeswitch-users] Inbound using FS Reply with quote

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:
Quote:

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:

Quote:
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.


_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Tue Jun 02, 2009 11:29 am    Post subject: [Freeswitch-users] Inbound using FS Reply with quote

On Jun 2, 2009, at 11:11 AM, Rex_Alex wrote:
Quote:

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)$



Quote:

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?



Quote:


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 (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
rex.alex345 at yahoo.com
Guest





PostPosted: Mon Jun 08, 2009 10:37 am    Post subject: [Freeswitch-users] Inbound using FS Reply with quote

Hi Brian,

Missed....

sip_profiles/external.xml under <settings> tag



Thanks,
Rex



Rex_Alex wrote:
Quote:

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:
Quote:


On Jun 2, 2009, at 11:11 AM, Rex_Alex wrote:

Quote:

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)$


Quote:

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?


Quote:


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.


_______________________________________________
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
Back to top
rex.alex345 at yahoo.com
Guest





PostPosted: Mon Jun 08, 2009 10:44 am    Post subject: [Freeswitch-users] Inbound using FS Reply with quote

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:
Quote:


On Jun 2, 2009, at 11:11 AM, Rex_Alex wrote:

Quote:

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)$


Quote:

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?


Quote:


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.


_______________________________________________
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
Back to top
peter.olsson at vision...
Guest





PostPosted: Mon Jun 08, 2009 10:46 am    Post subject: [Freeswitch-users] Inbound using FS Reply with quote

Have you configured the sip profile to use the acl list you have created (Inbound_Test)?

/Peter


----- Ursprungligt meddelande -----
Från: Rex_Alex <rex.alex345@yahoo.com>
Skickat: den 8 juni 2009 17:40
Till: freeswitch-users@lists.freeswitch.org <freeswitch-users@lists.freeswitch.org>
Ämne: Re: [Freeswitch-users] Inbound using FS


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:
Quote:


On Jun 2, 2009, at 11:11 AM, Rex_Alex wrote:

Quote:

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)$


Quote:

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?


Quote:


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.


_______________________________________________
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

!DSPAM:4a2d30e032931222027793!


_______________________________________________
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
Back to top
rex.alex345 at yahoo.com
Guest





PostPosted: Mon Jun 08, 2009 10:55 am    Post subject: [Freeswitch-users] Inbound using FS Reply with quote

Hello Peter,

Yes, I have added



under <settings> tag in sip_profiles/external.xml

Thanks,
Rex



Peter Olsson wrote:
Quote:

Have you configured the sip profile to use the acl list you have created
(Inbound_Test)?

/Peter


----- Ursprungligt meddelande -----
Från: Rex_Alex <rex.alex345@yahoo.com>
Skickat: den 8 juni 2009 17:40
Till: freeswitch-users@lists.freeswitch.org
<freeswitch-users@lists.freeswitch.org>
Ämne: Re: [Freeswitch-users] Inbound using FS


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:
Quote:


On Jun 2, 2009, at 11:11 AM, Rex_Alex wrote:

Quote:

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)$


Quote:

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?


Quote:


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.


_______________________________________________
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

!DSPAM:4a2d30e032931222027793!


_______________________________________________
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-tp3012286p3043804.html
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
Back to top
peter.olsson at vision...
Guest





PostPosted: Mon Jun 08, 2009 11:29 am    Post subject: [Freeswitch-users] Inbound using FS Reply with quote

I don't see what you've added. But I guess it's something like <param name="apply-inbound-acl" value="Inbound_Test"/>.

Are you sure you're dialing into the external profile? It's on port 5080 by default, and the internal is on 5060.

/Peter


On 09-06-08 17.53, "Rex_Alex" <rex.alex345@yahoo.com> wrote:



Hello Peter,

Yes, I have added



under <settings> tag in sip_profiles/external.xml

Thanks,
Rex



Peter Olsson wrote:
Quote:

Have you configured the sip profile to use the acl list you have created
(Inbound_Test)?

/Peter


----- Ursprungligt meddelande -----
Från: Rex_Alex <rex.alex345@yahoo.com>
Skickat: den 8 juni 2009 17:40
Till: freeswitch-users@lists.freeswitch.org
<freeswitch-users@lists.freeswitch.org>
Ämne: Re: [Freeswitch-users] Inbound using FS


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:
Quote:


On Jun 2, 2009, at 11:11 AM, Rex_Alex wrote:

Quote:

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)$


Quote:

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?


Quote:


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.


_______________________________________________
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-tp3012286p3043804.html
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

!DSPAM:4a2d354232931305258464!




_______________________________________________
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
Back to top
rex.alex345 at yahoo.com
Guest





PostPosted: Mon Jun 08, 2009 11:37 am    Post subject: [Freeswitch-users] Inbound using FS Reply with quote

Hello,

I am not sure about the profile which I am calling into.

My scenario is this, I am trying to reach extn 1007 registered in FS server
from my mobile through an inbound PRI connected to the audiocode with DID
123456.

Thanks,
Rex



Peter Olsson wrote:
Quote:

I don't see what you've added. But I guess it's something like .

Are you sure you're dialing into the external profile? It's on port 5080
by default, and the internal is on 5060.

/Peter


On 09-06-08 17.53, "Rex_Alex" <rex.alex345@yahoo.com> wrote:



Hello Peter,

Yes, I have added



under <settings> tag in sip_profiles/external.xml

Thanks,
Rex



Peter Olsson wrote:
Quote:

Have you configured the sip profile to use the acl list you have created
(Inbound_Test)?

/Peter


----- Ursprungligt meddelande -----
Från: Rex_Alex <rex.alex345@yahoo.com>
Skickat: den 8 juni 2009 17:40
Till: freeswitch-users@lists.freeswitch.org
<freeswitch-users@lists.freeswitch.org>
Ämne: Re: [Freeswitch-users] Inbound using FS


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:
Quote:


On Jun 2, 2009, at 11:11 AM, Rex_Alex wrote:

Quote:

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)$


Quote:

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?


Quote:


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.


_______________________________________________
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-tp3012286p3043804.html
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

!DSPAM:4a2d354232931305258464!




_______________________________________________
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-tp3012286p3044052.html
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
Back to top
peter.olsson at vision...
Guest





PostPosted: Mon Jun 08, 2009 11:52 am    Post subject: [Freeswitch-users] Inbound using FS Reply with quote

The PRI/SIP-box probably talks to the internal profile (I guess that they are on the same LAN). Try to add the inbound-acl to the internal profile as well. Also restart FS completely, just to be 100% sure that config is reloaded.

//Peter


On 09-06-08 18.34, "Rex_Alex" <rex.alex345@yahoo.com> wrote:



Hello,

I am not sure about the profile which I am calling into.

My scenario is this, I am trying to reach extn 1007 registered in FS server
from my mobile through an inbound PRI connected to the audiocode with DID
123456.

Thanks,
Rex



Peter Olsson wrote:
Quote:

I don't see what you've added. But I guess it's something like .

Are you sure you're dialing into the external profile? It's on port 5080
by default, and the internal is on 5060.

/Peter


On 09-06-08 17.53, "Rex_Alex" <rex.alex345@yahoo.com> wrote:



Hello Peter,

Yes, I have added



under <settings> tag in sip_profiles/external.xml

Thanks,
Rex



Peter Olsson wrote:
Quote:

Have you configured the sip profile to use the acl list you have created
(Inbound_Test)?

/Peter


----- Ursprungligt meddelande -----
Från: Rex_Alex <rex.alex345@yahoo.com>
Skickat: den 8 juni 2009 17:40
Till: freeswitch-users@lists.freeswitch.org
<freeswitch-users@lists.freeswitch.org>
Ämne: Re: [Freeswitch-users] Inbound using FS


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:
Quote:


On Jun 2, 2009, at 11:11 AM, Rex_Alex wrote:

Quote:

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)$


Quote:

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?


Quote:


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.


_______________________________________________
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-tp3012286p3043804.html
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-tp3012286p3044052.html
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

!DSPAM:4a2d3f8432938250412368!




_______________________________________________
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
Back to top
rex.alex345 at yahoo.com
Guest





PostPosted: Mon Jun 08, 2009 12:10 pm    Post subject: [Freeswitch-users] Inbound using FS Reply with quote

Hello,

Yes you are right. they are the on the same LAN. Inboun-acl added
in internal profile as well and restarted the FS completely. But no luck..
Please help us to resolve the same..

Thanks,
Rex


Peter Olsson wrote:
Quote:

The PRI/SIP-box probably talks to the internal profile (I guess that they
are on the same LAN). Try to add the inbound-acl to the internal profile
as well. Also restart FS completely, just to be 100% sure that config is
reloaded.

//Peter


On 09-06-08 18.34, "Rex_Alex" <rex.alex345@yahoo.com> wrote:



Hello,

I am not sure about the profile which I am calling into.

My scenario is this, I am trying to reach extn 1007 registered in FS
server
from my mobile through an inbound PRI connected to the audiocode with DID
123456.

Thanks,
Rex



Peter Olsson wrote:
Quote:

I don't see what you've added. But I guess it's something like .

Are you sure you're dialing into the external profile? It's on port 5080
by default, and the internal is on 5060.

/Peter


On 09-06-08 17.53, "Rex_Alex" <rex.alex345@yahoo.com> wrote:



Hello Peter,

Yes, I have added



under <settings> tag in sip_profiles/external.xml

Thanks,
Rex



Peter Olsson wrote:
Quote:

Have you configured the sip profile to use the acl list you have created
(Inbound_Test)?

/Peter


----- Ursprungligt meddelande -----
Från: Rex_Alex <rex.alex345@yahoo.com>
Skickat: den 8 juni 2009 17:40
Till: freeswitch-users@lists.freeswitch.org
<freeswitch-users@lists.freeswitch.org>
Ämne: Re: [Freeswitch-users] Inbound using FS


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:
Quote:


On Jun 2, 2009, at 11:11 AM, Rex_Alex wrote:

Quote:

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)$


Quote:

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?


Quote:


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.


_______________________________________________
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-tp3012286p3043804.html
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-tp3012286p3044052.html
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

!DSPAM:4a2d3f8432938250412368!




_______________________________________________
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-tp3012286p3044219.html
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
Back to top
peter.olsson at vision...
Guest





PostPosted: Mon Jun 08, 2009 12:26 pm    Post subject: [Freeswitch-users] Inbound using FS Reply with quote

Are you able to see anything at all in the console/log?

I'm starting to doubt that the call even gets into the FS box... Smile

Try enabling more logs (console loglevel debug), and try again.


On 09-06-08 19.04, "Rex_Alex" <rex.alex345@yahoo.com> wrote:





Hello,

Yes you are right. they are the on the same LAN. Inboun-acl added
in internal profile as well and restarted the FS completely. But no luck..
Please help us to resolve the same..

Thanks,
Rex


Peter Olsson wrote:
Quote:

The PRI/SIP-box probably talks to the internal profile (I guess that they
are on the same LAN). Try to add the inbound-acl to the internal profile
as well. Also restart FS completely, just to be 100% sure that config is
reloaded.

//Peter


On 09-06-08 18.34, "Rex_Alex" <rex.alex345@yahoo.com> wrote:



Hello,

I am not sure about the profile which I am calling into.

My scenario is this, I am trying to reach extn 1007 registered in FS
server
from my mobile through an inbound PRI connected to the audiocode with DID
123456.

Thanks,
Rex



Peter Olsson wrote:
Quote:

I don't see what you've added. But I guess it's something like .

Are you sure you're dialing into the external profile? It's on port 5080
by default, and the internal is on 5060.

/Peter


On 09-06-08 17.53, "Rex_Alex" <rex.alex345@yahoo.com> wrote:



Hello Peter,

Yes, I have added



under <settings> tag in sip_profiles/external.xml

Thanks,
Rex



Peter Olsson wrote:
Quote:

Have you configured the sip profile to use the acl list you have created
(Inbound_Test)?

/Peter


----- Ursprungligt meddelande -----
Från: Rex_Alex <rex.alex345@yahoo.com>
Skickat: den 8 juni 2009 17:40
Till: freeswitch-users@lists.freeswitch.org
<freeswitch-users@lists.freeswitch.org>
Ämne: Re: [Freeswitch-users] Inbound using FS


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:
Quote:


On Jun 2, 2009, at 11:11 AM, Rex_Alex wrote:

Quote:

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)$


Quote:

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?


Quote:


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.


_______________________________________________
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-tp3012286p3043804.html
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-tp3012286p3044052.html
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-tp3012286p3044219.html
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

!DSPAM:4a2d45dc32931463593608!




_______________________________________________
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
Back to top
saigop at gmail.com
Guest





PostPosted: Mon Jun 08, 2009 11:51 pm    Post subject: [Freeswitch-users] Inbound using FS Reply with quote

Hi Rex,

    You need to allow your acl in internal.xml like the one,


<param name="apply-inbound-acl" value="internal-network"/>


Change the internal-network according to your configuration you allowed in acl.conf.xml.


I have tested with audiocode with PRI line its working fine.

On Mon, Jun 8, 2009 at 10:52 PM, Peter Olsson <peter.olsson@visionutveckling.se (peter.olsson@visionutveckling.se)> wrote:
Quote:
Are you able to see anything at all in the console/log?

I'm starting to doubt that the call even gets into the FS box... Smile

Try enabling more logs (console loglevel debug), and try again.



On 09-06-08 19.04, "Rex_Alex" <rex.alex345@yahoo.com (rex.alex345@yahoo.com)> wrote:





Hello,

        Yes you are right. they are the on the same LAN. Inboun-acl added
in internal profile as well and restarted the FS completely. But no luck..
Please help us to resolve the same..

Thanks,
Rex


Peter Olsson wrote:
Quote:

The PRI/SIP-box probably talks to the internal profile (I guess that they
are on the same LAN). Try to add the inbound-acl to the internal profile
as well. Also restart FS completely, just to be 100% sure that config is
reloaded.

//Peter


On 09-06-08 18.34, "Rex_Alex" <rex.alex345@yahoo.com (rex.alex345@yahoo.com)> wrote:



Hello,

I am not sure about the profile which I am calling into.

My scenario is this, I am trying to reach extn 1007 registered in FS
server
from my mobile through an inbound PRI connected to the audiocode with DID
123456.

Thanks,
Rex



Peter Olsson wrote:
Quote:

I don't see what you've added. But I guess it's something like     .

Are you sure you're dialing into the external profile? It's on port 5080
by default, and the internal is on 5060.

/Peter


On 09-06-08 17.53, "Rex_Alex" <rex.alex345@yahoo.com (rex.alex345@yahoo.com)> wrote:



Hello Peter,

Yes, I have added



under <settings> tag in sip_profiles/external.xml

Thanks,
Rex



Peter Olsson wrote:
Quote:

Have you configured the sip profile to use the acl list you have created
(Inbound_Test)?

/Peter


----- Ursprungligt meddelande -----
Från: Rex_Alex <rex.alex345@yahoo.com (rex.alex345@yahoo.com)>
Skickat: den 8 juni 2009 17:40
Till: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
<freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Ämne: Re: [Freeswitch-users] Inbound using FS


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:
Quote:


On Jun 2, 2009, at 11:11 AM, Rex_Alex wrote:

Quote:

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)$


Quote:

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?


Quote:


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 (brian@freeswitch.org)

-- Meet us at ClueCon!  http://www.cluecon.com





_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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-tp3012286p3043804.html
Sent from the freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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-tp3012286p3044052.html
Sent from the freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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








Quote:
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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-tp3012286p3044219.html
Sent from the freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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


!DSPAM:4a2d45dc32931463593608!





_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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





--
Thank you  with regards,
Gopal,
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services