[asterisk-users] Local channel usage

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Tue Jun 22 12:03:46 CDT 2010


Hi!

> Can anyone think of a way to play IVR after conversation initiated by
> Dial() terminates?

You will most probably have to prevent the hangup to happen in the first 
place: 

You could, for example, join the two callers by the help of a dynamic 
MeetMe room, and then take action when the other parties leaves, i.e. 
kick the remaining user out of the room and continue in the dialplan.

Here's an example for "Voicemail live" that uses such a technique:
http://www.voip-info.org/wiki/view/Asterisk+tips+voicemail+live

Another way *might* be to involve a local channel for the calling party 
with the /n option to prevent it from optimizing themselves away: For 
example: The caller's SIP channel hangs up, but the local channel that it 
is connected with then continues in the dialplan? Not sure if there is a 
way to make this work - could be that you need to twist things badly so 
that also the caller is in fact a callee to the local channel...

Finally: Put a SIP proxy in between that catches the hangup and then 
takes action like a redirect (transfer).

Philipp




More information about the asterisk-users mailing list