[Freeswitch-users] variable not being replaced in dialplan

Juan Pablo L. jpablolorenzetti at hotmail.com
Fri Jun 22 21:12:35 MSD 2012


Alex, thanks for your suggestion, that worked like a charm, i still have
lots to learn, thanks very much!!!

----------------------------------------
> From: jpablolorenzetti at hotmail.com
> To: freeswitch-users at lists.freeswitch.org
> Subject: RE: [Freeswitch-users] variable not being replaced in dialplan
> Date: Fri, 22 Jun 2012 17:09:19 +0000
>
>
> Hi thanks, i also tried as in the default configurations:
>
> <extension name="gw_outbound_call">
>         <condition field="destination_number" expression="^[\d]{7}?$">
>                <action application="export" data="dialed_extension=$1"/>
>                 <action application="set" data="effective_caller_id_number=1000"/>
>                 <action application="bridge" data="sofia/gateway/gw/${dialed_extension}"/>
>         </condition>
>     </extension>
>
> but still it replaces the ${dialed_extension} by $1 ... i have not tried what you suggest, i will try it
> but still cant find a reason why the above does not work ... thanks!
>
> ----------------------------------------
> > Date: Fri, 22 Jun 2012 17:15:32 +0100
> > From: alex at thewinelake.com
> > To: freeswitch-users at lists.freeswitch.org
> > Subject: Re: [Freeswitch-users] variable not being replaced in dialplan
> >
> > Is there a reason you're not just doing
> >
> > <action application="bridge" data="sofia/gateway/gw/${destination_number}"/>
> >
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > 
> > 
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > Join Us At ClueCon - Aug 7-9, 2012
> >
> > 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
>
 		 	   		  


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list