[Freeswitch-users] setting variable

Miha Zoubek miha at softnet.si
Tue Feb 14 10:15:42 MSK 2012


Hi Michael,

first call is made from number 0038618100100 to number 018108500.

On phone who is having number 018108500 is set 302 redirect to number 
051357952.

For first part of call (0038618100100 -> 018108500) the radius cdr 
disable_radius_start&stop is set on true, after that, when 302 happens I 
need that the call should be charged (018108500->051357952 ), but 
variable disable_radius_stop&start which I set to false does not change.

Thanks!!!

miha

On 2/13/2012 6:27 PM, Michael Collins wrote:
> Miha,
>
> Which call in this trace should we be looking at? I see two different 
> ones.
> -MC
>
> On Mon, Feb 13, 2012 at 12:13 AM, Miha Zoubek <miha at softnet.si 
> <mailto:miha at softnet.si>> wrote:
>
>     Hi,
>
>     I need a little help. First I have set in my public dialplan one of
>     variables to false. But for few calls I must have it on true but I
>     must
>     set this variable on true after the variable as already set on
>     false ( I
>     get information for condition further in dialplan).
>
>     Problem is that when I set it on false I can not set it on true, as
>     variable do net set.
>
>     Paste bin.
>     variable:
>
>     disable_radius_stop=false
>
>
>     http://pastebin.freeswitch.org/18377
>
>
>     Thanks!!!
>
>     --
>     Best regards / Lep Pozdrav
>     Miha Zoubek
>     Softnet d.o.o.
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     
>     
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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
>
>
>
>
> _________________________________________________________________________
> 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
>
> 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


-- 
Best regards / Lep Pozdrav
Miha Zoubek
Softnet d.o.o.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120214/4d89ba1d/attachment.html 


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