Re: getting MO and MT data into a database

2010-06-14 Thread Iain Dooley
Hi Scott, Maybe I'm under false assumptions... What I'm trying to capture is all the data into a database. I need a few fields: phone number, date/time, message content MT messages are sent by you, using kannel. The solution here is simple: write the details to a database before you send them

Re: Stop sms coming with what is displaying in web explorer

2010-07-15 Thread Iain Dooley
Can you help me to stop sms from Kannel ? In fact when I send an http request to Kannel I don't want to receive  what is displayed in the web explorer. urrr ... que?

Re: Re : Stop sms coming with what is displaying in web explorer

2010-07-15 Thread Iain Dooley
How to not receive by sms what could be displayed  on in web browser whan i use the url put on get-url. AHA!! I think what you're referring to is the auto-reply. Like, you send a message into kannel, then you receive a message back which contains the response from your web page, is that right?

Re: Re : Re : Stop sms coming with what is displaying in web explorer

2010-07-15 Thread Iain Dooley
:) ___ De : Iain Dooley ? : Marc ANDREAS Cc : us...@vm1.kannel.org Envoy? le : Jeu 15 juillet 2010, 9h 31min 48s Objet : Re: Re : Stop sms coming with what is displaying in web explorer > How to not receive by sms what could be displayed  on in web browser whan i use the url put on get-url.

Re: Re : Re : Re : Stop sms coming with what is displaying in web explorer

2010-07-15 Thread Iain Dooley
might try googling around a bit more because all the mailing lists are publicly available. Cheers, Iain ___ De : Iain Dooley

Re: Asterisk voicemail SMS alert through SMSC gateway using kannel

2010-07-20 Thread Iain Dooley
This is my first post here. Has any one implemented this? If yes, please share your experience. We use asterisk as voicemail server for our Cellular network. and do have access to SMSC gateway. So how can use kannel to send SMS as voicemail alert? asterisk sends an email by default right? so

Re: Reading received sms

2010-08-31 Thread Iain Dooley
Hi Alex, I am developing an sms app in php using this wonderful gateway. I need to receive an sms process it and then send an auto reply but i am a bit stuck. I been reading the sms-service section of the user guide but Imust admit I am yet to understand it. Does any one have an exaple implem

Re: troubles with sending an '@' symbol through kannel

2010-09-07 Thread Iain Dooley
ilar question a little while ago: http://www.mail-archive.com/users@kannel.org/msg09523.html which I found by searching "iain dooley @ symbol kannel" in google HIH Iain

DLR SMS coming into the wrong smsc group

2010-09-20 Thread Iain Dooley
Hi All, I have 4 sms groups in my config below which are for connecting to 2 different servers using 2 different mblox profile ids (included as the service-type parameter) # SMSC CONNECTIONS # MBLOX PROFILE 1 group = smsc smsc = smpp host = smpp5.mblox.com port = 3217 system-type = "VMA" conn

Re: @ sign issue

2010-10-07 Thread Iain Dooley
Hi Hamza, I am unable to send email address over sms correctly via kannel. Apparently, kannel is converting '@' sign in the email address sms to inverted question mark '?' (e.g. hamza?aeon.pk). Can someone help about how to fix this? Here is a previous answer I gave to a similar question: h

Updated Ghana numbering

2009-05-10 Thread Iain Dooley
Hi All, Mark Davies, from Ghana (not sure if he's on the Kannel lists, if so, thanks Mark!) has sent me updated Ghana numbering which has been added to the mobile numbering format file: http://203.190.233.9/mobile_numbering.txt Don't forget that you can add your own numbering formats via ano

Re: missing report if message discarded..

2009-05-15 Thread Iain Dooley
Hi Beatrice, Try setting a very low message validity. Search on this page: http://kannel.org/download/1.4.3/userguide-1.4.3/userguide.html for "validityperiod". You should be able to test this yourself by setting a very low validity, turning off your phone, sending yourself a message then wai

Re: missing report if message discarded..

2009-05-15 Thread Iain Dooley
Hi Beatrice, Now I have to figure out how to get the discard-notification... ideas? Well, the way I figure this out is if the FAILED dlr comes back and it's the same as the validity period, then it's obviously failed due to an expired delivery period. If the message fails straight away it's

Re: missing report if message discarded..

2009-05-15 Thread Iain Dooley
. Regards, Alejandro On Fri, May 15, 2009 at 11:19 AM, Beatrice Tamburrino wrote: I'm using EMI... :) Original-Nachricht Datum: Fri, 15 May 2009 11:07:06 +0200 Von: "Beatrice Tamburrino" An: Iain Dooley CC: us...@vm1.kannel.org Betreff: Re: missing report if me

Re: http authentication with the character '@' in the post-url

2009-05-31 Thread Iain Dooley
i think it's %40 :) iain On Mon, 1 Jun 2009, Low Weng Kin wrote: Hi everyone, I am currently configuring Kannel to receive sms. However, the server to receive my sms which is in my LAN require authentication to view the page. Therefore I include the following line in my smsbox configuration

Re: Right O.S for Kannel

2009-06-05 Thread Iain Dooley
i run kannel on freebsd 6.x and 7.x with no problems. cheers iain On Fri, 5 Jun 2009, Alejandro Guerrieri wrote: Without the intention of starting a flame war about "my distro is better than yours", please add "in my opinion" to your statements ;) There's a lot of people that will disagree wit

Re: Right O.S for Kannel

2009-06-05 Thread Iain Dooley
ation procedure for Free BSD 7.1. Thanx in advance S On Fri, 2009-06-05 at 19:55 +1000, Iain Dooley wrote: i run kannel on freebsd 6.x and 7.x with no problems. cheers iain On Fri, 5 Jun 2009, Alejandro Guerrieri wrote: Without the intention of starting a flame war about "my distro is better

registered delivery

2009-06-11 Thread Iain Dooley
hi there, i've just received a report back from my aggregator that some of my requests are coming through with "registered_delivery=0" in them which is (alledgedly) causing droppage of large numbers of DLR messages. i can't see anything about this in the userguide and what's most strange is

registered_delivery - clarification

2009-06-11 Thread Iain Dooley
hi all, i received some clarification back from the carrier: it was only the first of a multipart message that got registered_delivery = 1, then any subsequent parts of the multipart message had registered_delivery = 0. this seems pretty sensible seeing as, from my perspective, a concatenated m

Re: registered_delivery - clarification

2009-06-11 Thread Iain Dooley
s should be FAIL (alternatively we could include a new status PARTIAL FAIL). This seems desirable to me because otherwise you're at the mercy of the SMSc behaving sensibly which will not always be the case. Cheers, Iain Alejandro On Fri, Jun 12, 2009 at 7:28 AM, Iain Dooley wrote: h

Re: registered_delivery - clarification

2009-06-11 Thread Iain Dooley
lf it's asynchronous by nature... I don't see it like a viable solution. Opinions? Alejandro On Fri, Jun 12, 2009 at 7:28 AM, Iain Dooley wrote: hi all, i received some clarification back from the carrier: it was only the first of a multipart message that got registered_del

load problems

2009-06-17 Thread Iain Dooley
hi all, i have two problems that i'm hoping someone will be able to help me investigate: 1) the other day during a period of heavy activity, kannel died and was unable to be restarted by daemontools (which i use to monitor kannel and restart if it happens to die - usually works fine). howeve

Re: how to start kannel as a deamon?

2009-07-16 Thread Iain Dooley
I use daemontools On Thu, 16 Jul 2009, FADILI Hanae wrote: Hi, I searched for the list but i didn't find some examples. I found on the web some script examples for bearerbox+smsbox but not for bearerbox+wapbox. Could someone send me an init script for starting the wapbox automatically plea

Re: Where to start

2009-07-17 Thread Iain Dooley
Hi Michael, Trey googling for SMPP providers in your are. Cheers, Iain On Fri, 17 Jul 2009, Michael A. Lewis wrote: I am new to Kannel and I am not sure where to start. Briefly, I want to be able to send SMS messages under program control (PHP on a Linux server) to any mobile phone in the wor

Re: how to start kannel as a deamon?

2009-07-21 Thread Iain Dooley
Hi Fadili, It's best to reply to the whole list. daemontools was first developed for Linux and has been ported to other *NIX platforms: http://cr.yp.to/daemontools.html Cheers, Iain On Thu, 16 Jul 2009, FADILI Hanae wrote: But i'm working on Linux... Iain Dooley a écrit

Re: What is the operational benefit of DLR storage?

2009-08-20 Thread Iain Dooley
Hi Stuart, There is always some form of DLR storage in Kannel. The choice is whether you use internal or external storage. The only difference here is that, when you restart the Kannel process, you lose all internal DLR storage whereas if you use external storage it persists across separate pr

Re: What is the operational benefit of DLR storage?

2009-08-20 Thread Iain Dooley
hat ,if any, impact will there be to message processing / retries / ??? when the dlr storage is cleaned due to a restart. Iain Dooley wrote: Hi Stuart, There is always some form of DLR storage in Kannel. The choice is whether you use internal or external storage. The only difference here is t

Re: Throttling

2009-09-11 Thread Iain Dooley
hahaha yes ... well ... this is FREE software ... community supported. i don't think i'd react particularly well if even my best and highest paying client talked to me like that. but because your abruptness may be due to a language barrier rather than you being necessarily a rude person i sha

Re: How to set the registered_delivery

2009-10-09 Thread Iain Dooley
Are you also setting the dlr-url parameter? Cheers, Iain On Sat, 10 Oct 2009, Abe mobME wrote: aa Hi, I need to set the registered-delivery to x x x 1 x x x x as specified by the operator. Im currently using dlr-mask 31, but still the registered-delivery has not changed. Please provide some

Re: How to set the registered_delivery

2009-10-09 Thread Iain Dooley
; $request = $kannel_host.$other_params.'&dlr-url='.urlencode($dlr_url); so the dlr-url passed in the HTTP request to kannel has the entire dlr-url in it. in your request above you're only putting dlr-url=%s which looks incorrect to me. cheers iain r Regards Abe On Sat, Oct 1

Re: [URGENT]Connection Timeout to My Kannel

2009-11-14 Thread Iain Dooley
I need to solve this problem. Currently my Kannel is servicing a huge traffic (more than 100 requests per second). My telco complains that they receive many connection timeout. Let's suppose there is no network issue here. Is there any options to increase Kannel's thread? So it can serves more

Re: I just uploaded a photo that I want you to see!

2009-12-08 Thread Iain Dooley
This is shameless promotion for mydailyflog. This list is not a place to push products or sites unrelated to SMS and kannel. i don't think meenakshi thakur is doing this intentionally. my guess is, the kannel users list is in his gmail contacts, and he gave his gmail login details to my dai

Re: Telnet device

2010-02-17 Thread Iain Dooley
Interesting side note, if you're using vim and need to generate ^M, you don't type ^ and then M, ie. shift + 6, then shift + M, you have to type: ctrl + v ctrl + m then you see ^M ... you can also type ctrl + v ctrl + enter which produces ^@ cheers iain On Thu, 18 Feb 2010, Nikos Balkanas w

Re: Telnet device

2010-02-18 Thread Iain Dooley
, Nikos - Original Message - From: "Iain Dooley" To: "Nikos Balkanas" Cc: "info.ubichip" ; Sent: Thursday, February 18, 2010 8:46 AM Subject: Re: Telnet device Interesting side note, if you're using vim and need to generate ^M, you don't type ^ a

Re: Telnet device

2010-02-18 Thread Iain Dooley
h other OS') On Thu, 18 Feb 2010, Iain Dooley wrote: vim 4 eva! On Thu, 18 Feb 2010, Nikos Balkanas wrote: Yeap. That was my original observation to Alvaro who originally proposed it. However, this is a modem, not vim, and Alvaro is one of the most experienced with it in the group ;-)

Re: Telnet device

2010-02-18 Thread Iain Dooley
you actually see the logs, portech doesn't seem to send "^M"s back. Maybe just needs a line feed? "^J"? PS: Definitely Windows is not the way to go. Aside from using an inflexible lining scheme, they do not allow you to experiment with it. Nikos - Original Message

RE: Help Needed

2010-02-18 Thread Iain Dooley
really, you're better off just finding an sms api supplier and focussing on building the rest of your application well. once you have a need for high volume bulk sms that is not being met by your supplier, think about kannel. cheers iain On Thu, 18 Feb 2010, Abbas Qaizar wrote: Hi All, Ok.

Re: Compatibility

2010-02-27 Thread Iain Dooley
I ordered a USB/power of USB GSM modem unit from KLS electronic in China off alibaba.com and it works really well. I've been using them consistently with Kannel, and using custom scripts that I wrote using the command line utility cu and they've been very solid. Cheers, Iain On Sat, 27 Feb 20

Re: Special characters @$_

2010-03-07 Thread Iain Dooley
Using PHP, I do this in order to make @ appear correctly: $new_sms = strtr($msg,'@',chr(64)); I think it may be depending on your provider, though. that snippet above is for sending through my outbound provider. However, for inbound I have to do the following: $msg = str_replace(chr(

%T parameter

2011-05-19 Thread Iain Dooley
Hi All, If I put the %T parameter into the DLR URL I get back a timestamp. The description in the users guide says "The date the message was sent" - does this mean that the %T parameter is the date the message was successfully delivered to the handset or is it just the date at which the SMSC r

Re: Wrong setting on Kannel Mailing List?

2011-08-21 Thread Iain Dooley
We've been through this before :) I think a few times (once in my memory but I'm a relative newbie). Anyway, just reply all - people's mail clients will deduplicate the messages as they'll all have the same message id. For example, Juan, you only received this once right? Cheers, Iain On Su

Re: Free Libya

2011-08-23 Thread Iain Dooley
Congratulations from the land downunder. I've been hearing so many horrible stories from Libya recently it's good to know you finally have some hope for peace. On Tue, 23 Aug 2011, Benaiad wrote: Dear Kannel Users, I'm proud to announce that my country became free from the  control of the di

Re: Where did I save incoming messages?

2011-10-25 Thread Iain Dooley
Hi Chun Li, Are you refering to "mysql storage" for DLRs? This is a temporary storage system for only deliver receipts. The advantage is that you can restart your bearerbox process without losing any delivery receipts. If you want to store the actual messages persistently then you need to

RE: users Digest, Vol 66, Issue 41

2012-02-18 Thread Iain Dooley
Hey Michael, In order do this, you need to define a service which "receives" the messages. This is done by creating a script that is located at a URL (eg. http://localhost/my_receiver.php) that will take the inbound message and do all the processing for you. You can look at how to configure

Re: Unable to send '@' via kannel

2012-04-21 Thread Iain Dooley
Hey Anshu, Check out this thread: http://www.mail-archive.com/users@kannel.org/msg09523.html Cheers, Iain On Sat, 21 Apr 2012, Anshu Sah wrote: Hi, I have set alt-charset = "utf-8" and also sending charset = 'utf-8' via sqlbox. But '@' is shown as '!' to my customers. Please suggest. Reg

Re: Empty %P (phone number of the receiver) when receiving SMS-MO through SMPP

2013-04-11 Thread Iain Dooley
Hey Olivier, Here is the ridiculous workaround I have for this problem in my receiving script: http://pastie.org/pastes/7452351/text?key=htasifwopjjidtyqgoig this is in PHP but it's just a shell command to extract the destination from the access log based on the id. Cheers, Iain On Thu, 1

Re: SMS callback - Integrating Kannel and a2billing

2007-08-06 Thread Iain Dooley
when i did this i had kannel forward the request to a PHP script which logged into a2billing using cURL to initiate the callback the same as a person would. you need to match up mobile number to a record in the cc_card table though. cheers iain On Mon, 6 Aug 2007, Mike Nwaogu wrote: Hi Pre

installing kannel on fc3

2007-08-15 Thread Iain Dooley
hey, for whatever reason i had to install kannel 1.4.1 on fc3 today. i blogged about how to do it, open to corrections/suggestions: http://www.workingsoftware.com.au/index.php?h=WebLog&author_id=1&entry_id=65 cheers iain

Re: installing kannel on fc3

2007-08-16 Thread Iain Dooley
hi, Will the rpm work on Enterprise ES3? i have no idea, i'm a freebsd user :) you can follow those instructions to build your own rpm from the src rpm on the dag site though (i would assume so anyway) cheers iain Thanks. Ismail - Original Message - From: "Iain Doole

is %b the message id?

2007-09-04 Thread Iain Dooley
if i put %b as a parameter in my dlr-url, will that return the message-id for me? in the user guide it says: %b the original SMS message, in a binary form cheers iain

message replies

2007-09-04 Thread Iain Dooley
hi all, i've got a client that wants me to route message replies to various virtual inboxes. i know there's the %b parameter to dlr-url which is the "original message in binary form" which appears to be the message id (although i haven't acdtually confirmed this yet). i haven't actually pl

orders of magnitude

2007-09-11 Thread Iain Dooley
hi all, reasonably left of field here, but at a rough estimate, (this is a question for the really high volume SMS traffickers :) how long would it take you to switch 80,000,000 messages? ie. i know 80,000,000 is a pretty massive volume, but in the scheme of things, is it totally massive? like

international number format

2007-09-12 Thread Iain Dooley
hi, anyone know of a complete list of valid international phone formats? i have lists of country codes and mobile prefixes on wikipedia, but for example, in australia: country code: 61 mobile prefix: 4 valid phone number: 614xx xxx xxx and in united kingdom: country code: 44 mobile prefix: 7

Re: international number format

2007-09-12 Thread Iain Dooley
hi, anyone know of a complete list of valid international phone formats? i have lists of country codes and mobile prefixes on wikipedia, but for example, in australia: country code: 61 mobile prefix: 4 valid phone number: 614xx xxx xxx and in united kingdom: country code: 44 mobile prefix

international mobile number formats

2007-09-18 Thread Iain Dooley
hi all, i've gone through the WTNG and Wikipedia and started compiling a parseable file format of all the country codes, mobile prefixes and number of digits to expect after the prefix. some countries i could not determine the information for (i was working quite quickly so it's possible the

updated mobile numbering plan

2007-09-21 Thread Iain Dooley
hi all, thanks to Dimitris and Bernd i've updated the greek and german mobile numbering plans. if everyone could check out their own country on the list: http://www.workingsoftware.com.au/mobile_numbering.txt and email me with any required updates that would be great. thanks, iain

Re: international mobile number formats

2007-09-21 Thread Iain Dooley
y cellphone inside argentina, use full MSISDN, you can spare the country code. For example, using the same number to send an SMS: From inside Argentina: 11-12345678 From outside Argentina: 54-11-12345678 So, the 15 and 9 numbers doesn't apply. Tricky uh? ;) Hope it helps, Alejandro

mobile number validation @ kannel.org?

2007-10-31 Thread Iain Dooley
hi all, i just had a thought: perhaps we could put the class file and list on the kannel website? stipe, what do you think? it is, after all, a very SMS related issue. i think that the only way to really make this worthwhile is for the list to be collaboratively maintained by members all over

international mobile numbering

2007-10-31 Thread Iain Dooley
hi all, firstly thank you so much to Alejandro Guerrieri, Bernd Mielke and Hanna Kreitem for their latest conributions to the mobile number validation list. your changes are now live on: http://www.workingsoftware.com.au/mobile_numbering.txt Bernd, if you look at Germany there are a couple

mobile number validation class

2007-10-31 Thread Iain Dooley
hi all, i've written a class in PHP which uses the list at: http://www.workingsoftware.com.au/mobile_numbering.txt to validate a number. there are notes and typical usage up the top of the class file here: http://www.workingsoftware.com.au/mobile_validation.class.php.txt if anyone ports it

RE: mobile number validation class

2007-10-31 Thread Iain Dooley
etnam www.funlive.vn -Original Message----- From: Iain Dooley [mailto:[EMAIL PROTECTED] Sent: Thursday, November 01, 2007 10:58 AM To: users@kannel.org Subject: mobile number validation class hi all, i've written a class in PHP which uses the list at: http://www.workingsoftware.com.au

numbering updated

2007-11-01 Thread Iain Dooley
hi all, big thanks to everyone for sending in there validation formats! ismail, Mihai, Colm, Paul, Rony, Franco and seik, your changes have all been included. i've written back to a couple of others offlist to try and clarify the formats a little better. HUGE thanks to Cezary Siwek for his

Re: mobile number validation class

2007-11-01 Thread Iain Dooley
, Hanoi, Vietnam www.funlive.vn -Original Message- From: Iain Dooley [mailto:[EMAIL PROTECTED] Sent: Thursday, November 01, 2007 10:58 AM To: users@kannel.org Subject: mobile number validation class hi all, i've written a class in PHP which uses the list at: http://www.workingsoftware.com.au

Re: How do you set the sender MSISDN in the HTTP request (without usingdefault-sender in the config file)? ("Sender missing and noglobal set, rejected" error)

2007-11-03 Thread Iain Dooley
from=+27826449534&to=+27823511544 it's important to remember that you'll need an agreement with your provider or an SMPP connection (usually you can't set the send through a GSM modem) iain > see manual - Original Message - From: Richard Cooke To: users@kannel.org Cc: [EMAI

RE: international mobile numbering

2007-11-04 Thread Iain Dooley
Hi Stefan, I would like to add we also need all the prefixes used by each operator in each country, not only the general mobile prefix. This would be a huge help for internal routing through different lines, with different pricing. Actually it was only ever my intention to provide basic numb

latest round of updates

2007-11-04 Thread Iain Dooley
hi everyone, thanks to: Raphael Maseko, Thanos Chatziathanassiou, Stefan OLARU, Ivan Stanev, Milan P. Stanic and especially Mads N. Vestergaard for his insanely comprehensive danish list :) i've written back for clarification to a couple of others. thanks again everyone who's helping out! c

nokia 7610

2007-11-04 Thread Iain Dooley
hi trang, sorry i accidentally deleted your message before reading it... do you have your modem-type set correctly? cheers iain

RE: nokia 7610

2007-11-04 Thread Iain Dooley
hi trung (sorry for mispelling your name last time!), I was able to send out SMSes but could not receive any. At+cnmi command gives out errors so I had to rem it. okay, so apparently you can connect fine. do you have services defined in your config file? have you tailed the kannel log files

Re: FW: nokia 7610 AT smsc

2007-11-04 Thread Iain Dooley
I've been trying to get my nokia 7610 connected via dku-2 usb cable to kannel as AT smsc. So far I was able to send sms but could not receive neither sms nor dlr. The phone receives sms but doesn't pass it to Kannel. The problem probably because I could not use at+cnmi command, the phone respond

Re: multi-part sms order

2007-11-04 Thread Iain Dooley
My system is sending a lot of multi-part smses. While the sending works, I've noticed that the parts usually arrive in reverse order or out of order. e.g., if I'm sending a three-part sms, part three will arrive at the user's phone first, followed by part two, followed by part one. The user'

Re: Looking for a good SMPP provider

2007-11-11 Thread Iain Dooley
yeah i use mblox, no complaints here (australia). cheers iain On Mon, 12 Nov 2007, Ady Wicaksono wrote: www.mblox.com is good :) On Nov 12, 2007 5:05 AM, J4nus <[EMAIL PROTECTED]> wrote: All, I'm looking for a good sms provider with a SMPP interface to connect kannel. Can you share your e

Re: Kannel and PHP

2007-11-12 Thread Iain Dooley
Hi Kudzai, I need to obtain information contained in the sms sent by the user as he seeks a specific service. For example if he wants information on a specific company in the stock exchange, I should be able to take that information and structure an sql query out of it. The second information I

Re: Users and Credit limit

2007-11-15 Thread Iain Dooley
then how about the send sms user group in the configuration??? You can read more about how these are configured here: http://www.kannel.org/download/1.4.1/userguide-1.4.1/userguide.html#AEN3886 cheers iain

RE:Re: can kannel check my credit using *888# command

2007-11-20 Thread Iain Dooley
Hi, i'm using kannel for 2 years now and I thank you for this great program. I hope this question is never been asked before, try to search it, but no luck. The question is : can kannel check my credit using *888# command i'm using prepaid mobile phone, thats mean that i have to buy voucher an

Re: MBLOX TLV

2007-11-27 Thread Iain Dooley
Attached is a patch for nearly all mblox optional TLVs, (I will update). Like similar patches this does not support getting the params of the DLR, although I am working on it. I have tried a patch that allows setting the optional TLVs in the config file, but for me it seg faults. If any

sms retry

2007-12-26 Thread Iain Dooley
hi all, i'm looking at these two variables: sms-resend-freq sms-resend-retry do these resends only occur if a message fails to get delivered to the SMSC or do they occur if the SMSC reports that a message has failed? ie. my status shows that i have 0 failed messages: lynx -dump "http://loca

error encoding pdu

2008-01-03 Thread Iain Dooley
hi all, i've found this error popping up in the list archives but no definitive answers. this appears in my smsc.log file on startup: 2008-01-04 02:02:07 [4046] [6] INFO: AT2[WT]: opening device 2008-01-04 02:02:07 [4046] [6] INFO: AT2[WT]: init device 2008-01-04 02:02:07 [4046] [6] INFO: AT2[

clearing sim messages (was Re: error encoding pdu)

2008-01-04 Thread Iain Dooley
Hi Alvaro, Regarding the +CMTI error, I do receive them when the incomming message get corrupted somehow -don´t know the reason yet- but it seems to be related to another error I get from my modem: SIM BUSY. The effect of this is that after all modem memories locations get full, the modem stop r

long message ordering in kannel

2008-01-22 Thread Iain Dooley
hey, i don't have any messages to reply to on this thread cos i deleted them, but if kannel reliably reverses the order of messages and you need them in the opposite order, is it a reasonably simple task to reverse long messages before you send them? in PHP: if(strlen($msg)>160) { $bits =

Re: multi-part sms order

2008-01-22 Thread Iain Dooley
lways the same you can assemble the bits however you need :) if it's not reliable that's a bit more difficult. cheers iain On Jan 23, 2008, at 5:35 AM, Iain Dooley wrote: hey, i don't have any messages to reply to on this thread cos i deleted them, but if kannel reliably r

Re: DLR not being received over SMPP

2008-01-23 Thread Iain Dooley
Hi Joe, Can you see any potential problems in the above kannel configuration file? you need to include a dlr-url and dlr-mask parameter in the url your using to send your sms. here is my code (in php) to send a message: $dlr_url = 'http://DLRHOST/dlr.php?state=%d&id='.$dlr->id(); @fopen('h

is anyone else getting this message?

2008-01-23 Thread Iain Dooley
i get this message everytime i send to the list ... anyone else? cheers iain -- Forwarded message -- Date: Wed, 23 Jan 2008 10:02:46 -0500 From: [EMAIL PROTECTED] To: Iain Dooley <[EMAIL PROTECTED]> Subject: NDN: Re: DLR not being received over SMPP Sorry. Your message

RE: how do I prevent my SIM card from filling up with incoming messages?

2008-01-23 Thread Iain Dooley
Change the memory location from SM to ME i think this may solve the problem i've been having with this PDU extract error... if the message isn't ever being stored in SIM memory then kannel won't ever be trying to read a non-existing message right? when you say "change the memory location f

Re: How to track recieved SMS?

2008-02-15 Thread Iain Dooley
I am able to send and recieve sms through gateway which is working fine. But, the problem i was facing is the to which the reply(recieved sms) was. Like 1:1 mapping. Is there any functionality like id for each sms that i send and the reply should be done through that id which is invisible for

inbound sms concatenation

2008-03-15 Thread Iain Dooley
hi all, i'm still researching this but thought i'd send off a message here in case anyone had some sample code they could share. i have the following sms-service defined: # SERVICES group = sms-service keyword = keyword-regex = .* catch-all = yes max-messages = 0 get-url = "http://localhost/inb

Re: inbound sms concatenation

2008-03-15 Thread Iain Dooley
hi seik, Its in the core config sms-combine-concatenated-mo = true hmmm what version is that for? i'm running 1.4.1 and when i startup with that in my core config: group = core admin-port = PORT smsbox-port = PORT admin-password = PASS dlr-storage = internal admin-deny-ip = "*.*.*.*" admin-

Re: inbound sms concatenation

2008-03-15 Thread Iain Dooley
okay, so i've fiddled around a bit and reckon i've got this working pretty well now. i wanted to stay with release 1.4.1 so i can keep using the freebsd package as it's easier to maintain but i needed MO concatenation. after looking at some inbound UDH i put this script together. i've added com

%P in sms-service

2008-03-15 Thread Iain Dooley
has anyone else seen the problem where %P in your get-url of an sms-service configuration sends the port number rather than the destination number? cheers iain

RE: inbound sms concatenation

2008-03-15 Thread Iain Dooley
zero character, then the three parameters i listed above. correct me if i'm wrong! cheers iain I got this UDH from my access.log, %u will be with escape strings (%). Ivars Date: Sun, 16 Mar 2008 01:46:17 +1100 (EST) From: Iain Dooley <[EMAIL PROTECTED]> Subject: Re: inbound s

Re: %P in sms-service

2008-03-16 Thread Iain Dooley
hi tulga, I think it is not destination number. it is my-number in your smsc group. could you send your configuration file? so, file below. whether i use %P or %Q it still produces the send sms port number. i have gotten around this problem by ading the %I placeholder to the log file, then d

Re: %P in sms-service

2008-03-16 Thread Iain Dooley
the first word of the sms. so i guess at the moment my big phat hack of adding the message id to the access log and then parsing it out in my php script using shell_exec/grep/sed is about the only way to achieve what i need to do ... cheers iain On Mon, Mar 17, 2008 at 5:37 AM, Iain Doo

RE: Parsing access.log

2008-03-27 Thread Iain Dooley
hi, i found that i couldn't get the destination number, so i'm parsing it out of the logs in my php script to stitch messages together: function getDestination() { $id = $_GET['id']; return trim(shell_exec('egrep "'.$id.'" /tmp/access.log | sed "s/.*to:\+\([0-9]*\).*/+\1

Re: receive concatenated SMS

2008-03-29 Thread Iain Dooley
hi hafez, How can I receive concatenated SMS as one hit, not many hits, i have the following confugration for my sms-service: there's a patch on the CVS version that allows this, but if you want to run the release version, i wrote this script which does concatenation in PHP: http://www.wor

Re: receive concatenated SMS

2008-03-29 Thread Iain Dooley
Thanks for reply, can you please tell me how can I get the patch. thanks. i have no idea. i think you just need to check kannel out of CVS. there's instructions on the site. cheers iain On Sat, Mar 29, 2008 at 3:42 PM, Iain Dooley <[EMAIL PROTECTED]> wrote: hi hafez,

Re: dlr

2008-03-30 Thread Iain Dooley
hi kaone, I send MT with dlr-mask = 31. I have set dlr-group and bearebox connect to the database successfully. I also have dlr-url set. I thought I would see something written to the dlr table but nothing is. I thought kannel would write to the table automatically so that I don't have to captur

Re: Multiple Numbers

2008-04-26 Thread Iain Dooley
When i needed this, i found that the %P parameter didn't work, it printed out the port number. i made this enormous hack to fetch the number from my access.log using shell_exec() from inside PHP. first i add the message id to the log format in the core group config: access-log-format= "%I %t %

Re: automatically restarting kannel when in PANIC

2008-06-09 Thread Iain Dooley
How can i automatically restart kannel or reset whe kannel PANICS or gets an error i use daemontools to monitor kannel (and other services). i run it on FreeBSD 6.3 and it works very nicely cheers iain

Re: automatically restarting kannel when in PANIC

2008-06-09 Thread Iain Dooley
Thanks, i'll appreciate a quick howto in setting up kannel to work with daemon tools,,, i'm going to try out daemon tools tomorro when you try out daemontools you'll see that there's no kannel specific howto :) you just put the commands you would normally use to run kannel in your service

fsockopen

2008-06-16 Thread Iain Dooley
hi all, i was using fopen from PHP to hit my kannel URL. i switched to fsockopen and it is roughly 10 times faster. here's a snippet: $fp = fsockopen(HOSTNAME,PORTNUM); $out = 'GET /cgi-bin/sendsms?username='.USER.'&password='.PASS.'&to='.$to.'&text='.urlencode($message).'&from='.urlencode($f

Re: How to recevie Long sms's over kannel

2008-06-25 Thread Iain Dooley
I need to enable long sms's to my kannel gateway. If someone sends a message greater than 160 characters it splits as two sms's and receive. is there any way to concatanate those 2 messages in to one in the receving process. this is applicable to sending but i need to know a way to receive lon

  1   2   3   >