Re: [Freeswitch-users] Can I stream a file to a parked call.

2009-08-31 Thread Phillip Jones
That makes perfect sense - I now send the call to a managed app instead of park and every thing works great. thanks. On Fri, Aug 28, 2009 at 5:12 PM, Anthony Minessale < anthony.miness...@gmail.com> wrote: > Taking over the session while it's parked like that from your code and > asking it to p

Re: [Freeswitch-users] Can I stream a file to a parked call.

2009-08-28 Thread Anthony Minessale
Taking over the session while it's parked like that from your code and asking it to play a file is making it do 2 things at once. The session's thread is already busy in the park loop so you would have to change it's state to something passive like soft_execute so it's thread was not doing anything

Re: [Freeswitch-users] Can I stream a file to a parked call.

2009-08-28 Thread Phillip Jones
The dialplan is is kicking off the C# script: * * I launch a thread and specify the uuid to originate: fsApi.Execute("originate", string.Format("{{ignore_early_media=true,absolute_codec_string='PCMU'}}[* origination_uuid={0}*,origination_caller_id_number={1}]sofia/gateway/broadvox/{2} &par

Re: [Freeswitch-users] Can I stream a file to a parked call.

2009-08-28 Thread Anthony Minessale
nevermind, I didn't look closely at your code. how did you end up with blegSession ? Are you running this script from the CLI or via the application interface. On Fri, Aug 28, 2009 at 3:33 PM, Anthony Minessale < anthony.miness...@gmail.com> wrote: > the L16 codec is used because the wav

Re: [Freeswitch-users] Can I stream a file to a parked call.

2009-08-28 Thread Anthony Minessale
the L16 codec is used because the wav files is raw PCM audio which is being encoded to PCMU Have you tried doing this to a locally registered phone? On Fri, Aug 28, 2009 at 3:13 PM, Phillip Jones wrote: > thanks for the reply. > > Tried this and exactly the same result. The prompt is slowed -

Re: [Freeswitch-users] Can I stream a file to a parked call.

2009-08-28 Thread Phillip Jones
thanks for the reply. Tried this and exactly the same result. The prompt is slowed - as if the person is drunk. I do notice that the originating call SDP shows: a=rtpmap:0 PCMU/8000 but the play tries to use: EXECUTE sofia/external/6093693828 playback(prompts/press-1-to-accept-call-from.wav) 2

Re: [Freeswitch-users] Can I stream a file to a parked call.

2009-08-27 Thread Anthony Minessale
try wedging {ignore_early_media=true} before the first [ in your dial string and eliminate the code waiting for answer. On Thu, Aug 27, 2009 at 3:09 PM, Phillip Jones wrote: > Hi there, > > I know there are other ways of doing this. I am just trying get to > know have fun with the FreeSWITCH AP

[Freeswitch-users] Can I stream a file to a parked call.

2009-08-27 Thread Phillip Jones
Hi there, I know there are other ways of doing this. I am just trying get to know have fun with the FreeSWITCH API. I am using originate and park a call: fsApi.Execute("originate", string.Format("[origination_uuid={0},origination_caller_id_number={1}]sofia/gateway/broadvox/{2} &park", blegSessio