[Freeswitch-users] ESL Command Not Found

Antonio Teixeira eagle.antonio at gmail.com
Mon May 16 12:08:55 MSD 2011


Here It Goes a Simple Example
http://pastebin.freeswitch.org/16300

Play & Get Digits Is unable to get var "bacalhau" on the B Leg.
The exact same code works on the A Leg of the Call , it appears that on the
B leg maybe socket full is ignore by parser.

I Will test if i transfer the call into a FS xml context , and then into a
socket conn .
Let's see if this will make the channel commands work properly.

2011/5/13 curriegrad2004 <curriegrad2004 at gmail.com>

> Ah yes, the dreaded cup of coffee is needed...
>
> On Fri, May 13, 2011 at 10:04 AM, Michael Collins <msc at freeswitch.org>
> wrote:
> > haha
> > uuid_getvar <uuid> <var_name>
> > -MC
> >
> > On Fri, May 13, 2011 at 10:01 AM, Antonio Teixeira <
> eagle.antonio at gmail.com>
> > wrote:
> >>
> >> Hello
> >>
> >> I'm using ESL to Fork a call inside another , this is the commom example
> >> of User (A) pressing 1 and calling another party (B).
> >>
> >> I'm forking the call by opening an inbound socket and issuing the
> command
> >>
> >>
> >>
> api('originate',"{step=1,origination_caller_id_number=XXXX,fail_on_single_reject=true,ignore_early_media=true,originate_timeout=90,parked_call_uuid=%s}sofia/external/%s at 2XXXXXXX
> >> &socket(192.168.0.12:8040 sync full)
> >>
> >>
> >> All works great ( i get the call) and as you can see the call to B is
> >> redirected to the IVR Server
> >>
> >> The problem is if i do on the channel B ( By esl)
> >> uuid_getvar step XXXXXXXXXXXXXXXXXXXXXXXXXX
> >>
> >> I get
> >> Event-Name: SOCKET_DATA
> >> Content-Type: command/reply
> >> Reply-Text: -ERR%20command%20not%20found
> >>
> >> Has anyone faced this ??
> >> BTW using the python ESL:
> >>
> >> Best Regards
> >> Antonio Teixeira
> >>
> >>
> >> _______________________________________________
> >> 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
> >>
> >
> >
> > _______________________________________________
> > 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
> >
> >
>
> _______________________________________________
> 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/20110516/7687160c/attachment.html 


More information about the FreeSWITCH-users mailing list