Thanks Tony,<br><br>First of all, thanks for answer.<br><br>The possible solution to solve the problem with auto hangup is to use 'h' extension, which can execute some commands after hanging up, here we call MeetMeAdmin(confno,K) from either caller or callee, what will hang up call when caller drops the call or callee.<br>
Actually not the best solution.<br><br>Something like that:<br><i><br>[Prompt]<br>exten => s,1,Goto(40)<br>exten => s,2,Playback(hello1)<br>exten => s,n,MeetMe(confno|qx)<br>exten => s,n,Hangup()<br><br>exten => s,40,Playback(hello2)<br>
exten => s,n,MeetMe(confno|qx)<br>exten => s,n,Hangup()<br><br>exten => h,1,MeetMeAdmin(confno,K)<br><br>[Main]<br>.....Dial(...G(Prompt^s^1)</i><br><br><div class="gmail_quote">On Thu, Jun 19, 2008 at 6:26 PM, Tony Mountifield <<a href="mailto:tony@softins.clara.co.uk">tony@softins.clara.co.uk</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">In article <<a href="mailto:8c3b04020806190812kf32dca3ua5a5bfd345d537a4@mail.gmail.com">8c3b04020806190812kf32dca3ua5a5bfd345d537a4@mail.gmail.com</a>>,<br>
<div class="Ih2E3d">Alexander Olekhnovich <<a href="mailto:a.olekhnovich@gmail.com">a.olekhnovich@gmail.com</a>> wrote:<br>
><br>
</div><div class="Ih2E3d">> I'm trying to make the next scenario in Asterisk DialPlan: Alice calls Bob,<br>
> Asterisk executes Dial application with G(context^exten^pri), after that Bob<br>
> answers the call, Asterisk transfers Alice to pri, Bob to pri+1. It should<br>
> be possible for example that in that context Asterisk executes different<br>
> scenarios for Bob and Alice and then connects Alice to Bob to let them<br>
> communicate. The problem is that I can not connect both sides for<br>
> conversation, Asterisk just hangs up after executes the scenarios.<br>
><br>
> *[AnswerPrompt]<br>
> exten => s,1,Goto(10)<br>
> exten => s,2,Playback(Announce1)<br>
> exten => s,10,Playback(Announce2)<br>
><br>
> [call-number]<br>
> exten => _X.,1,Dial(SIP/${EXTEN}|G(AnswerPrompt^s^1))<br>
> exten => _X.,n,Hangup()<br>
><br>
> *<br>
> Is there any solutions? Any help will be appropriate.<br>
<br>
</div>In most versions of Asterisk, the best you can do is to put both calls<br>
into a Meetme room with a unique room number. The drawback with that is<br>
that when one of the parties hangs up, it doesn't automatically hang up<br>
the other party.<br>
<br>
There have been one or two enhancements proposed in the past to allow<br>
one channel to grab another and bridge to it, but I don't think such an<br>
application has made it into official versions yet (1.4 or trunk).<br>
<div class="Ih2E3d"><br>
Cheers<br>
Tony<br>
--<br>
Tony Mountifield<br>
Work: <a href="mailto:tony@softins.co.uk">tony@softins.co.uk</a> - <a href="http://www.softins.co.uk" target="_blank">http://www.softins.co.uk</a><br>
Play: <a href="mailto:tony@mountifield.org">tony@mountifield.org</a> - <a href="http://tony.mountifield.org" target="_blank">http://tony.mountifield.org</a><br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
</div>AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<div><div></div><div class="Wj3C7c"><br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>Alexander Olekhnovich