I have a macro that runs off a dial() and gives the callee a bunch of options... one of them is to disconnect the caller. I read that setting MACRO_RESULT=ABORT would hang up both "legs" of the call. When i set MACRO_RESULT=ABORT and return to the context it ends up sending the caller to voicemail (the next line in the dialplan/context is voicemail() ). I need it to hangup the call... where am i going wrong? -- ~Shaun
Nobody knows the answer to this!?!?!? -- ~Shaun>I have a macro that runs off a dial() and gives the callee a bunch of >options... one of them is to disconnect the caller. I read that setting >MACRO_RESULT=ABORT would hang up both "legs" of the call. When i set >MACRO_RESULT=ABORT and return to the context it ends up sending the caller >to voicemail (the next line in the dialplan/context is voicemail() ). I >need it to hangup the call... where am i going wrong? > > > -- > > ~Shaun > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
turns out the g option for the macro when using dial doesnt allow both ends to be hung up with setting MACRO_RESULT=ABORT.. My workaround was a bit ghetto, setup a context called hangup-caller and Set(MACRO_RESULT=GOTO:hangup-caller^s^1) jsut fyi.. -- ~Shaun "Shaun" <mailinglists@unix-scripts.com> wrote in message news:e1a5jk$omq$1@sea.gmane.org...>I have a macro that runs off a dial() and gives the callee a bunch of >options... one of them is to disconnect the caller. I read that setting >MACRO_RESULT=ABORT would hang up both "legs" of the call. When i set >MACRO_RESULT=ABORT and return to the context it ends up sending the caller >to voicemail (the next line in the dialplan/context is voicemail() ). I >need it to hangup the call... where am i going wrong? > > > -- > > ~Shaun > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >