[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnokii can't send sms to mobile number greater than 14 digits
From: |
Pawel Kot |
Subject: |
Re: gnokii can't send sms to mobile number greater than 14 digits |
Date: |
Thu, 23 Mar 2006 08:24:50 +0100 |
Hi,
On 3/23/06, A. Andria <address@hidden> wrote:
> Why I can not send sms message to the mobile number if the mobile number
> >= 14 digits (including +) ?
> In example, I cannot send sms to +62856659969486 (15 character with +).
> But, if I send sms directly from the mobile (not via smsd), the sms send
> successfully.
address@hidden:~/gnokii-work$ grep NUMBER_MAX include/gnokii/sms.h
#define GN_SMS_SMSC_NUMBER_MAX_LENGTH 16
#define GN_SMS_NUMBER_MAX_LENGTH 14
unsigned char message_center[GN_SMS_SMSC_NUMBER_MAX_LENGTH];/*
SMSC Address (9.2.3.7, 9.2.3.8, 9.2.3.14) */
unsigned char remote_number[GN_SMS_NUMBER_MAX_LENGTH]; /*
Origination, destination, Recipient Address (9.2.3.7, 9.2.3.8,
9.2.3.14) */
Are there really that long phone numbers? Anyway, increase value of
the constant and recompile.
take care,
pkot
--
Pawel Kot
http://www.gnokii.org/