Sending SMS Messages via voip.ms


(Haohmaru) #1

Hello everyone,

I’m trying to setup my Yealink phones to be able to send sms messages via FreePBX > voip.ms

What I’ve done:

  • Established a PJSIP trunk to voip.ms and I’ve enabled SMS on the voip.ms end
  • Added custom config info per: https://wiki.voip.ms/article/SIP/SMS_with_FreePBX
  • Setup a test phone with extension 999 and configured outbound route to send 999 out the PJSIP trunk
  • Added SMS button to phone

When I go to send an SMS, the logs indicate it was a success, but no text is ever received. I’m working with voip.ms, but does anyone have any experience with this?

Here is the log entry:

[2020-05-06 10:12:38] VERBOSE[2867][C-000042a9] pbx.c: Executing [5555551212@sms-out:1] NoOp("Message/ast_msg_queue", "Outbound Message dialplan invoked") in new stack
[2020-05-06 10:12:38] VERBOSE[2867][C-000042a9] pbx.c: Executing [5555551212@sms-out:2] NoOp("Message/ast_msg_queue", "To pjsip:5555551212@pbx.domain.com") in new stack
[2020-05-06 10:12:38] VERBOSE[2867][C-000042a9] pbx.c: Executing [5555551212@sms-out:3] NoOp("Message/ast_msg_queue", "From "999" <sip:999@pbx.domain.com>") in new stack
[2020-05-06 10:12:38] VERBOSE[2867][C-000042a9] pbx.c: Executing [5555551212@sms-out:4] NoOp("Message/ast_msg_queue", "Body a") in new stack
[2020-05-06 10:12:38] VERBOSE[2867][C-000042a9] pbx.c: Executing [5555551212@sms-out:5] Set("Message/ast_msg_queue", "NUMBER_FROM=999") in new stack
[2020-05-06 10:12:38] VERBOSE[2867][C-000042a9] pbx.c: Executing [5555551212@sms-out:6] Set("Message/ast_msg_queue", "NUMBER_TO=5555551212") in new stack
[2020-05-06 10:12:38] VERBOSE[2867][C-000042a9] pbx.c: Executing [5555551212@sms-out:7] Set("Message/ast_msg_queue", "ACTUAL_FROM="999" 999999@newyork7.voip.ms") in new stack
[2020-05-06 10:12:38] VERBOSE[2867][C-000042a9] pbx.c: Executing [5555551212@sms-out:8] Set("Message/ast_msg_queue", "ACTUAL_TO=pjsip:999999_100/sip:5555551212@newyork7.voip.ms") in new stack
[2020-05-06 10:12:38] VERBOSE[2867][C-000042a9] pbx.c: Executing [5555551212@sms-out:9] MessageSend("Message/ast_msg_queue", "pjsip:999999_100/sip:5555551212@newyork7.voip.ms,"999" 999999@newyork7.voip.ms") in new stack
[2020-05-06 10:12:38] VERBOSE[2867][C-000042a9] pbx.c: Executing [5555551212@sms-out:10] NoOp("Message/ast_msg_queue", "Send status is SUCCESS") in new stack
[2020-05-06 10:12:38] VERBOSE[2867][C-000042a9] pbx.c: Executing [5555551212@sms-out:11] Hangup("Message/ast_msg_queue", "") in new stack
[2020-05-06 10:12:38] VERBOSE[2867][C-000042a9] pbx.c: Spawn extension (sms-out, 5555551212, 11) exited non-zero on 'Message/ast_msg_queue'

(Haohmaru) #2

I just setup a SipStation account and sms works right out the gate via UCP.


#3

there is no standard for SMS API vendors so they all require coding skills to Implement them in your application so SipStation is the only provider for freepbx until another vendor writes a module for freepbx


(Haohmaru) #4

Perhaps, but voip.ms states it can be done and provides documentation, however it seems incomplete and doesn’t work. Even their support staff gave up.


(Tony Lewis - https://bit.ly/2SbDAyc) #5

Clearly IP SIP Trunking also has a module for SMS into UCP amongst other things.