Re: [PATCH] SMPP Optional Parameters

2007-11-26 Thread Alexander Malysh
Hi, the warnings while compile are OK. When kannel segfaults? when compile or starting kannel? If when starting kannel please provide backtrace. Kyriacos Sakkas wrote: Minus attachments. Kyriacos Sakkas wrote: Hi, Trying to compile against cvs, I segfault. Diring compile the only

Kannel, gwlib and Mbuni problem

2007-11-26 Thread Nis - Kannel
Maybe I 'am in over my head here, but I'll try anyway. I have used Kannel for some years now and lately trying to get Mbuni working as well. Mbuni, mbuni.org, is a MMS gateway for those who don't know it. Using Kannel 1.4.1 stable version, released in the Gentoo portage tree and Mbuni 1.30 self

Re: [PATCH] SMPP Optional Parameters

2007-11-26 Thread Kyriacos Sakkas
Hi Alexander, So us to be clear, me programing credential are not great, so I will give the backtrace a go, but if you thing some specials parameters to gdb would help, please let me know. Anyway the segfault is at run time, I will try and post a backtrace shortly. Kyriacos Sakkas Alexander

Re: Kannel, gwlib and Mbuni problem

2007-11-26 Thread Andreas Fink
well this is a simple error. Kannel's gwlib is being called with a parameter which is a NULL pointer instead of a octstr. Its not Kannel's fault but the callers. Kannel's gwlib just barks and quits instead of continuing with unexpected results. On 26.11.2007, at 12:08, Nis - Kannel wrote:

Re: [PATCH] SMPP Optional Parameters

2007-11-26 Thread Kyriacos Sakkas
Hi, I just recompiled, and it looks stable, the difference was that up to now I had been using --with-mysql on the configure, which to be honest I did not need in this instance, just a force of habit. Anyway I will now test and if anything comes up I will let you know, but it does look like

Re: MBLOX TLV

2007-11-26 Thread Alexander Malysh
Hi, we generally don't commit changes for some enabler. If you need generic solution, please try my patch that allows you to send any TLVs. Kyriacos Sakkas wrote: Hi All, Attached is a patch for nearly all mblox optional TLVs, (I will update). Like similar patches this does not support

Re: [PATCH] SMPP Optional Parameters

2007-11-26 Thread Kyriacos Sakkas
If my packet capturing is correct, everything is parsed ok, but the TLVs do not get added to the PDU. Also my log file: 2007-11-26 15:58:08 [4930] [6] DEBUG: SMPP PDU 0x667eb0 dump: 2007-11-26 15:58:08 [4930] [6] DEBUG: type_name: enquire_link_resp 2007-11-26 15:58:08 [4930] [6] DEBUG:

Re: [PATCH] SMPP Optional Parameters

2007-11-26 Thread Alexander Malysh
Hi, I suppose you didn't defined TLVs in the config and group in meta_data named smpp instead of smpp-tlv. Example: In the config group = smpp-tlv name = MBbilling tag = 0x1601 type = integer|nulterminated|octetstring length = 4 meta_data=?smpp?MBbilling=XXX... Kyriacos Sakkas wrote:

Re: [PATCH] SMPP Optional Parameters

2007-11-26 Thread Kyriacos Sakkas
Call: (Relevant values inserted of courser) $post .= X-Kannel-Meta-Data: ?smpp-tlv?MBbilling=.$bill.MBoperator=.$operatorid.MBcontentType=100MBcommand=STARTMBsubDate=.date('U000').MBserviceId=XXX\r\n; Definitions: (Had all as octstring, switched to nullterm for those with no definite

Re: [PATCH] SMPP Optional Parameters

2007-11-26 Thread Juan Nin
That's what Alexandar just said... You're using: ?smpp-tlv?MBbilling= and it should be: ?smpp?MBbilling= regards, Juan On Nov 26, 2007 12:33 PM, Kyriacos Sakkas [EMAIL PROTECTED] wrote: Call: (Relevant values inserted of courser) $post .= X-Kannel-Meta-Data:

Re: [PATCH] SMPP Optional Parameters

2007-11-26 Thread Alexander Malysh
Please read carefully :) Kyriacos Sakkas wrote: Call: (Relevant values inserted of courser) $post .= X-Kannel-Meta-Data: ?smpp-tlv?MBbilling=.$bill.MBoperator=. ^^ group should be ?smpp? instead if ?smpp-tlv?

Re: [PATCH] SMPP Optional Parameters

2007-11-26 Thread Kyriacos Sakkas
hi All, That seems to have sorted the parameters missing from PDU error, but as seen below something dies after I submit one or two messages. looking into it, as I had some minor issues still pending here with some TLVs, but if something pops to mind please let me know 2007-11-26 16:46:33

Re: Throughput patches

2007-11-26 Thread Juan Nin
Hi! Any feedback on this? Thanks in advance Juan On Nov 16, 2007 12:35 PM, Juan Nin [EMAIL PROTECTED] wrote: Hi! I've been reading the different threads about the problem with throughput, being this the last one (I think): http://www.mail-archive.com/devel@kannel.org/msg06847.html

SMPP Optional Parameters + MBLOX TLVs

2007-11-26 Thread Kyriacos Sakkas
Hi All, Here is what seems to be a working setup for Mblox using Alexanders patch. Patch applied to current CVS, no extra options enabled (if I enable mysql, I get a segfault, YMMV) I am currently in a testing phase with Mblox and will post any changes that might come from that, but the following

Re: Throughput patches

2007-11-26 Thread Alvin Starr
I have patched the smpp code to throttle outbound messages. It seems to be working with our outbound provider and has passed there accptance test. One of the things I have not addressed in my patch( I am sure I have missed others also) it what do do if the input is greater than the output

Re: Throughput patches

2007-11-26 Thread Juan Nin
thnx Alvin! will test it tomorrow and let u know On Nov 26, 2007 5:48 PM, Alvin Starr [EMAIL PROTECTED] wrote: Here it is. It was against 1.4.1 I don't remember the exact things I did. But I did spend about a day thinking about what to do and started a few times. If you have a problem I