today I tried to initialize AGI constructor in Python usinf agi=AGI(). But when I tried to do that, in the shell it didn't let me to go to the second line but it asked in red font "ARGS[' ']" . I dont know why is that. I did import * from asterisk.agi. Also Im using pyst2. So to make this sure, I ran the code help(asterisk.agi) after importing asterisk.agi. In there I saw under Class AGI, there was section called method defined here: init(self,stdin<=idlelib.pyshell.pseudoinputfile object> , bla...
Hello, Im currently doing a project on transfering calls to different softphones based on incoming call caller ID. However I'm using Pyst to get AGI and AMI functions. But I don't know how to route incoming call to different softphone though Wi-Fi. as an example, if the incoming number belongs to softphone X, it should route that call to softphone X but not softphone Y. all the belong numbers stored in a database. what I want to know is how can I route the incoming call to a selected softphone? please...
Hello, Im currently doing a project on transfering calls to different softphones based on incoming call caller ID. However I'm using Pyst to get AGI and AMI functions. But I don't know how to route incoming call to different softphone though Wi-Fi. as an example, if the incoming number belongs to softphone X, it should route that call to softphone X. all the belong numbers stored in a database. what I want to know is how can I route the incoming call to a selected softphone? please help me. NOTE:...
Hello, Im currently doing a project on transfering calls to different softphones based on incoming call caller ID. However I'm using Pyst to get AGI and AMI functions. But I don't know how to route incoming call to different softphone though Wi-Fi. as an example, if the incoming number belongs to softphone X, it should route that call to softphone X. all the belong numbers stored in a database. what I want to know is how can I route the incoming call to a selected softphone? please help me. NOTE:...
Hello, I'm new to this forum. So I'd like to discuss about how we can access Asterisk features in Raspberry Pi using Python? eg: Access incoming caller ID in python? I know there are few of packages like pyst available to do such things. But in raspberry pi how can we do that? Welcome everyone to reply to this discussion. Thanks.