Asterisk 1.6
CentOS 5.0

All -

I'd like to offer my users the ability to hangup a call by pressing **.  I'm
using an attendant, so when ** is dialled I'd like processing to return to
the attendant so the user can place a subsequent call.  I have setup
features.conf to include:

   [featuremap]
   disconnect => **

My Dial command looks like this:

   Dial("SIP/14165551212@<MyProvider>,30,TgH,"")


This Dial command is buried in a context that is called using the Gosub
command.  When I press ** the Dial command exits and processing continues as
expected given the 'g' option, but when processing returns to the calling
context after the Return statement is reached, the call is terminated.  What
am I missing?

I noticed that the h extension gets called in the calling function, so I
tried trapping that to send processing back to the attendant but that didn't
work either (it's probably too late that that point anyway).  Any
suggestions?

Thanks,
Hugh
-- 
_____________________________________________________________________
-- 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

Reply via email to