[asterisk-users] AGI Script with parameters

Anton Frolov afng072 at frols.com
Tue Nov 28 02:04:42 MST 2006



Olivier Saulnier wrote:
> Hello,
> 
> I want to use AGI for give some information for a softphone, as:
> exten => 0470022762,2,AGI(/ruby/ring.rb 192.168.0.10 5010)
> We use Ruby langage.
> The line doesn't worksin as this, but works with shell command.
> Also, if i modify my ruby script for give in the code the ip adress and
> port number, it works!
> 
> Do you have any idea??
> best regards,
> 

bonjour, Olivier

I think that your line should be something like:
exten => phone,2,agi,script.py|args

AF.


More information about the asterisk-users mailing list