[Asterisk-Users] Asterisk SMS configuration
Jon Creasey
jon-asterisk at torturedjellybaby.co.uk
Wed Jun 15 09:30:34 MST 2005
Tony,
I'm havin a similar issue i'm in the UK using x100p with the patch for
CID and get the following. Any ideas
Executing Goto("Zap/1-1", "sms-in|s|1") in new stack
-- Goto (sms-in,s,1)
-- Executing SMS("Zap/1-1", "default|a") in new stack
-- SMS TX 93 00 6D
-- SMS RX 93 00 6D
-- SMS TX 94 00 6C
-- SMS RX 94 00 6C
-- Executing Wait("Zap/1-1", "1") in new stack
-- Executing Hangup("Zap/1-1", "") in new stack
== Spawn extension (sms-in, s, 3) exited non-zero on 'Zap/1-1'
Jon
Tony Hoyle wrote:
> Tony Hoyle wrote:
>
>> response). Has anyone got this working in the UK? Do I have to set a
>> country specific setting?
>
>
> OK I got it working... there's a timeout in app_sms.c that just isn't
> long enough for the BT implementation - the app gives up long before
> the message centre has had time to respond.
>
> I got the fix from http://projects.codefidence.com/asterisk.html
> eventually (specifically
> http://projects.codefidence.com/src/sms-il.diff).
>
> The important bit is the pause:
>
> --- app_sms.c 21 Jan 2005 07:06:24 -0000 1.17
> +++ app_sms.c 1 Apr 2005 00:15:29 -0000
> @@ -1240,7 +1240,7 @@
> h->obyte = 1;
> h->opause = 200;
> if (h->omsg[0] == 0x93)
> - h->opause = 2400; /* initial message delay 300ms (for
> BT) */
> + h->opause = 6000; /* initial message delay 300ms (for
> BT) */
> h->obytep = 0;
> h->obitp = 0;
> h->osync = 80;
>
> Tony
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list