Hi
You register for myevents only.
So you will receive events only for LEG A.
Just try
events plain all
On Wed, Aug 11, 2010 at 8:00 AM, Ali Roumie <
aroumie@yahoo.com> wrote:
Hello All,
>This is my first post to this list and many thanks to all contributors to this
>state of art project. I'm using outbound socket and everything is going
>wonderful with me except one thing so far.
>My logic is simple, collect a PIN from Leg A and once the PIN is authorized, I
>bridge the call with a SIP provider. Everything is great, call got bridged
>successfully (and I was supper exited when it worked) but my problems is FS is
>not sending my socket an event when the Leg B is answered. I get an event only
>when Leg B is
hangup. I must mention, I set filters on the socket to avoid
lots
>of the many generated events by FS
>Here is my command list on the socket.
>
>connect
>myevents
>filter Event-Name CHANNEL_ANSWER
>filter Event-Name CHANNEL_CREATE
>filter Event-Name CHANNEL_EXECUTE_COMPLETE
>filter Event-Name CHANNEL_BRIDGE
>filter Event-Name CHANNEL_UNBRIDGE
>filter Event-Name CHANNEL_HANGUP
>sendmsg
>call-command: execute
>execute-app-name: answer
>sendmsg
>call-command: execute
>execute-app-name: sleep
>execute-app-arg:1000
>event-lock:true
>sendmsg
>call-command: execute
>execute-app-name: play_and_get_digits
>execute-app-arg:2 5 3 5000 # ivr/ivr-please_enter_pin_followed_by_pound.wav
>ivr/ivr-please_reenter_your_pin.wav chanDTMF ^\d{5}$
>event-lock:true
>sendmsg
>call-command:
execute
>execute-app-name: bridge
>execute-app-arg:[sip_auth_username=XXXX,sip_auth_password=*******]sofia/internal/
123456789@PROVIDER.COM>
>
>
>
>event-lock:true
>
>Many Thanks,
>Ali R.
>
>
>
>
>_______________________________________________
>FreeSWITCH-dev mailing list
>
FreeSWITCH-dev@lists.freeswitch.org>http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>http://www.freeswitch.org
>
_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-devUNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-devhttp://www.freeswitch.org