[Freeswitch-users] Inbound using FS
Brian West
brian at freeswitch.org
Tue Jun 2 09:15:52 PDT 2009
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090602/98113acd/attachment-0002.html
More information about the FreeSWITCH-users
mailing list