Alejandro, Thanks for the quick reply. Is there any problem with the url I'm generating? It works sometimes.
There are promotions going on one side and the request and response going on, on the same service server. For DeliverSM and SubmitSM there will be a gap or atleast a few minutes. Is that problematic? Regards, Surya -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, November 27, 2008 9:50 PM To: [email protected] Subject: users Digest, Vol 30, Issue 60 Send users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://www.kannel.org/mailman/listinfo/users or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of users digest..." Today's Topics: 1. Re: Kannel Queue Issue (Alejandro Guerrieri) 2. Re: FW: Message ID (Alejandro Guerrieri) ---------------------------------------------------------------------- Message: 1 Date: Thu, 27 Nov 2008 14:15:17 -0200 From: "Alejandro Guerrieri" <[EMAIL PROTECTED]> Subject: Re: Kannel Queue Issue To: "Bernard Cotton" <[EMAIL PROTECTED]> Cc: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Bernard, That's weird. Kannel keeps a copy of messages at a file-based store file at all times, so no messages should be lost if you shutdown the service or if it crashes. Have you checked the logs? Try setting log level to 0 and see if you can find anything relevant there. Regards, Alejandro On Thu, Nov 27, 2008 at 12:33 PM, Bernard Cotton < [EMAIL PROTECTED]> wrote: > Hello everyone, I had a problem a few weeks ago about a delay in MO > messages, I was able to fix the problem by setting a throughput to my smpp > conexions, everything is working fine but lately i'm having a new problem > but this time is the Kannel Queue of my main SMPP. We have a load of average > 45 000 MT sent SMS, during the day there's no delay or queue but in a > specific hour the main queue gets stock? I mean the queue grows and no SMS > are sent until manually I have to restart Kannel then the queue goes back to > 0 and everything works great till the next day. However the messages queued > during the stock are lost because I guess they are in some kind of virtual > memory? What can be the problem?? Is there a way to save those SMS? What > process manages the queue? Is there a way to unstock the queue without > restarting the service and loosing those SMS? It's very weird, I have search > the WWW for some info but I don't find anything to solve my problem. I > appreciate very much the help. Thanks again, > > > > Bernard > > > > KANNEL.CONF: both A and B share the same connexion, and the main SMSC group > for sending MT is B and it's the one that get's freezed. > > > > group = core > > admin-port = 13000 > > #wapbox-port = 13002 > > smsbox-port = 13001 > > admin-password = bar > > wdp-interface-name = "*" > > log-file = "/var/log/kannel/core.log" > > log-level = 1 > > box-deny-ip = "*.*.*.*" > > box-allow-ip = "127.0.0.1;10.27.1.*,130.7.*.*,10.10.10.*" > > access-log = "/var/log/kannel/access.log" > > unified-prefix = "+502,00502,0;+,00" > > dlr-storage = mysql > > #store-file = "/var/log/kannel/smstmp.log" > > #store-dump-freq = 300 > > #smsbox-max-pending = 100 > > #sms-outgoing-queue-limit = -1 > > #sms-incoming-queue-limit = 0 > > #sms-resend-freq = 15 > > #sms-resend-retry = 1 > > > > #include = "/etc/kannel/modems.conf" > > include = "/etc/kannel/smsbox.conf" > > > > group = smsc > > smsc-id= A > > smsc = smpp > > host=****** > > port = 5016 > > smsc-username= ***** > > smsc-password= ***** > > system-type= "SMSAGLOB" > > source-addr-ton= 0 > > source-addr-npi= 0 > > dest-addr-ton= 0 > > dest-addr-npi= 0 > > #connection-timeout = 0 > > throughput = 1 > > flow-control = 0 > > wait-ack = 1 > > wait-ack-expire = 0x02 > > validityperiod = 10 > > max-pending-submits = 1 > > source-addr-autodetect = true > > transceiver-mode= true > > #msg-id-type = 0x00 > > allowed-smsc-id = "A" > > denied-smsc-id = "B" > > alt-charset = ISO-8859-1 > > > > group = smsc > > smsc-id= B > > smsc = smpp > > host=********* > > port = 5016 > > smsc-username= ******* > > smsc-password= ******* > > system-type= "SMSAGLOB" > > source-addr-ton= 0 > > source-addr-npi= 0 > > dest-addr-ton= 0 > > dest-addr-npi= 0 > > throughput = 2 > > max-pending-submits = 1 > > transceiver-mode= false > > flow-control = 0 > > wait-ack = 1 > > wait-ack-expire = 0x02 > > source-addr-autodetect = true > > receive-port = 0 > > #msg-id-type = 0x00 > > allowed-smsc-id = "B" > > denied-smsc-id = "A" > > -- > This message has been scanned for viruses and > dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is > believed to be clean. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.kannel.org/pipermail/users/attachments/20081127/c98b2acc/attachme nt-0001.html ------------------------------ Message: 2 Date: Thu, 27 Nov 2008 14:19:44 -0200 From: "Alejandro Guerrieri" <[EMAIL PROTECTED]> Subject: Re: FW: Message ID To: Surya <[EMAIL PROTECTED]> Cc: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="windows-1252" I'm working on a patch to solve that problem right now. As it is now, Kannel won't make that information available. Regards, Alejandro On Thu, Nov 27, 2008 at 1:34 PM, Surya <[EMAIL PROTECTED]> wrote: > Dear Group, > > > > I'm in need of great emergency.. Just tell me how to capture the > > submit_sm_resp message ID. > > > > > > I tried the solution of Generating my own message id > > > > String url = " > http://localhost:13001/cgi-bin/sendsms?username=xxx&password=xxx&from=5xxxx& to= > "+destination+"&udh="+udh+"&text="+content+"&charset=UTF-16BE&mclass=2&codin g=1&pid=0& > * > dlr-mask=1&dlr-url=http%3A%2F%2Flocalhost%3A5555%2Fmservice%2Fdlrstatus%3Fsm scID%3D%25i%26type%3D%25d%26to%3D%25p%26from%3D%25P%26messageID%3D"+ > **messageID**;* > > > > But this message ID is not working for some numbers: > > > > Not successful DLR URL Example: for xxxxxxxxx27 dlr-mask=1 > > ??. > > 2008-11-27 13:27:08 [3993] [6] DEBUG: message_id: "42e5c512" > > ? > > 2008-11-27 13:27:08 [3993] [6] DEBUG: DLR[internal]: Adding DLR smsc=BSNL, > ts=921353903, src=51819, dst= xxxxxxxxx27, mask=1, boxc= > > Does this mean the message delvered successfully ? > > I can feel that it got a reply from the SMSC only after delivery of the > message > > > > BUT IT DID NOT CREATED THE THE DLR URL > > > > > > Successful DLR URL Example: > > > > 2008-11-27 13:39:58 [3993] [7] DEBUG: DLR[internal]: Looking for DLR > smsc=xxxx, ts=921387841, dst=9xxxxxxxxxx9, type=1 > > 2008-11-27 13:39:58 [3993] [7] DEBUG: DLR[internal]: created DLR message > for URL > http://localhost:5555/mservice/dlrstatus?smscID=%i&type=%d&to=%p&from=%P&mes sageID=67541227773392521<http://localhost:5555/mservice/dlrstatus?smscID=%25 i&type=%25d&to=%25p&from=%25P&messageID=67541227773392521> > > > > Please help!!!! Any immediate help would be appreciated!!!! > > > > Thanks and Regars, > > Surya > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.kannel.org/pipermail/users/attachments/20081127/f574e439/attachme nt.html ------------------------------ _______________________________________________ users mailing list [email protected] http://www.kannel.org/mailman/listinfo/users End of users Digest, Vol 30, Issue 60 *************************************
