We have setup the asterisk on Ubuntu, we want to develop a application which can broadcast prerecorded message to multiple mobile numbers at the same time.
For ex. User will schedule a campaign for particular date and time, the campaign should start at the specified time and broadcast call (all call will be placed at the same time to all contacts into that campaign).
we have found some commands and techniques but those are for extensions . We are not much familiar with asterisk, so we are not sure how to start this application.
Also we did some googling and got some terms like call file, also there is Zap terms which is not clear to me, and how can we use this settings.
But I am using .Net C# technology, if you have any link or related AMI code that can help me, either in .net or PHP will be very helpful for me.
Also I looked into Originate action but very confused as I am able to call only on extension, but i have no idea how schedule call for future that can call on mobile.
You should have no problem originating a call to a mobile phone, I do it all the time either with a LOCAL channel or dialing through my trunk provider to the number directly.
Just set the Channel: line appropriately.
Channel: PJSIP/MyTrunk/5205551212
or
Channel: LOCAL/5205551212@pstn-local
The site your links are referencing is over a decade old and the information is out of date, I recommend sticking to http://wiki.asterisk.org for current documentation.
I saved the calling date on a DB, then with a cron job I have an script who run every 1 minute and check if the current script date it is >= (calling date on the DB) and if so it dials
Thank you @johnkiniston
Currently I setup SIP. Do I need to setup PJSIP? Sorry to ask you again and again but I am very confused here about Channel, below what i am using in call file.
Thank you @ambiorixg12 for response,
I am not able to call on mobile using originate action, did you?
if yes, can you please share me the syntax for that.
Yes, When I am using this example I am getting call on my extension (configured on X-Lite), not clear, Do I Need to create any particular context, and how to create that. Any link or syntax?
And one thing I want to clear my self about SIP and PJSIP setup.
Please see extensions.conf.sample and http://www.asteriskdocs.org/ You need to understand how contexts work before you ask questions here.
Also, remember that the ability to make simultaneous calls will be limited by your PSTN or mobile network service provider.
Using Microsoft. .NET is a policy decision. It is usually a bad policy decision when it comes to open source software, as very few open source users use .NET, and those that do probably don’t answer on peer support forums. You will get beset peer support for Asterisk scripting if you use PHP for your scripts.
You may also want to have a look at our WombatDialer - https://www.wombatdialer.com/features.jsp - it is a product, but it is free to use if you require a small number of calls made per day.