dougblackstone at gmai... Guest
|
Posted: Fri Aug 29, 2008 3:16 am Post subject: [Freeswitch-users] Unable to execute Playback with event |
|
|
Hi,
I am trying to use event to trigger playback on a parked call and I am having difficulty getting it to work:
I am not sure what is wrong with this one. Freeswitch responses with ERR:
SendMsg ae67060e-75e5-11dd-9228-efa2040a932a
call-command: execute
execute-app-name: playback
execute-app-arg: /usr/local/freeswitch/sounds/music/8000/suite-espanola-op-47-leyenda.wav
lead-frames: 5
loops: 1
Content-Type: command/reply
Reply-Text: -ERR invalid session id [ae67060e-75e5-11dd-9228-efa2040a932a ]
If I just simply send in execute hangup, it is fine:
SendMsg ae67060e-75e5-11dd-9228-efa2040a932a
call-command: execute
execute-app-name: hangup
I am sure my UUID is right as I already checked with the following:
freeswitch@ser> show channels
API CALL [show(channels)] output:
uuid,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,write_codec,write_rate
ae67060e-75e5-11dd-9228-efa2040a932a,2008-08-30 00:15:22,1220026522,sofia/internal/1005@192.168.1.104 (1005@192.168.1.104),CS_EXECUTE,1005,1005,192.168.1.104,1,park,,XML,public,PCMU,8000,PCMU,8000
Content-Type: command/reply
Reply-Text: +OK
Any idea what is wrong?
Thanks,
Doug |
|