[Freeswitch-users] how does eval command works

piyush singhai singhai.piyush at gmail.com
Tue Mar 13 05:09:58 MSK 2012


Yes Correct it is also working for me
eval uuid:09aeb781-4d31-40c4-b2be-b1bb4ee63508 ${channel-state}

What my expectation with this command is

when i run this command with while true loop it should return for that
channel
CS_NEW--->CS_INIT--->CS_ROUTING--->CS_EXECUTE--->CS_HANGUP--->CS_REPORTING-->CS_DESTROY

But i see only  CS_EXECUTE.  After CS_EXECUTE  this command returns "no
reply" for that channel.

--Piyush

On Mon, Mar 12, 2012 at 10:11 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> eval basically does nothing allowing expansions via API variables and
> substitution to occur with no actual app or function directly
> executed.
>
>
> On Mon, Mar 12, 2012 at 8:47 AM, Peter Olsson
> <peter.olsson at visionutveckling.se> wrote:
> > I just tried using eval as described on the wiki, and it worked for me...
> > This is what I tried;
> >
> >
> >
> > eval uuid:09aeb781-4d31-40c4-b2be-b1bb4ee63508 ${channel-state}
> >
> >
> >
> > /Peter
> >
> >
> >
> > Från: freeswitch-users-bounces at lists.freeswitch.org
> > [mailto:freeswitch-users-bounces at lists.freeswitch.org] För piyush
> singhai
> > Skickat: den 12 mars 2012 11:13
> > Till: FreeSWITCH Users Help
> > Ämne: [Freeswitch-users] how does eval command works
> >
> >
> >
> > I want to know the channel state corresponding to chan_uuid. I tried eval
> > but it is not working can anybody tell me how it will work.
> >
> > I followed the wiki
> >
> > http://wiki.freeswitch.org/wiki/Mod_commands
> >
> > --Piyush
> > !DSPAM:4f5dcaf432769251570223!
> >
> >
> > _________________________________________________________________________
> > 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
> >
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _________________________________________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120313/fe8a2129/attachment.html 


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