John Hughes wrote:> I'm trying to send an sms:
>
> smsq --motx-channel=CAPI/g1/0809101000 0607396666 "X"
>
> It seems to try to do something, but FT aren't happy:
>
> -- Attempting call on CAPI/g1/0809101000 for application SMS(0) (Retry
1)
> == ISDN4#02: Setting up DTMF detector (PLCI=0x104, flag=1)
> [Sep 13 15:45:50] WARNING[23584]: pbx.c:5142 ast_pbx_outgoing_app2:
CAPI/ISDN4#02/0809101000-1 already has a call detail record??
> > Channel CAPI/ISDN4#02/0809101000-1 was answered.
> > Launching SMS(0) on CAPI/ISDN4#02/0809101000-1
> -- SMS RX 93 00 6D
> -- SMS TX 91 0D 01 01 0A 81 60 70 93 66 66 00 F1 01 58 5C
> -- SMS RX 96 0A 01 A0 00 70 90 31 51 54 45 80 24
> -- SMS TX 94 00 6C
> == ISDN4#02: CAPI Hangingup for PLCI=0x104 in state 2
> [Sep 13 15:45:58] NOTICE[23584]: pbx_spool.c:371 attempt_thread: Call
completed to CAPI/g1/0809101000
> > ISDN4#02: CAPI INFO 0x3495: Call rejected
>
> As I understand it the "RX 96" is FT NAK'ing my "TX
91" "DELIVER".
>
> Any idea what I'm doing wrong?
>
FT only accept the SMS if you use a valid sender address, adding the
--motx-callerid= option fixed it.
-- SMS RX 93 00 6D
-- SMS TX 91 38 01 04 0A 81 60 58 70 11 11 00 F1 32 D3 B2 9B 0C AA CF 41 61
36 1B 94 7F D7 E5 A0 F6...
-- SMS RX 95 09 01 00 70 90 31 51 95 25 80 A5
-- SMS TX 94 00 6C