Halea
Well-Known Member
- Joined
- Aug 12, 2016
- Messages
- 1,130
- Reaction score
- 874
Thanks Ward, it's great to cover them. I think they deserve it.
Thanks Ward, it's great to cover them. I think they deserve it.
<?php
// Syntax for delivery from bulkvs.com SMS Forwarding Service: http://yourdomain.org/sms-bulkvs/index.php?from=$[from]$&to=$[to]$&message=$[message]$
$deliverto = "[email protected]";
// $deliverto = "[email protected]";
$from = htmlspecialchars($_REQUEST['from']);
$to = htmlspecialchars($_REQUEST['to']);
$message = htmlspecialchars($_REQUEST['message']);
$subject="SMS Message from $from to $to";
$comment="SMS Message\n\nFROM: $from\n\nTO: $to\n\nMSG: $message\n\n";
mail("$deliverto", "$subject", "$comment", "$from");
echo "OK";
?>
1. They do accept the CID you send them whether the DID is theirs or not (but that could change with shaken/stir implementation required by the FCC.)That could certainly save me some coffee money by moving my DID's from voip.ms (7 of them, for personal use, maybe I have a problem I don't know, + 3 more @ DryVoip. LoL). But, some questions:
1. Do they present any CID you send them? IE:CID of a DID you own, but is not hosted by them?
1B. Follow up to 1, on an Inbound call to a ring group, that forwards external to another number, what CID is displayed, original caller, or BulkVS DID?
2. Canadian users: Is Name & Number included in the Invite like other Canadian carriers, or do I have to do CNAM dips (blah)?
Canadian users: Is Name & Number included in the Invite like other Canadian carriers, or do I have to do CNAM dips (blah)?
Yup, that is my experience. If I call my parents from "my spot" on the couch, my parents see my name & number, if she calls hers, they see her name & number. And if I slip up and forget to fill in the Outbound CID on an extension, they'll see the Internal ext name.So Canada respects what is sent through on the CallerID from asterisk?
from="18005551212"
apikey="aaabbbccc"
apisecret="dddeeefff"
if [ -z "$1" ]; then
echo 'Syntax: send-sms-bulkvs 18005551212 "Your SMS message"'
exit
fi
if [ -z "$2" ]; then
echo 'Syntax: send-sms-bulkvs 18005551212 "Your SMS message"'
exit
fi
to=$1
msg=$2
curl --header "Content-Type: application/json" --request POST --data \
'{"apikey":"'"$apikey"'","apisecret":"'"$apisecret"'","from":"'"$from"'","to":"'"$to"'","message":"'"$msg"'"}' \
https://portal.bulkvs.com/sendSMS
Just one other note - they still have some trouble with interconnect in Canada - a few calls are not completing (circuit busy) because the connection between Telus AND Bell (one of the ILEC's) and the carrier they are using in Canada (whom I can't figure out yet but suspect is probably Iristel or Fibernetics) doesn't have enough capacity. I think I'm going to raise another ticket.
All calls to bulkvs get a CNAM dip and the name comes in the SIP invite - it's part of their pricing. So you pay a fraction of a cent extra on every call for the lookups. So configure Caller ID Superfecta if you're using it to use Trunk provided and that should be all you need.
Are you saying that all DID's with bulkvs automatically do a dip and you are charged for that? (note: don't use them for inbound yet) - most allow you to turn on/off that feature for obvious reasons (why pay for a dip if I know the number).
Here is a simple BASH script to send SMS messages through BulkVS. You'll need to add your BulkVS DID and API credentials at the top of the script.
Code:from="18005551212" apikey="aaabbbccc" apisecret="dddeeefff" if [ -z "$1" ]; then echo 'Syntax: send-sms-bulkvs 18005551212 "Your SMS message"' exit fi if [ -z "$2" ]; then echo 'Syntax: send-sms-bulkvs 18005551212 "Your SMS message"' exit fi to=$1 msg=$2 curl --header "Content-Type: application/json" --request POST --data \ '{"apikey":"'"$apikey"'","apisecret":"'"$apisecret"'","from":"'"$from"'","to":"'"$to"'","message":"'"$msg"'"}' \ https://portal.bulkvs.com/sendSMS
Ward, I can send emails from the server just fine. Call notifications, daily cdr, voice mail all arrive just fine.Can you otherwise send emails from your server? Have you checked your SPAM folder? Have you enabled SMS on your DID?
If SMS messages never show up, you'd need to open a ticket with BulkVS and let them take a look at what's going on at their end.
Ward - bulkvs tells me that vitelity has not fully released the number which I ported over to bulkvs, so I raised that issue with vitelity but no response as yet. Thanks again for the code. I am learning a lot by reading your code.Ward, I can send emails from the server just fine. Call notifications, daily cdr, voice mail all arrive just fine.
I will check with bulkvs. Their tech support has been super responsive to my porting and setup questions so far.
Thanks for the code as well.
Link up your team and customers Phone System
Live Chat
Video Conferencing
Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.
Check your inbox!
We’ve sent you an email. Click on the button in the email body to verify your email address – (if you can not find it, check your spam folder).
Upon verification you will be directed to the 3CX setup wizard.