hi
i have an app that manage queue of drivers
now i want to add when it’s the turn of a driver , he get a call , when answred , play a audio ( it can be wav ot TTS) then hang up and i want the call to be made using cellular network not with internet
i have a grandstream server UCM6204 that i use with astericks and i can also set up a new server with a RJ11 card
is it possible and if yes how , i looked evrywhere but i didn’t find anything that work
i don’t want to use paid services
thanks
Let’s assume your app provides a database update when it’s the driver’s turn, or better yet, it can run a webhook with the driver’s phone number and text to be played as audio. You can create a PHP web service and use Asterisk AMI’s Action: Originate
to start the call. In the same AMI script, you can set some channel variables, then pass them to an AGI script. From there, you can use any TTS API, like Google TTS, to play the message for the driver using the Playback
application.
If you’re using the GSM network, you can use a GSM gateway, like GOIP or OpenVox. All of this works because I’ve implemented similar solutions in the past, but you’ll need to code your own solution. This is just general guidance
As noted, the most practical way of hitting the cellular air interface within you own premises is to use VoIP to reach a gateway device. The drivers for hardware that uses USB, etc., have limited or no support, and may have been written for out of date hardware.
Note that there may be legal restrictions on doing this. Some countries do not allow the cellular network to be accessed from locations that could reasonably use landline connections, and some allow it, but only with restrictions, e.g only for traffic that originates or terminates in your organisation.
Putting fixed station traffic through the cellular network can be expensive for the operator, as it uses base station and spectrum resources which are scarce or expensive. On the other hand, some countries may have very limited landline network resources, and using fixed stations over the mobile air interface may be normal practice.
Also, drivers sounds like taxi drivers, and they have traditionally used alternative radio systems, which are multicast and click to talk, in nature, with very short “calls”, like traditional PMR, and TETRA.
the proplem i have is that these are truck drivers and some have only normal phones not smartphones and somme have smartphones but not internet or can’t read at all so my only solution
is traditional phone calls , the app part i can make it but how to link it with astericks and how to configure astericks is what iam having trouble for as for the gateway i have grandstreamUCM 6204
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.