In article <CA+xMSg43sQ=ichydct27dvbjgwkmot3npab0fc2m_libsrh...@mail.gmail.com>, Karim Mardhani <[email protected]> wrote: > Hi everyone, > > I am trying to get Meetme to return back to the context from where it > joined the meetme. For example a user uses the following context to join a > conference, once user hangs up I would like to continue executing the rest > of the dialplan. But when caller hangs up from the conference I see on CLI > that meetme exited with non-zero status but none of the rest of the > dialplan is executed. Please help. I am using asterisk 1.6.2.20 > > [default] > exten => _XXXX,1,MeetMe(1000,1pdMX) > exten => _XXXX,n,noop(returned from meetme) ;After user hangs up should > come here > exten => _XXXX,n,SoftHangup(${ORIG_CALLER}) > exten => _XXXX,n,SoftHangup(${CONF_CALLER}) > exten => _XXXX,n,Hangup > exten => h,1,noop(default-end) > exten => h,n,SoftHangup(${ORIG_CALLER}) > exten => h,n,SoftHangup(${CONF_CALLER}) > exten => h,n,Hangup
That's not how Asterisk works. When the caller hangs up, execution of the current dialplan extension stops, and control passes to the 'h' extension, if one exists in the current context. Any processing you want to do when the caller hangs up must be done in the 'h' extension. Cheers Tony -- Tony Mountifield Work: [email protected] - http://www.softins.co.uk Play: [email protected] - http://tony.mountifield.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
