Problem with EMI2, latest cvs

2002-04-30 Thread Abd Rahman Johari
Hi, i got this from latest kannel cvs, i'm using EMI2 protocol this is using UCP60 (outgoing sms) 2002-05-01 09:45:50 [0] ERROR: Can't find out official hostname for this host, using `gateway.celcom' instead. 2002-05-01 09:45:50 [0] INFO: Debug_lvl = -1, log_file = , log_lvl = 0 2002-05-01 09:45:

Re: [FYI] Post-XML

2002-04-30 Thread Bruno David Simões Rodrigues
On Tue, 2002-04-30 at 11:04, Alex Judd wrote: > I have to say Bruno the new documentation is great - the XML POST, AT2 > section, OTA and PUSH are subjects that need to be covered. Good stuff. I guess snapshots aren't beeing built again. (Last build: Apr 26) Does the script stop with warnings ?

RE: How to shutdown & restart Gateway development release 1.1.6

2002-04-30 Thread Cipher Strength
Thanks Oded i have tried the script but not works for me Follwing are the errors. i am using redhat 6.2.How to check bash version? ./kannel.init: NAME[${#NAME[@]}]="Bearerbox": bad substitution ./kannel.init: PROGRAM[${#PROGRAM[@]}]="/dev1.1.6/bearerbox": bad substitution ./kannel.init: PIDF

Re: CMTI support in AT2

2002-04-30 Thread Alex Judd
Yes should do that too quite happily. I'm using to coax a limited capacity device into working however it will work quite normally with any CMTI message received. Cheers. Alex On Tue, 30 Apr 2002, Andrea Viscovich wrote: > > > > Patch attached to add CMTI support to the AT2 driver. You'll nee

RE: How to shutdown & restart Gateway development release 1.1.6

2002-04-30 Thread Oded Arbel
Attached is my almost final version of an init script for Kannel. it works on Mandrake and RedHat, but as it only depends on BASH, it should work anywhere where there's BASH 2 or greater. How to use it - and modify the configuration at the top of the file (wapbox is commented out, so be sure to u

Re: CMTI support in AT2

2002-04-30 Thread Andrea Viscovich
> > Patch attached to add CMTI support to the AT2 driver. You'll need to add a > new definition to your configuration file specifying that the init string > for the phones you want to use this is AT+CNMI=1,1,0,0,0 rather than > 1,2,0,0,0 and then define your smsc. I don't understand. I think it c

Re: [PATCH] SMPP null terminated input

2002-04-30 Thread Alex Judd
Yep - I'm interested. Have a version here with delayed/valid times and also with correct esm_class parameters that I plan to submit in once it's survived a bit more bulk testing. Might be good to wrap all the features together at the same time - anyone else want to add more smpp modifications

CMTI support in AT2

2002-04-30 Thread Alex Judd
Andrea/Oded/All Patch attached to add CMTI support to the AT2 driver. You'll need to add a new definition to your configuration file specifying that the init string for the phones you want to use this is AT+CNMI=1,1,0,0,0 rather than 1,2,0,0,0 and then define your smsc. Here's the excerpts fr

Re: How to shutdown & restart Gateway development release 1.1.6

2002-04-30 Thread Steve Rapaport
-- Forwarded Message -- Subject: Re: How to shutdown & restart Gateway development release 1.1.6 Date: Tue, 30 Apr 2002 16:49:21 +0200 From: Steve Rapaport <[EMAIL PROTECTED]> To: "Cipher Strength" <[EMAIL PROTECTED]> >What is the better way to shutdown kannel. I have compile

How to shutdown & restart Gateway development release 1.1.6

2002-04-30 Thread Cipher Strength
Hi, all What is the better way to shutdown kannel. I have compiled it with --enable start-stop deamon it works on my testing machine but on production server kannel not stopped.(ppl already repoting bug) Also if i restart kannel by killing bearerbox smsbox automatically kills. so is it rig

RE: [FYI] Post-XML

2002-04-30 Thread Oded Arbel
> -Original Message- > From: Andrea Viscovich [mailto:[EMAIL PROTECTED]] > > it's ok for me. > +1 to add this patch. > Andrea > - Original Message - > From: "Alex Judd" <[EMAIL PROTECTED]> > > > Works fine for me here and is definitely needed for phones > that don't > > support

Re: [FYI] Post-XML

2002-04-30 Thread Alex Judd
Apoligies - that's not the final patch :) I'll do a cvs diff -u later this week once I'm happy with it's stability and then we can get the group vote on it then. There are other files and functions that have slight modifications too. Alex -- Alex Judd http://www.skywire.co.uk

Re: [FYI] Post-XML

2002-04-30 Thread Andrea Viscovich
it's ok for me. +1 to add this patch. Andrea - Original Message - From: "Alex Judd" <[EMAIL PROTECTED]> To: "Andrea Viscovich" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, April 30, 2002 12:54 PM Subject: Re: [FYI] Post-XML > Works fine for me here and is definitely needed

Kannel Shutdown bug report.

2002-04-30 Thread Steve Rapaport
Ok, I've looked through the users list, asked for others, and it seems at least 3 people have seen this bug. So here's a report, forwarded from my users list version. Similar problems have been reported by Jacob Madsen and Dermot Reynolds. Jacob gets it only with AT2, I get the same problem usin

Re: [FYI] Post-XML

2002-04-30 Thread Alex Judd
Works fine for me here and is definitely needed for phones that don't support CMT:. The main bit of code (for those interested is below). Works out which slot to read, requests the message, decodes it, then deletes it. if (-1 != octstr_search(line, octstr_imm("+CMTI:"), 0)) { buf

Re: [FYI] Post-XML

2002-04-30 Thread Andrea Viscovich
>1. Addition of CMTI: reading of SIM stored messages from AT devices in >AT2. Needed to add support for the Motorola P7389i. Had to modify the >at2_pdu_extract to cope with the two. Hi Alex, This has really to be done. I already did it for myself, but didn't send any patch as Oded said there c

Re: [FYI] Post-XML

2002-04-30 Thread Alex Judd
I have to say Bruno the new documentation is great - the XML POST, AT2 section, OTA and PUSH are subjects that need to be covered. Good stuff. For everyone's interest I currently have two development changes in test that I'll submit once I've fully tested them. 1. Addition of CMTI: reading of

Re: Compilation Warnings

2002-04-30 Thread Aarno Syvänen
Bruno David Simões Rodrigues wrote: > > bruno@laptop:~/work/gateway$ make -s > wap/wsp_session.c:437: warning: `REFERER' redefined > wap/wsp.h:47: warning: this is the location of the previous definition > wap/wsp_session.c:490: warning: `REFERER' redefined > wap/wsp_session.c:437: warning: this