Trying to set up Kannel to receive SMS messages
Hi I could be suffering from a basic misunderstanding of how SMSC's/Kannel works, however if someone could help me out I would be grateful! I am currently running Kannel and send in SMS messages using the sms-push feature, which are then delivered to a number of SMSC's (I am specifying which SMSC-ID to use in the sms-push request), each connected via SMPP. This is fine and Kannel is working very well to send many thousands of SMS messages per day, however I am trying to experiment and have Kannel actually *host* an SMPP SMSC. Is this possible? The scenario I am trying involves 2 computers, A and B On computer A I would like to host an SMPP SMSC, and I would like to connect to the SMPP SMSC on computer A from computer B. Is this possible, or am I misunderstanding what can be done? Thanks Pete
Re: Using allowed-prefix-regex to restrict which SMSC is used
Hi I am not directing my SMS messages at any SMSC in particular using the cgi-bin request. I would like Kannel to choose for itself and using the prefix-regex section of the SMSC group configuration as is described in the documentation. Is this not possible? Pete 2009/11/9 Alejandro Guerrieri alejandro.guerri...@gmail.com: You need to use accepted-smsc and/or denied-smsc to prevent messages directed to one smsc to be sent by the other(s). For example: group = smsc name = A accepted-smsc = A ... group = smsc name = B accepted-smsc = B ... Check the userguide for more details. Hope it helps, Alejandro On Mon, Nov 9, 2009 at 11:42 AM, Pete Kelly pke...@gmail.com wrote: Hi I have a kannel setup which contains 1 HTTP SMSC. My system sends SMS's into kannel using the cgi-bin URL interface, and SMS's are sent out via one of the SMSCs I have configured. With one SMSC all is fine as all SMS messages are delivered via the single SMSC. However when I a introduce more than 1 SMSC I am having trouble getting Kannel to select which SMSC to use based on the outgoing number prefix. e.g. I am bringing up a new SMPP 3.4 SMSC and I would like to test it solely with 2 mobile numbers I have access to: 44111222 and 91999777 I have one existing HTTP SMSC working (smsc-id = A), so I have added the following line to its config: denied-prefix-regex = ^(91999777|44111222) allowed-prefix-regex = ^[1-9]{1}[0-9]{8,} I set up my new SMSC (smsc-id = B), and add the following to its config: allowed-prefix-regex = ^44111222 However, when I send out SMS messages I am seeing kannel use both smsc-id A and B when sending SMS messges to 44111222 Can anyone advise if I am going wrong somewhere? Thanks Pete
Problems getting messges to concatenate.
Hi I am in the process of setting up Kannel so I can send SMS's from a web application. I am using the cgi-bin/sendsms interface to send a GET request into kannel, which kannel is then forwarding on to my http smsc. However Kannel is not concatenating the SMS's which I send in via the cgi-bin/sendsms call. When I send a long message in, the smsbox logs say: 2009-10-13 11:35:50 [28313] [3] DEBUG: message length 208, sending 1 messages I would expect a message of length 208 to be split into 2 messages. Furthermore, the message which is sent on to my http smsc contains only the first part of the SMS, the second part is lost somewhere within kannel. Do you have any advice as to how I can configure Kannel to split the message into more than one message, and send each one to the smsc? my kannel.conf is pasted below: group = core admin-port = 13000 admin-password = bar admin-allow-ip = 127.0.0.1 smsbox-port = 13003 log-file = /var/log/kannel/bearerbox.log access-log = /var/log/kannel/access.log dlr-storage = internal sms-resend-retry = 10 sms-resend-freq = 2 sms-combine-concatenated-mo = true group = smsbox bearerbox-host = localhost sendsms-port = 13020 sendsms-url = /cgi-bin/sendsms sendsms-chars = 0123456789 +- # 0123456789 +- is default #mo-recode = true log-file = /var/log/kannel/smsbox.log http-request-retry = 10 log-level = 0 group = sendsms-user username = test password = test concatenation = true group = smsc smsc = http smsc-id = testsmsc system-type = generic smsc-username = smsc-password = port = 13015 send-url = https://www.example.com?username=testpassword=testto=%ptext=%bfrom=%P; status-success-regex = success status-permfail-regex = failure status-tempfail-regex = retry reconnect-delay = 120 allowed-prefix-regex = ^44
Re: Problems getting messges to concatenate.
Hi I've finally got it to work, it seems to be a combination of changing a few parameters in the core section, and adding in the max-messages option. I'm slightly confused as I had the max-messages option in before and it was not splitting - but I may be going mad. The working configuration looks like: group = core admin-port = 13000 admin-password = bar admin-allow-ip = 127.0.0.1 smsbox-port = 13003 log-file = /var/log/kannel/bearerbox.log access-log = /var/log/kannel/access.log sms-combine-concatenated-mo = true sms-combine-concatenated-mo-timeout = 1800 dlr-storage = internal sms-resend-retry = 10 sms-resend-freq = 2 group = smsbox bearerbox-host = localhost sendsms-port = 13020 sendsms-url = /cgi-bin/sendsms sendsms-chars = 0123456789 +- # 0123456789 +- is default log-file = /var/log/kannel/smsbox.log #http-request-retry = 10 #log-level = 0 group = sendsms-user username = test password = test concatenation = true max-messages = 5 group = smsc smsc = http smsc-id = testsmsc system-type = generic smsc-username = test smsc-password = test port = 13015 send-url = https://www.example.com/myaccount/sendsms.php?username=testpassword=testto=%ptext=%bfrom=%P status-success-regex = success status-permfail-regex = failure status-tempfail-regex = retry reconnect-delay = 120 allowed-prefix-regex = ^44 2009/10/13 SG ositest...@yahoo.com Pls send your the sample post URL.I think you need to use the bellow flag true in URL. concatenation=true Sample URL looks like, http://182.168.3.222:13013/cgi-bin/sendsms?username=testerpassword=foobarto=95text=Test%20Message%20concatenation=%20true --- On *Tue, 13/10/09, Pete Kelly pke...@gmail.com* wrote: From: Pete Kelly pke...@gmail.com Subject: Problems getting messges to concatenate. To: users@kannel.org Date: Tuesday, 13 October, 2009, 3:46 AM Hi I am in the process of setting up Kannel so I can send SMS's from a web application. I am using the cgi-bin/sendsms interface to send a GET request into kannel, which kannel is then forwarding on to my http smsc. However Kannel is not concatenating the SMS's which I send in via the cgi-bin/sendsms call. When I send a long message in, the smsbox logs say: 2009-10-13 11:35:50 [28313] [3] DEBUG: message length 208, sending 1 messages I would expect a message of length 208 to be split into 2 messages. Furthermore, the message which is sent on to my http smsc contains only the first part of the SMS, the second part is lost somewhere within kannel. Do you have any advice as to how I can configure Kannel to split the message into more than one message, and send each one to the smsc? my kannel.conf is pasted below: group = core admin-port = 13000 admin-password = bar admin-allow-ip = 127.0.0.1 smsbox-port = 13003 log-file = /var/log/kannel/bearerbox.log access-log = /var/log/kannel/access.log dlr-storage = internal sms-resend-retry = 10 sms-resend-freq = 2 sms-combine-concatenated-mo = true group = smsbox bearerbox-host = localhost sendsms-port = 13020 sendsms-url = /cgi-bin/sendsms sendsms-chars = 0123456789 +- # 0123456789 +- is default #mo-recode = true log-file = /var/log/kannel/smsbox.log http-request-retry = 10 log-level = 0 group = sendsms-user username = test password = test concatenation = true group = smsc smsc = http smsc-id = testsmsc system-type = generic smsc-username = smsc-password = port = 13015 send-url = https://www.example.com?username=testpassword=testto=%ptext=%bfrom=%P; status-success-regex = success status-permfail-regex = failure status-tempfail-regex = retry reconnect-delay = 120 allowed-prefix-regex = ^44 -- Yahoo! India has a new look. Take a sneak peekhttp://in.rd.yahoo.com/tagline_metro_2/*http://in.yahoo.com/trynew .
Kannel CIMD2 tariff support.
Hi, I'm interested in knowing does Kannel 1.3.1 support CIMD2 tariff properly?, since with earlier kannels there was a problem with tariff, because at least we have a need to send different tariffs with MT messages, I'm running a patched version of kannel cvs, which supports tariff, but I'm in need of upgrading kannel and can't do that without tariff support so..If it does support it, how to specify different tariffs? Thx in advance Pete
MMS Indication with kannel.
Hi, I've been trying to use the php indication file which has been floating around in these mail archives. But I have a problem with it, mobile phones wont seem to receive anything (nokia 3510i), but then again Ericsson T68i does receive something, it sees it as mms goes and downloads the mms file but then says that there is something wrong with it and wont open it. I was wondering if there is something wrong with the php file, maybe it shoudln't work in Finland? I'll attach the php file with this mail, so if somebody could check it up and maybe help me. I've also tried wappush with kannel but it just seems to crash, and doesn't do much. I'm using a bit old cvs version of kannel, it's slightly more recent than 1.2.1 I think. Thanks in advance!
Re: MMS Indication with kannel.
Oh well, of course I forgot the php file. Well here it is. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 11:42 AM Subject: MMS Indication with kannel. Hi, I've been trying to use the php indication file which has been floating around in these mail archives. But I have a problem with it, mobile phones wont seem to receive anything (nokia 3510i), but then again Ericsson T68i does receive something, it sees it as mms goes and downloads the mms file but then says that there is something wrong with it and wont open it. I was wondering if there is something wrong with the php file, maybe it shoudln't work in Finland? I'll attach the php file with this mail, so if somebody could check it up and maybe help me. I've also tried wappush with kannel but it just seems to crash, and doesn't do much. I'm using a bit old cvs version of kannel, it's slightly more recent than 1.2.1 I think. Thanks in advance! sendmmsind.php Description: Binary data