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@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
haha uuid_getvar <uuid> <var_name> -MC On Fri, May 13, 2011 at 10:01 AM, Antonio Teixeira <eagle.antonio@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Ah yes, the dreaded cup of coffee is needed... On Fri, May 13, 2011 at 10:04 AM, Michael Collins <msc@freeswitch.org> wrote:
haha uuid_getvar <uuid> <var_name> -MC
On Fri, May 13, 2011 at 10:01 AM, Antonio Teixeira <eagle.antonio@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Well oopsy , typo on the e-mail but the problem persists with ESL using python even when using FULL Control. A/T 2011/5/13 curriegrad2004 <curriegrad2004@gmail.com>
Ah yes, the dreaded cup of coffee is needed...
On Fri, May 13, 2011 at 10:04 AM, Michael Collins <msc@freeswitch.org> wrote:
haha uuid_getvar <uuid> <var_name> -MC
On Fri, May 13, 2011 at 10:01 AM, Antonio Teixeira < eagle.antonio@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@gmail.com>
Ah yes, the dreaded cup of coffee is needed...
On Fri, May 13, 2011 at 10:04 AM, Michael Collins <msc@freeswitch.org> wrote:
haha uuid_getvar <uuid> <var_name> -MC
On Fri, May 13, 2011 at 10:01 AM, Antonio Teixeira < eagle.antonio@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Ok I Have tried , if i transfer the call into a dialplan context and from that into a socket it works as expect if I do originate &socket ....) The channel will be unable to run some commands. Tell me if you need something else :D Regards A/T 2011/5/16 Antonio Teixeira <eagle.antonio@gmail.com>
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@gmail.com>
Ah yes, the dreaded cup of coffee is needed...
On Fri, May 13, 2011 at 10:04 AM, Michael Collins <msc@freeswitch.org> wrote:
haha uuid_getvar <uuid> <var_name> -MC
On Fri, May 13, 2011 at 10:01 AM, Antonio Teixeira < eagle.antonio@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Antonio Teixeira
-
curriegrad2004
-
Michael Collins