<br>I don't think there is a very elegant way to do this and even if I find one i can live with it would be at least 2k worth of work to add it.<br><br>Why do you need the loopback channel at all? Can't you just originate the sofia channel directly instead of bridging it to loopback and adding 2 more channels per call?<br>
<br><br><br><div class="gmail_quote">On Thu, Jan 29, 2009 at 7:20 AM, Tamas Cseke <span dir="ltr"><<a href="mailto:cstomi.levlist@gmail.com">cstomi.levlist@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
<br>
I'm sorry for still bothering you with this issue.<br>
but thanks to somewhat missunderstanding/misleading by us, it shows up that our customers need this feature for the complicated<br>
predictive calls too.<br>
<br>
There is an idea, could you let me know if it is achiveable. and if it's how?<br>
So we record sofia channel, but the media pause/resume is happening on loopback channel.<br>
the idea is to have a switch_set_flag_recursive function, which set the flag not only to the current channel, but to all connected channels.<br>
we need to push CS_PAUSE_MEDIA flag to the sofia channel.<br>
<br>
Thanks in advance,<br>
Tamas<br>
<br>
Here is the callflow again:<br>
<div class="Ih2E3d">1, originate a loopback channel via event socket<br>
2, loopback-b channel is hunting the dialplan, wich decide routing,<br>
caller_id, the need for recordings and so forth, and bridge a sofia call<br>
3. the record_session is running on the sofia channel with<br>
bridge_pre_execute magic vars<br>
4 loopback-a channel is pushed into the fifo<br>
5 a script get the fifo::info via event socket<br>
6 originate a call to the consumer with the proper strategy with &fifo<br>
out application<br>
7 sofia channel is bridged to the consumer<br>
8 loopback channels die<br>
<br>
<br>
<br>
</div>Anthony Minessale írta:<br>
<div><div></div><div class="Wj3C7c">> yes some code was missing for some reason, try again<br>
><br>
><br>
> On Mon, Jan 26, 2009 at 10:11 AM, Tamas Cseke <<a href="mailto:cstomi.levlist@gmail.com">cstomi.levlist@gmail.com</a>>wrote:<br>
><br>
><br>
>> Hello,<br>
>><br>
>> I tested with the attached patch.<br>
>> It is working fine in a normal case.<br>
>><br>
>> I have only problems with the automatic calls, because in this case the<br>
>> loopback channel is in the fifo, but the record_session is running on the<br>
>> sofia channel.<br>
>> Maybe it could be sort out with putting the bug pause/resume functions into<br>
>> api function, what I should turn on and off on demand?<br>
>> Anyway, I quess this is a bit extreme circumstance, and it isn't so<br>
>> important to us now.<br>
>><br>
>> Thanks,<br>
>> Tamas<br>
>><br>
>> Tamas Cseke írta:<br>
>><br>
>> Hello,<br>
>><br>
>>> Thank you your help.<br>
>>><br>
>>> I tested with r11489, but moh is still recorded in fifo.<br>
>>><br>
>>> I quess you I should test the CF_PAUSE_BUGS in r11466. But I didn't find<br>
>>> where you check this flag.<br>
>>> Is it maybe possible you forget to commit something?<br>
>>><br>
>>> Thanks,<br>
>>> Tamas<br>
>>><br>
>>><br>
>>> I didn't find where you<br>
>>> Anthony Minessale írta:<br>
>>><br>
>>><br>
>>><br>
>>>> please test latest trunk.<br>
>>>> Patch added to pause media bugs while not in a bridge which should pause<br>
>>>> recordings and cut out the moh.<br>
>>>><br>
>>>><br>
>>>> On Fri, Jan 23, 2009 at 10:45 AM, Tamas Cseke <<a href="mailto:cstomi.levlist@gmail.com">cstomi.levlist@gmail.com</a><br>
>>>><br>
>>>>> wrote:<br>
>>>>><br>
>>>><br>
>>>><br>
>>>>> Hello,<br>
>>>>><br>
>>>>> we would like to distribute calls with fifo and record these sessions<br>
>>>>> but we'd like to skip the recording while the caller is waiting.<br>
>>>>> (we don't need to record the hold music, just the speech with the fifo<br>
>>>>> consumer.)<br>
>>>>><br>
>>>>> I tried<br>
>>>>> <action application="set" data="RECORD_ANSWER_REQ=true"/><br>
>>>>> <action application="record_session" data="${callfilename}"/><br>
>>>>> <action application="fifo" data="myfifo in"/><br>
>>>>><br>
>>>>> but it doesn't work because the channel is answered immediately when the<br>
>>>>> caller is pushed into the fifo.<br>
>>>>> (I don't know if there exists any other channel flag that could be use<br>
>>>>> here)<br>
>>>>><br>
>>>>> I also tried fifo_record_template.<br>
>>>>> but it records the session from the point of view of the consumer's<br>
>>>>> session, and after the bridge the recording is stopped.<br>
>>>>> we would like to record the whole session into a single file even after<br>
>>>>> calltransfers<br>
>>>>><br>
>>>>> moreover we'd like to use some kind of predcitive dialing<br>
>>>>> which<br>
>>>>> 1, originate a loopback channel via event socket<br>
>>>>> 2, loopback-b channel is hunting the dialplan, wich decide routing,<br>
>>>>> caller_id, the need for recordings and so forth, and bridge a sofia call<br>
>>>>> 3. the record_session is running on the sofia channel with<br>
>>>>> bridge_pre_execute magic vars<br>
>>>>> 4 loopback-a channel is pushed into the fifo<br>
>>>>> 5 a script get the fifo::info via event socket<br>
>>>>> 6 originate a call to the consumer with the proper strategy with &fifo<br>
>>>>> out application<br>
>>>>> 7 sofia channel is bridged to the consumer<br>
>>>>> 8 loopback channels die<br>
>>>>><br>
>>>>> after transfers everything is recorded into one file.<br>
>>>>> but the problem here is again the unwanted recording in the fifo while<br>
>>>>> the caller is waiting<br>
>>>>><br>
>>>>> Could you please advise me any solution, if there is?<br>
>>>>><br>
>>>>><br>
>>>>> Thank you,<br>
>>>>> Tamas<br>
>>>>><br>
>>>>><br>
>>>>> _______________________________________________<br>
>>>>> Freeswitch-users mailing list<br>
>>>>> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
>>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>>> UNSUBSCRIBE:<br>
>>>>> <a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>> ------------------------------------------------------------------------<br>
>>>><br>
>>>> _______________________________________________<br>
>>>> Freeswitch-users mailing list<br>
>>>> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>><br>
>>>><br>
>>>><br>
>>> _______________________________________________<br>
>>> Freeswitch-users mailing list<br>
>>> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>><br>
>>><br>
>>><br>
>>><br>
>> _______________________________________________<br>
>> Freeswitch-users mailing list<br>
>> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>><br>
>><br>
><br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
<div><div></div><div class="Wj3C7c">><br>
> _______________________________________________<br>
> Freeswitch-users mailing list<br>
> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>