Re: DATAGRAM MODE

Alejandro Ramirez <[email protected]>
Newsgroups gmane.comp.mobile.kannel.user,gmane.comp.mobile.kannel.devel
Message-ID <20050827084426.30f61017@gator>
THANK YOU!! SO MUCH

I will try to install this patch to the latest cvs version... it seems to do just what i ask for!

again... GRACIAS

Alejandro


----- Original Message -----
From: Enver ALTIN <[email protected]>
To: [email protected]
Cc: [email protected]
Sent: Sat, 27 Aug 2005 06:21:40 -0600
Subject: Re: DATAGRAM MODE


> Hey,
> 
> On Sat, 2005-08-27 at 04:12 -0600, Alejandro Ramirez wrote:
> > I really need to set up a broadcast, but telco is asking me to send
> > the messages with ESM CLASS of DATAGRAM MODE. I've read in the mailing
> > list and I've changed the line 638 of the code of smsc_smpp.c to the
> > corresponding type.
> > 
> > How ever when I try to send a SMS it STILL goes out with the ESM CLASS
> > of STORE & Forward???
> > 
> > Do i need to change the code somewhere else??
> 
> Apply the attached patch against CVS HEAD.
> 
> It implements the submission_mode sendsms CGI variable so you can set
> the esm_class field of SMPP to one of:
> 
>         #define ESM_CLASS_SUBMIT_DEFAULT_SMSC_MODE        0x00000000
>         #define ESM_CLASS_SUBMIT_DATAGRAM_MODE            0x00000001
>         #define ESM_CLASS_SUBMIT_FORWARD_MODE             0x00000002
>         #define ESM_CLASS_SUBMIT_STORE_AND_FORWARD_MODE   0x00000003
> 
> via the sendsms CGI interface. Something like this to use datagram mode
> should work:
> 
>        
> http://localhost:10001/cgi-bin/sendsms?user=test&password=test&from=1234&to=1234&text=testing&submission_mode=1
> 
> -HTH
> -- 
> .O.
> ..O   Enver ALTIN                   |   http://skyblue.gen.tr/
> OOO   Software developer @ Parkyeri | http://www.parkyeri.com/
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.