Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] php script in h context makes channel hang : solution ?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
jonas.kellens at telen...
Guest





PostPosted: Thu Mar 20, 2014 9:28 am    Post subject: [asterisk-users] php script in h context makes channel hang Reply with quote

Hello,

I execute the following php script when a call ends and the h-context is executed :

exten => h,n,System(/usr/bin/php /var/log/asterisk/loggingAST/loggingAST.php /var/log/asterisk/loggingAST/${CHANNEL:4}.csv)

The script loggingAST.php writes some information in a MySQL database on a remote webserver.

I have noticed that when the webserver is unreachable, this channel "hangs" and Asterisk can not clear the channel and rtp ports.


Is there a way to have the channel cleared, even if it takes some time to execute the php script ??


Kind regards,

Jonas.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services