[Freeswitch-users] Inbound using FS
Peter Olsson
peter.olsson at visionutveckling.se
Mon Jun 8 09:50:57 PDT 2009
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 at 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:
>
> 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 at yahoo.com> wrote:
>
>
>
> Hello Peter,
>
> Yes, I have added
>
>
>
> under <settings> tag in sip_profiles/external.xml
>
> Thanks,
> Rex
>
>
>
> Peter Olsson wrote:
>>
>> 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 at yahoo.com>
>> Skickat: den 8 juni 2009 17:40
>> Till: freeswitch-users at lists.freeswitch.org
>> <freeswitch-users at 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:
>>>
>>>
>>> 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 at freeswitch.org
>>>
>>> -- Meet us at ClueCon! http://www.cluecon.com
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Freeswitch-users mailing list
>>> Freeswitch-users at 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 at 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 at 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 at 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 at 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 at 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!
More information about the FreeSWITCH-users
mailing list