Eric Smith - Fruitcom
2005-Jun-07 01:02 UTC
[Asterisk-Users] run a script on completion of call
How do I run an external script on completing a call? Like if I want to send email to the caller. Thansk Eric
Chris Coulthurst
2005-Jun-07 05:40 UTC
[Asterisk-Users] run a script on completion of call
http://www.voip-info.org/wiki-Asterisk+h+extension This might help Chris Coulthurst chris@shuksan.com |-----Original Message----- |From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- |bounces@lists.digium.com] On Behalf Of Eric Smith - Fruitcom |Sent: Tuesday, June 07, 2005 1:02 AM |To: Asterisk Users Mailing List |Subject: [Asterisk-Users] run a script on completion of call | |How do I run an external script on completing a call? | |Like if I want to send email to the caller. | |Thansk | |Eric |_______________________________________________ |Asterisk-Users mailing list |Asterisk-Users@lists.digium.com |http://lists.digium.com/mailman/listinfo/asterisk-users |To UNSUBSCRIBE or update options visit: | http://lists.digium.com/mailman/listinfo/asterisk-users
or use the g option in the dial command On 6/7/05, Eric Smith - Fruitcom <es@fruitcom.com> wrote:> How do I run an external script on completing a call? > > Like if I want to send email to the caller. > > Thansk > > Eric > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Also, in the context that handles the calls use the hangup extension. Keep in mind most/all of the channel variables may be cleared at that point though. exten => 123,1,Dial(SIP/123) exten => 124,1,Dial(SIP/124) exten => 125,1,Dial(SIP/125) exten => h,1,DeadAGI(EmailCustomer) --johann C F wrote:>or use the g option in the dial command > >On 6/7/05, Eric Smith - Fruitcom <es@fruitcom.com> wrote: > > >>How do I run an external script on completing a call? >> >>Like if I want to send email to the caller. >> >>Thansk >> >>Eric >>_______________________________________________ >>Asterisk-Users mailing list >>Asterisk-Users@lists.digium.com >>http://lists.digium.com/mailman/listinfo/asterisk-users >>To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> >> >> >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >