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 <[EMAIL PROTECTED]> 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
[email protected]
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
[email protected]
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
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to