SMS setup with GoIP1

Good Day.

Can anyone helped me with SMS setup. What need to be done inorder to SMS function works?
I’m trying to configure SMS with asterisk and GoIP1 where my SIM is located. Furthermore, Phonerlite as my softphone. I already tried different configuration but nothings work. Your helped is highly appreciated. Thank you.

https://nerdvittles.com/finally-a-100-portable-pbx-introducing-goip-a-sip-gsm-gateway-for-asterisk/

This is my actual externsions.conf Call setting is working fine but SMS is not working. I hope you could help me with this.

[general]
static=yes
writeprotect=no
autofallthrough=yes
extenpatternmatchnew=no
clearglobalvars=no

[globals]

[outgoing]

include => goip-out
include => goip-in
include => internal-extensions
include => voicemail

;========================================================================================
;================= OUTBOUND CALLS via GOIP DEVICE =====================================
;========================================================================================

[goip-out]
exten => _09XXXXXXXXX,1,NoOp()
exten => _09XXXXXXXXX,n,Dial(SIP/goip-trunk-outgoing/${EXTEN},30,t)
exten => 7XXX,2,SMS(send,SIP/goip-trunk,number,09XXXXXXXXX,text=This is a test message)
exten => _09XXXXXXXXX,n,Hangup()

;========================================================================================
;================= INCOMING CALLS via GOIP DEVICE =====================================
;========================================================================================

[goip-in]
exten => 7000,1,Answer() ;7000 will be the extension you will assign to the GOIP device to where the incoming calls will be forwarded.
exten => 7000,n,Dial(SIP/7001&SIP/7002&SIP/7003&SIP/7004&SIP/7005&SIP/7006,20) ;define extensions to where the calls will be forwarded simultaneously.
exten => 7000,n,Voicemail(7001@default,u)
exten => 7XXX,2,SMS(send,SIP/goip-trunk,number=${CALLERID(num)},text=Hello from Asterisk)
exten => 7000,n,Hangup()

;========================================================================================
;================= LOCAL EXTENSIONS CALLS | INTERNAL ==================================
;========================================================================================

[internal-extensions]
exten => _7XXX,1,NoOP(${CALLERID(num)})
exten => _7XXX,n,Set(MONITOR_FILENAME=/var/spool/asterisk/monitor/${CALLERID(num)}to${EXTEN}-${STRFTIME(${EPOCH},d%Y%m%d-t%H%M%S)}) ;this is for the recordings comment if not nedded
exten => _7XXX,n,MixMonitor(${MONITOR_FILENAME}.WAV) ;this is for the recordings comment if not nedded

exten => _7XXX,n,Verbose(Dialing support)
exten => _7XXX,n,Dial(SIP/${EXTEN},30,tr)
exten => _7XXX,n,Busy()

;Voicemail access
[voicemail]
exten => 500,1,Answer()
exten => 500,2,VoiceMailMain(@agents) ;agents will be base on the mailbox number you assigned in the voicemail(.)conf config

[msgcontext]

exten =>_X.,1,set(ACTUALTO=${CUT(MESSAGE(to),@1})
exten => _X.,n,MessageSend($ACTUALTO},${MESSAGE(from)})
exten => _X.,n,Hangup()

[sms]
type=friend
context=default
host=192.168.1.4
port=5060
dtmfmode=rfc2833
transport=udp

[sms]
exten => 7XXX,1,SMS(send=SIP/sms,number=09XXXXXXXXX,text=This is a test message)

[sms]
exten => 7XXX,1,SMS(send=SIP/goip-trunk,number=${CALLERID(num)},text=Hello from Asterisk)

SMS() will not work over mobile networks and will only work over a limited range of landline networks. Mobile networks do not use FSK signalling, in the voice channel, for SMS; they use the control channel. In fact mobile phone voice channels use codecs that do not work at all well with modems, as they are optimised for speech only.

Please actually read the documentation I referenced in my previous reply. It provides an example that was presumably tested on the actual device type.

What do I need to do in order to have SMS function with Asterisk and GoIP?

Any recommendations or suggestions? Thank you

Read what you have been told to read.

Thank you

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.