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
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to