I found my mobile phone can't receive a message longer than 130, so

modify kannel source code: gateway-1.4.0\gw\sms.h

/*
 * Maximum number of octets in an SMS message. Note that this is 8 bit
 * characters, not 7 bit characters.
 */
#define MAX_SMS_OCTETS 140
---->
#define MAX_SMS_OCTETS 130

this works for me.


----- Original Message ----- 
From: "Loïc Minier" <[EMAIL PROTECTED]>
To: <Devel@mbuni.org>
Sent: Tuesday, August 30, 2005 11:23 PM
Subject: [Devel] Notifications messages split


        Hi,

 It seems when a MMS notification is created, a single WAP PUSH is sent.

 This is a problem for:
 - long host-aliases/hostnames (as outlined in the User Guide)
 - optimize-notification-size = no

 I've done some tests where Mbuni would correctly deliver notifications
 for optimize-notification-size = no or yes, but this fails when:
 - host-alias/hostname is too long
 - optimize-notification-size = no and the recipiend or sender is very
   long (From: [EMAIL PROTECTED])

 I think that the start_push() function doesn't check the size of the
 PUSH and doesn't split the WAP PUSH in multiple SMSes, it constructs a
 single URL with hardcoded UDH length and send the SMS via Kannel.

 I've observed the behavior of the NowSMS product, and it splits the
 notification in two SMSes.

 Maybe Mbuni is relying on some Kannel splitting I've missed?

   Bye,

-- 
Loïc Minier <[EMAIL PROTECTED]>
Come, your destiny awaits!

_______________________________________________
Devel mailing list
Devel@mbuni.org
http://mbuni.org/mailman/listinfo/devel_mbuni.org


_______________________________________________
Devel mailing list
Devel@mbuni.org
http://mbuni.org/mailman/listinfo/devel_mbuni.org

Reply via email to