[Asterisk-Users] Run Script when originator hangs up the phone

Wilson Pickett spamsucks2005 at gmail.com
Wed May 18 22:39:59 MST 2005


> I have use the g option in the dial application to continue running
> applications in the dial plan,  but that only works if the person who is
> called hangs up first..

You might want to explore the h priority:

exten => h,1,NoOp(They hung on me! Me!)
exten => h,2,Revenge(${CALLERIDNUM},muhahaha)

You'll have to  write the Revenge app module yourself of search the
wiki for one.



More information about the asterisk-users mailing list