Skip to content
This repository has been archived by the owner on Sep 26, 2018. It is now read-only.

Broadcast SMS - client implementation #78

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shivkumarsah
Copy link
Contributor

Please review sms broadcast client implementation which include the below features:-

  • Receive ' * ' value in 'to' params for broadcast sms to all IMSIs
  • Send SMS to all the subscriber on this BTS

@facebook-github-bot
Copy link

@shivkumarsah has updated the pull request. View: changes

Copy link
Contributor

@shaddi shaddi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This implements sending a batch of unicast SMS to all registered subscribers, not bulk SMS. This can cause issues with congestion, particularly given subscribers in the subscriber database may not be present on the particular BTS. Let's implement a code path for actual SMS if the underlying GSM stack supports it instead.

self._send_raw_to_freeswitch_cli(
str("python VBTS_Send_SMS %s|%s|%s" % (
to, from_, body)))
return True
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we assume True? What if the send fails for some reason?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants