[Asterisk-Users] run a script on completion of call

Johann johann.hoehn at ecommerce.com
Tue Jun 7 12:38:26 MST 2005


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 at 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 at 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 at 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
>  
>




More information about the asterisk-users mailing list