[asterisk-users] Explain when DIALSTATUS is set to CANCEL

Olivier oza-4h07 at myamail.com
Tue Apr 28 08:04:54 CDT 2009


Hi,

In 1.6.1, DIALSTATUS can be set to CANCEL, if caller cancels a call, I
suppose.
Then, how can you, for instance, send a UserEvent whenever caller cancels a
call before callee answers ?

In dialplan bellow, hangupcontext is entered if callee answers, not if
callers cancels before callee answers.

context normal {
1234 => {
                Dial(SIP/1234,,F(hangupcontext^1234);
};
}

context hangupcontext {
1234 => {
                NoOp(here);
};
}


Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090428/a7f3ef9d/attachment.htm 


More information about the asterisk-users mailing list