I've managed to solve my own question:
In the URL put : to="%2B" (in other words, the sender is just +, with no number). Kannel accepts this as a valid sender, and Clickatell in South Africa accepts this no sender. From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED] Sent: 05 November 2007 03:07 PM To: [email protected] Subject: Re: How do you set the sender MSISDN in the HTTP request (without using default-sender in the config file)? ("Sender missing and no global set, rejected" error) Couldn't you just put any number there? Your operator relies on you sending the empty field? Looks strange to me... Kannel is plagued with checks on the sender number (it's a logical thing to do IMHO), so I don't think you'd be able to send with an empty sender without patching. Regards, Alejandro On 11/5/07, Richard Cooke <[EMAIL PROTECTED]> wrote: Thanks to Iain and Ismail for your answers. One more related question : Is it possible to send a message and leave the sender blank? One of my operators\networks won't accept any sender numbers because it uses its own, but I get a "Sender missing and no global set, rejected" error if I leave it blank. Can I alter the source code to allow this, or will that break the SMPP protocol? -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri
