Skip to main content

Search

How do I set up inbound SMS via HTTP?

Comments

19 comments

  • Avatar
    Mathieu

    Can I use my inbound number to send SMS from? In other words, can I send an SMS from a number I purchased and have people reply to that same number (taking into account that my local market is Belgium and I'd be using a Swedish inbound number)?

    0
  • Avatar
    Tony Jamous

    Have a look at the reach list of inbound numbers and click on the Sweden list to see if Belgium is covered:

    0
  • Avatar
    Mathieu

    Hi Tony -

    Belgium is indeed covered by Swedish numbers, but what I wanted to know is whether I can control that the SMSes sent from my app are being sent from that Swedish number, so that when a recipient replies, his reply is sent to my inbound number?  

    Currently, the SMS I sent are sent from a UK (+44) number, and I can't see how I can tell my app (or Nexmo for that matter) to send SMSes from the Swedish number I bought.

    Thanks,

    Mathieu 

    0
  • Avatar
    Nexmo Support

    Response to Mathieu question via ticket: https://nexmo.zendesk.com/tickets/7513#/satisfaction

    0
  • Avatar
    DavidVanderVeer

    The response to Mathieu has been deleted or blocked? I have the same question as he had above, how do I get my texts to show up as coming from one of your virtual numbers so that i can have my application route it back to me

     

    Thanks

    Dave

    0
  • Avatar
    Eric Nadalin

    There's no global solution, you can receive inbound towards a UK, Swedish or Austrian numbers but we cannot ensure delivery when originating from those LVNs because of filtering issues.  2-way messaging is meant to work inside a given country US to US, UK to UK, ... depending where you are sending from you will need to set the originating number accordingly (or mention in the message content the reply number which is not ideal)

     

    0
  • Avatar
    DavidVanderVeer

    Yes I am trying to go USA to USA only, I just want to use a virtual number so that when a end user receives a text they can reply to it and it can get routed back to my number. Also when setting up a virtual number, which I have set up 2 of them on your system,  when I setup the callback number I get an error:

    "The configured URL is not responding" and when I send a text to my virtual numbers from my phone I get nothing?

     

     

    0
  • Avatar
    Eric Nadalin

    As mentioned in the popup window your callback URL needs to respond with a 200 status to a method HEAD to make it's live.

    I would recommend to share mode details with our HELP DESK support@nexmo.zendesk.com

    0
  • Avatar
    Eric Nadalin

    Just to avoid any confusion here a "Callback URL" is an URL something like http://myserver.com/inbound where we can push the inbound message request (http://www.nexmo.com/documentation/index.html#mo) , this is not another phone number.

    0
  • Avatar
    DaniaGomez

    How I can get the number to send the sms to my number input virtual?

    That is Nexmo parameter sends the callback url with the number that sent the SMS to long virtual number?

    0
  • Avatar
    Eric Nadalin

    You will get the sender in the 'msisdn' parameter http://nexmo.com/documentation/index.html#mo

    0
  • Avatar
    David Ramalho

    Hi guys, quick couple of questions

    #1 - The documentation mentions a set of parameters for concatenated messages . I assume that this means we need to handle long messages compilation on our end, right? Nexmo will send individual parts in separate requests, correct? Any Best Practices regarding this, I'm mostly concerned about holding the parts until the message is complete, how long we should hold on to the parts, if you guarantee delivery, etc.

    #2 - Is there any dev console were we can mock / try some requests? I know we can text ourselves once we have a public URL :) but it's a "Nice to have" I'm wondering about :)

     

    Right, thanks guys

    0
  • Avatar
    Eric Nadalin

    #1 this is correct you will get a request for each parts and it will be your responsibility to reconstruct the final message (the same way it's happening on the handset). All parts should arrive pretty much at the same time (maybe not in the right order), we guarantee delivery as long as we have received something from the carrier. You need to properly accept our inbound callback request (by responding with a 200 status) if not we will be retrying every minute for 24 hours. 

    #2 We don't have a sandbox as we speak, but we gave you some free credits for testing purpose (contact our helpdesk if you need more)

    Please find a sample:

    ?msisdn=44700000001&to=44700000002&messageId=0910000001D2D8A1&text=Lorem+ipsum+dolor+sit+amet%2c+consectetur+adipiscing+elit.+Nulla+quis+risus+ac+mauris+accumsan+gravida+nec+eu+lacus.+In+in+tellus+sem%2c+vel+pulvinar+nullam.&type=text&concat=true&concat-ref=39&concat-total=2&concat-part=1&message-timestamp=2013-02-16+06%3A57%3A28

    ?msisdn=44700000001&to= 44700000002&messageId=0910000001D2D8A2&text=Lorem+ipsum+dolor+sit+amet%2c+consectetur+nullam.&type=text&concat=true&concat-ref=39&concat-total=2&concat-part=2&message-timestamp=2012-02-16+06%3A57%3A30

     

    0
  • Avatar
    David Ramalho

    Gotcha, thank you for the quick reply Eric - we'll adjust development accordingly :)

    0
  • Avatar
    shaunak

    For inbound messages, does Nexmo perform SMS STOP filtering? That is, does Nexmo intercept STOP, UNSUBSCRIBE, START, etc. inbound messages similar to Twilio (http://www.twilio.com/help/faq/sms/does-twilio-support-stop-block-and-cancel-aka-sms-filtering)?

    Thank you.

    0
  • Avatar
    Eric Nadalin

    We don't do keyword filtering on inbound messages, we give you full control by forwarding all messages to your server.  

    Then it is up to you to implement this logic. 

    0
  • Avatar
    shaunak

    Thanks for the prompt response, Eric. Appreciate it!

    0
  • Avatar
    BallotPointElection Services

    It appears that ONLY the callback URL set in the API Settings area applies. I have multiple numbers, and on two of them I have tried to set distinct callbacks for them on the Numbers page. The "Update" link next to the callback I set on the Numbers page generates a failure every time I try it, usually after many seconds. A pop-up complains that the configured URL is not responding.

    If I copy-paste the URL from the Numbers page into my browser, the page does in fact respond with a 200 OK. And if I set either of these URLs on the API Settings page, the callbacks work properly. Unfortunately, only one of these can be effective at a time.

    QUESTION: Do I only get to have a single callback across all the numbers purchased on my Nexmo account? At present the underlying apps are very different, and it would be somewhere between impractical and impossible to consolidate inbound-msg processing for these diverse apps.

    0
  • Avatar
    Eric Nadalin

    You can set account level and number levels callback URL, please contact our support with your API key and the callback URL you are trying to set

    0

Please sign in to leave a comment.