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