Well, regarding esm_class, I always have to modify smsc_smpp.c on line: pdu->u.submit_sm.esm_class = ESM_CLASS_SUBMIT_STORE_AND_FORWARD_MODE
to pdu->u.submit_sm.esm_class = ESM_CLASS_SUBMIT_DEFAULT_SMSC_MODE In order for my operator's SMSCs being able to process my messages. They seem to like a "0" instead of a "3" on esm_class. I'd love to be able to do that without patching Kannel! I think a config directive would suffice for me, but I think that maybe there are some people that would also like to do that on a message basis... Regards, On Thu, 10 Feb 2005 12:10:32 +0100, Stipe Tolj <[EMAIL PROTECTED]> wrote: > Davy Chan wrote: > > > **>Date: Fri, 7 Jan 2005 01:25:48 +0100 > > **>From: Alejandro Guerrieri <[EMAIL PROTECTED]> > > **>To: "[email protected]" <[email protected]> > > **>Subject: Re: Is it possible to set up the esm_class for Kannel? > > **>In-Reply-To: <[EMAIL PROTECTED]> > > **> > > **>Olga, > > **> > > **>You're welcome. It's not the first time someone stumbles across this > > **>problem, since the value of 3 ("Store and Forward") seems not to be > > **>the default across many SMSC's around the world (In fact, at least on > > **>my own experience the most common value seems to be 0, "SMSC > > **>Default"). Doing my first steps with Kannel, I've spent a bunch of > > **>time trying to figure out myself where does that setting could be > > **>changed, since the SMSC operator asked for an ESM_CLASS of 0 (To make > > **>things worse, it was my first SMSC connection ever). > > **> > > **>It would be _very_ handy to be able to set the esm_class parameter > > **>through the config file isn't it? Anyone wishing to write a patch for > > **>that? ;) > > > > I can do that and will post it. But, I know that it will not be incorporated > > into the main source tree since ESM Class is particular to only the SMPP > > Protocol. > > hmmm, we have several SMPP specific config directives in there. If people > state > that this is a general "problem" while in the process of connecting to an SMPP > SMSC, I'd vote +0 to +1 for commiting this to cvs in order to get life easier. > > Stipe > > mailto:stolj_{at}_wapme.de > ------------------------------------------------------------------- > Wapme Systems AG > > Vogelsanger Weg 80 > 40470 D�sseldorf, NRW, Germany > > phone: +49.211.74845.0 > fax: +49.211.74845.299 > > mailto:info_{at}_wapme-systems.de > http://www.wapme-systems.de/ > ------------------------------------------------------------------- > > -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/
