[Freeswitch-users] Inbound using FS

Rex_Alex rex.alex345 at yahoo.com
Mon Jun 8 08:32:47 PDT 2009


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.





More information about the FreeSWITCH-users mailing list