Re: [Freeswitch-users] Trying to confirm answer directly on Originate command

2009-07-05 Thread Gustavo Dartagnan Xavier
I'm trying to build a click to call app using the FreeSWITCH webapi.
Maybe I'm trying the wrong way, but, I couldn't understand why it's playing the 
confirmation audio only on the second leg, and not only on the first one.

Is this originate command correct?
http://10.141.1.137:8080/webapi/originate?{forked_dial=false,ignore_early_media=true,origination_caller_id_name=4140637770,origination_caller_id_number=4140637770,originate_timeout=30}[group_confirm_key=5,group_confirm_file=playback/usr/share/sounds/alsa/Noise.wav]sofia/gateway/cs2k/141130252...@10.140.131.208%20&bridge({ignore_early_media=false,origination_caller_id_name=4140637770,origination_caller_id_number=4140637770,call_timeout=60}sofia/gateway/cs2k/141140636...@10.140.131.208)

Is there an easy way to do it?


Thanks in advance,
Gustavo



  ___
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] Trying to confirm answer directly on Originate command

2009-07-03 Thread Gustavo Dartagnan Xavier
I'm trying to build a click to call app using the FreeSWITCH webapi.
Maybe I'm trying the wrong way, but, I couldn't understand why it's playing the 
confirmation wave only on the second leg, and not only on the first one.
Is this originate command correct?

http://myFreeSWITCH:8080/webapi/originate?{forked_dial=false,ignore_early_media=true,origination_caller_id_name=aleg,origination_caller_id_number=aleg,originate_timeout=30}[group_confirm_key=5,group_confirm_file=playback/path/to/press5.wav]sofia/gateway/agateway/us...@adomaind%20&bridge(sofia/gateway/bgateway/bu...@bdomain)

Is therea an easy way to do it?


Thanks in advance,
Gustavo


  ___
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