[Freeswitch-users] [mod_event_socket][pyswitch][B leg execute before A leg is answered]

Bilal Abbasi bilaln018 at gmail.com
Wed May 13 11:53:12 MSD 2015


Hi users,

Currently i am using pyswitch to connect to freeswitch mod_event_socket.
I am originating a call and mapping its B-Leg to an IVR.
So that is A-party picks up the call,he/she will listen some IVR.
issue is before actually answering the call on A-leg  IVR starts on B-leg.
My originate command:

self.eventsocket.apiOriginate("sofia/gateway/aptcl/"+NUM+"",application="bridge",appargs=
"[DTMF="+DTMF+"]loopback/9665/default/XML",  cidname="godson", cidnum="123"
,channelvars={"origination_uuid":uid,"DTMF":DTMF})

I am bridging the B-Leg with local extension 9665 where the IVR is mapped.
can some one help me to sort-out the issue.
Your help is highly appropriated.

Freeswitch version:
FreeSWITCH Version 1.4.18+git~20150312T185523Z~4eed221b69~64bit (git
4eed221 2015-03-12 18:55:23Z 64bit)



Regards
Bilal Abbasi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150513/6a7c6249/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list