Hi, I appreciate any help with the following:
1.Everytime a specific number arrive to a group of PBXs, the call will be send to an Asterisk (done)
2.When the call arrive to Asterisk a php script will query a database with the origin number and return another number (kind of done using AGI)
3. With the returned number, Asterisk needs to “return” the call via SIP (maybe move temporary) to the PBX and generate the call from there (no idea how to do it)
I don’t need extensions or generate calls in the Asterisk only return the correct number to the origin PBX and make the call ¿do you think it is a good approach to do it?