[Freeswitch-users] about conference play and bgapi
松本祐志
matsumoto at itsherpa.com
Tue Nov 4 18:51:54 MSK 2014
Dear Stanislav Sinyagin
Thank you for your help.
音声をバックグラウンドで再生する方法について教えて下さい。
言語はPerlです。
二人のひとが、同じ会議室で話している時、一方のみにwavファイルを再生したいと思っています。
次のように書いていますが、再生されません。
my $ api_cmd = sprintf ("conference % s play % s % s", $ e-> getHeader
("Conference-Name"), /etc/a.wav, $ e-> getHeader ("Caller-Username")) ;
また、$ con-> bgapi ($ api_cmd); としても再生されません。
fs_cli で 「conference ************* play」 とすると話中の二人に再生されることは確認しました。
何が原因か教えてください。
よろしくお願いします。
On Tue, Nov 4, 2014 at 9:28 PM, Stanislav Sinyagin <ssinyagin at gmail.com>
wrote:
> Dear Matsumoto-san,
>
> I think it will be easier if you write in Japanese, then it will be clear
> how we could help. I know a few Japanese-speaking colleagues who may help
> in communicating.
>
>
>
>
> On Mon, Nov 3, 2014 at 12:11 PM, 松本祐志 <matsumoto at itsherpa.com> wrote:
>
>> Hello
>>
>> I have two issues.
>>
>> I am writing in Perl.
>>
>> While 2 people are talking in a conference room, the one person want to
>> play the sound.
>>
>> In "Caller-Username", can you get useless.
>> I have tried the above but, Member: it will not become a *** not found..
>>
>> my $ api_cmd = sprintf ("conference% s play% s% s", $ e-> getHeader
>> ("Conference-Name"), /etc/a.wav, $ e-> getHeader ("Caller-Username")) ;
>>
>>
>> I want to play the above in the background
>> It can not play in the next program.
>> my $ api_cmd = sprintf ("conference% s play% s% s", $ e-> getHeader
>> ("Conference-Name"), /etc/a.wav);
>>
>> $ con-> bgapi ($ api_cmd);
>>
>> Best regards
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141105/d208e5e3/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list