Is it possible to have in the dialplan a logic where after executing dial(), one can monitor the incoming sip messages and add logic to the dialplan based on these messages. As a concrete example I would like to cancel the dialling once I get the 180 sip message (i.e. ringing) back from the peer. Is this even possible?
Thanks for your replies.