[Freeswitch-users] (no subject)

Michael Jerris mike at jerris.com
Mon Aug 25 19:26:44 MSD 2014


    <condition field="destination_number" expression="^(123)$">
      <action application="export" data="dialed_extension=$1"/>

This is saying to dial $1, which is the captured digits from the expression above, which is 123, not 100.

On Aug 22, 2014, at 1:19 PM, Denis Papes <shishko69 at gmail.com> wrote:

> Hi,
> 
> I installed clean Debian 7 and executed remote installation using RockSolidPBX.
> Installation failed to change DHCP assigned address to static, so I did it manually. After that, FreeSWITCH installation passed flawlessly.
> After successfully creating user with extension 100, I created dialplan that should ring extension 100 when dialing number 123, but XML file it produced had an error:
> 
> <include>
>   <extension name="123">
>     <condition field="destination_number" expression="^(123)$">
>       <action application="export" data="dialed_extension=$1"/>
> ..............
>       <action application="bridge" data="user/${dialed_extension}@${domain_name}"/>
>       <action application="answer"/>
>       <action application="sleep" data="1000"/>
>     </condition>
>   </extension>
> </include>
> 
> It does not ring extension 100, but 123.
> 
> Also, it would be great if it could create custom SIP gateways.
> 
> Denis



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list