i don't understand how to do a conference outcall to an application, every time a try conference confname dial sofia/...../999999%192.168.9.999<br><br>i get Call Requested: result: [USER_NOT_REGISTERED]<br><br><br>
<div class="gmail_quote">On Mon, Nov 16, 2009 at 2:59 PM, Trixter aka Bret McDanel <span dir="ltr"><<a href="mailto:trixter@0xdecafbad.com">trixter@0xdecafbad.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;">
<div class="im">On Mon, 2009-11-16 at 12:08 -0500, vip killa wrote:<br>
> well, the actual time does not matter, i just need the command to<br>
> execute before the user hangs up. what im trying to do is maintain a<br>
> conference (i don't want it to end unless i choose to end it) but once<br>
> the last person leaves the conference, it automatically ends. so i<br>
> figure if i can do a pa call to the conference before that last user<br>
> hangs up, then the conference will continue.<br>
><br>
<br>
</div>well there are a couple ways to attack this, and none have anything to<br>
do with the user "hanging up". If I put my phone on hook you cant stop<br>
that, you cant prevent it, you cant delay it, my phone is on hook - only<br>
then is a signal sent to FS to tell it that my phone is on hook, or<br>
"hung up".<br>
<br>
What you are saying is that you want the conference to run after the<br>
last person has left it (which could be for reasons other than hanging<br>
up). The conference is an application and has little to do with the<br>
channel state.<br>
<br>
The instant way would be to have the conference do an outcall to some<br>
application that just holds the conference open. Then your api hangup<br>
hook call could check to see if the conference only has that user in it<br>
and if so do whatever you wanted it to do. This would require 0<br>
modification to any code in FS, but would allow you to achieve the task<br>
you have indicated.<br>
<br>
The other way would be to have a modification to the conference that<br>
would keep it running, this would not be as trivial as it might sound<br>
given which thread the conference runs in and all that.<br>
<div class="im">--<br>
Trixter <a href="http://www.0xdecafbad.com" target="_blank">http://www.0xdecafbad.com</a> Bret McDanel<br>
pgp key: <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8AE5C721" target="_blank">http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8AE5C721</a><br>
<br>
<br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>