I have asterisk Asterisk (Ver. 1.8.18.0) with a TDM400P card 3 PSTN line and one GSM box on my fourth channel, also I use voip innovations for dids and local termination, I’m trying to send sms with the smsq command, tried to send it throught my TDM400P and my GSM modem like this:
smsq --motx-channel=DAHDI/4-1 -d 1781111111 -m ‘hola como estas’
and I get the following response:
Connected to Asterisk 1.8.18.0 currently running on 4channels (pid = 17030)
Verbosity is at least 5
– Attempting call on DAHDI/4-1 for application SMS(0) (Retry 1)
> Channel DAHDI/4-1 was answered.
> Launching SMS(0) on DAHDI/4-1
sms argc 1 queue <0> opts <> addr <> body <>
initial delay 300ms
– Attempting call on DAHDI/4-1 for application SMS(0) (Retry 1)
– Attempting call on DAHDI/4-1 for application SMS(0) (Retry 1)
– Attempting call on DAHDI/4-1 for application SMS(0) (Retry 1)
– Attempting call on DAHDI/4-1 for application SMS(0) (Retry 1)
and dies after 11 times.
I tried throught my SIP account with voip innovatios whew they require to add the #(hash/pound) and the beginning of the destination number.
smsq --motx-channel=SIP/Voip-Innovation -d ‘#1781111111’ -m 'hola como estas’
and they say they don’t get the destination number, nor the hash key,
I have NOT modified or created anything on my extensons.conf.
Here are my questions;
1-Do I have to create anything on my extenson.conf. From what I understand I gave already the channel where I want my message to be send throught?
2-Am I adding correctly the hash sign to my outgoing number?
3-Do I have to configure anything else on my pbx?
I have been all over the place on the forum I couldn’t find any good detail nor clear explanation, must of the people sends you to voip-info.org/wiki/view/Asterisk+cmd+Sms and there is no clear explanation of what else you have to change or do to make it work.
I think would be of great use no just for me but for everyone that is lost in this matter
Thank you