Count me in! (Now it's 2 Alejandro's ;) ) I've had to change the darn
ESM_CLASS to DEFAULT about a thousand times :)

Regards,

On 8/29/05, Arne K. Haaje <[EMAIL PROTECTED]> wrote:
> Lørdag 27. august 2005 14:21, skrev Enver ALTIN:
> > 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
> 
> Will this patch be commited to CVS? It could be very useful for more than
> Enver, Alejandro, and me ;-)
> 
> --
> Yours sincerely,
> Eurobate ASA
> 
> Arne K. Haaje
> Senior Network Engineer
> --------------------------------------------------------------------
>    Eurobate ASA - Postboks 4589 Nydalen - 0404 Oslo - Norway
> Phone: +47 23 22 73 73 - Fax: +47 23 22 73 74 - Mob: +47 92 88 44 66
>                    http://www.eurobate.no/
> 
> 


-- 
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/

Reply via email to