Aquí les dejo varios ejemplos prácticos de enviar una notificación via SMS, ante diferentes eventos :
Los mensajes no se enviaran directamente desde Asterisk sino atreves de un SMS gateway en la Internet
Tenemos que registrarnos en dicho Servicio puedes usar : http://www.bulksms.com/ tambien https://www.clickatell.com/
Y luego una vez registrado generamos nuestro HTTP API, la cual sera algo similar a :
mypass&message=Mensaje de prueba&msisdn=18097143489,1809
Esta cadena la vamos a procesar con el comando CURL en Linux y luego la invocamos desde Asterisk usando la aplicación System, recuerda Asterisk también tiene una función llamada CURL
Enviar un SMS cuando recibimos un nuevo correo de voz o una llamada perdida en nuestra extensión.
[extensiones]
exten=>_1[0-9]X,1,NoCDR() ; las llamadas internas fuera del cdr
same=>n,Dial(SIP/${EXTEN},25,tTxX)
same => n,GotoIf($["${DIALSTATUS}" = "BUSY"]?busy:unavail)
same=>n(unavail),system(curl "http://api.clickatell.com/http/sendmsg?user=anthonys&password=qqHEJfgbKbgGRWge&api_id=3414215aa&to=18094164722&text=
llamada desde ${CALLERID(num)} en fecha ${STRFTIME(${EPOCH},,%d-%m-%Y-%H:%M:%S)})
")
same => n,VoiceMail(${EXTEN}@default,u)
same => n,Hangup()
same=>n(busy),system(curl "http://api.clickatell.com/http/sendmsg?user=anthonys&password=qqHEJfgbKbgGRWge&api_id=3414215aa&to=18094164722&text=
llamada desde ${CALLERID(num)} en fecha ${STRFTIME(${EPOCH},,%d-%m-%Y-%H:%M:%S)})")
same => n,VoiceMail(${EXTEN}@default,b)
same => n,Hangup()
Programar Nuestro servidor Asterisk para que envié un SMS todos los días a una hora o fecha especifica.
esto se realiza con un cron job y no requiere intervención de Asterisk.
Enviar un SMS de Alerta cuando se realiza una llamada de larga distancia desde nuestra central ( Así evitamos llamadas fraudulentas).
[internacionales]
exten=>_011.1,,system(curl "http://api.clickatell.com/http/sendmsg?user=anthonys&password=qqHEJfgbKbgGRWge&api_id=3414215aa&to=18094164722&text=
llamada internacional realizada desde ${CALLERID(num)} en fecha ${STRFTIME(${EPOCH},,%d-%m-%Y-%H:%M:%S)} al numero ${EXTEN} )
")
same=>n, Dial(SIP/${EXTEN}@${MYTRUNK})
same=>n,Hangup()
[new dp]
same=>n,system(curl http://usa.bulksms.com/eapi/submission/send_sms/2/2.0 -G -d"username=wwinds&password=bMOKcZTG&message=message+A&msisdn=${phone}")
http://developer.bulksms.com/eapi/submission/send_sms/
Awesome blog for Bulk SMS API. That developed for Asterisk by Bulk SMS .com
ResponderEliminarOnce the Bulk SMS API has been integrated into your software, you no longer have to manually log in to an application or platform to send SMS messages. Instead, these protocols allow for the process of sending SMS messages to become automated.So you can easyly send sms to large number to cusomers fast.
ResponderEliminarthanks for sharing this amazing Bulk SMS Company - Best & Fast Bulk SMS Service Provider In India. For marketing purposes,
ResponderEliminarBulk sms
Bulk SMS | Bulk SMS in Bangalore Increase sales and customer satisfaction with smarter SMS campaigns, instant OTP, notifications, surveys, and more. SMS campaigns are one of the best ways to communicate directly with people. TDI internet services are a very growing trend to promote any business, almost all businesses need to send text messages for various reasons. Whether you’re launching a new product or making a nationwide announcement, bulk SMS campaigns are for everyone. With bulk SMS software, we take care of all aspects of your needs. We design and run your business campaign and if you want to create a personalized SMS marketing campaign based on your business needs, we make it easy for you too. Sending Bulk Texting messages on cell phones was one of those daydreams. But SMS India’s SMS solutions make bulk SMS marketing easy and affordable.
ResponderEliminarGreat post. I was checking continuously this blog and I am impressed! Very useful info specifically the last part :) I care for such info much. I was looking for this certain information for a very long time. Thank you and best of luck. Get It SMS is a India No 1 Bulk SMS Service Provider in Bangalore. Bulk SMS is considered to be the latest method to advertise and promote products and services.
ResponderEliminarThe far reaching impact of cell phones which have transformed the perception of communication as led to the popularity of this new marketing tool. Organisations pertaining to various sectors like Finance, retail, healthcare, automobile and many more are resorting to bulk SMS as a cheap, reliable, convenient and fast way to promote and advertise their products. Bengaluru with its open environment of welcoming change has taken the gamble and benefited by it.
Various business houses based out of Bengaluru have witnessed positive results in the form of sales conversions. Moreover, Bulk SMS Service Provider in Jaipur have managed to reach the right people with the right information and at the right time. Bulk SMS Service Provider in Hyderabad has witnessed a success rate far higher than any other forms of marketing carried out in the city. A large part of this is attributed to the motley population residing in and around the city.
These growing sections of IT professionals who migrate to this IT city every year have given it a distinct character. The lazy laid back environment that once characterised the place is being very soon replaced with a fast paced frenzy. People are becoming increasingly pressed for time. The conventional marketing techniques have long become back dated. Organisations therefore need to think of innovative methods to promote their products in order to remain in consumer memory. Bulk SMS is one such innovation that both organizers have adopted and consumers have accepted.