Re : How to change Phone Number to Name when getting SMS on phone screen
I have replaced the From Field by a name and sent a SMPP message to my phone, but i didn't get any message. But if the From Field is my shortcode i do get my message. So i think hamza are right by saying you can only use it if it is allowed by your telco operator over the account allotted to you. Is there a way to do it without my telco operator support? From: ha...@aeon.pk ha...@aeon.pk To: Richard Crawshaw richard.craws...@callparents.com Sent: 22 March 2011 14:33 Subject: Re: How to change Phone Number to Name when getting SMS on phone screen Also, you can only use it if it is allowed by your telco operator over the account allotted to you. On Tue, Mar 22, 2011 at 8:56 PM, Richard Crawshaw richard.craws...@callparents.com wrote: Take a look at the Running SMS Gateway section of the user guide. You can specify the from field for each message, this can be a number or it can be text. (The from field is also called the MASK field.) It can also be specified in different parts of Kannel configuration file depending on how you have Kannel configured. Richard From:users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Kidi Kidi Sent: 22 March 2011 14:33 To: users@kannel.org Subject: How to change Phone Number to Name when getting SMS on phone screen Great Thanks hamza, I don't understand, could you give me more explanation please? De :ha...@aeon.pk ha...@aeon.pk À : Kidi Kidi kidi...@yahoo.fr Cc : users@kannel.org Envoyé le : Mar 22 mars 2011, 14h 07min 21s Objet : Re: How to change Phone Number to Name when getting SMS on phone screen Use MASK field while sending SMS from application. On Tue, Mar 22, 2011 at 6:52 PM, Kidi Kidi kidi...@yahoo.fr wrote: Hi all, When i get a SMS on my phone i see the FROM number, but i want to change this number to alphabetical value. For exemple i want that if i send a SMS to somebody, this person must see the name of my school instead of my phone number. I know that it's possible, but kannel can do that?
Re: Re : How to change Phone Number to Name when getting SMS on phone screen
No You can use an alternative telco for MT messages. BR Cezary Siwek On 23/03/2011 08:32, Kidi Kidi wrote: I have replaced the From Field by a name and sent a SMPP message to my phone, but i didn't get any message. But if the From Field is my shortcode i do get my message. So i think *hamza* are right by saying *you can only use it if it is allowed by your telco operator over* * the account allotted to you. * Is there a way to do it without my telco operator support? *From:* ha...@aeon.pk ha...@aeon.pk *To: *Richard Crawshaw richard.craws...@callparents.com *Sent:* 22 March 2011 14:33 *Subject:* Re: How to change Phone Number to Name when getting SMS on phone screen Also, you can only use it if it is allowed by your telco operator over the account allotted to you. On Tue, Mar 22, 2011 at 8:56 PM, Richard Crawshaw richard.craws...@callparents.com mailto:richard.craws...@callparents.com wrote: Take a look at the Running SMS Gateway section of the user guide. You can specify the from field for each message, this can be a number or it can be text. (The from field is also called the MASK field.) It can also be specified in different parts of Kannel configuration file depending on how you have Kannel configured. Richard *From:*users-boun...@kannel.org mailto:users-boun...@kannel.org [mailto:users-boun...@kannel.org mailto:users-boun...@kannel.org] *On Behalf Of *Kidi Kidi *Sent:* 22 March 2011 14:33 *To:* users@kannel.org mailto:users@kannel.org *Subject:* How to change Phone Number to Name when getting SMS on phone screen Great Thanks hamza, I don't understand, could you give me more explanation please? *De :*ha...@aeon.pk mailto:ha...@aeon.pk ha...@aeon.pk mailto:ha...@aeon.pk *À :* Kidi Kidi kidi...@yahoo.fr mailto:kidi...@yahoo.fr *Cc :* users@kannel.org mailto:users@kannel.org *Envoyé le :* Mar 22 mars 2011, 14h 07min 21s *Objet :* Re: How to change Phone Number to Name when getting SMS on phone screen Use MASK field while sending SMS from application. On Tue, Mar 22, 2011 at 6:52 PM, Kidi Kidi kidi...@yahoo.fr mailto:kidi...@yahoo.fr wrote: Hi all, When i get a SMS on my phone i see the FROM number, but i want to change this number to alphabetical value. For exemple i want that if i send a SMS to somebody, this person must see the name of my school instead of my phone number. I know that it's possible, but kannel can do that?
Re: Re : How to change Phone Number to Name when getting SMS on phone screen
Hi Kidi, what exactly are you setting in the from field? It may be that you are using invalid characters or the text is too long. I believe there is a limit of 11 characters when using alphanumeric origination. Also only a subset of GSM 03.38 is supported. /Jacob Den 23/03/2011 kl. 9.32 skrev Kidi Kidi: I have replaced the From Field by a name and sent a SMPP message to my phone, but i didn't get any message. But if the From Field is my shortcode i do get my message. So i think hamza are right by saying you can only use it if it is allowed by your telco operator over the account allotted to you. Is there a way to do it without my telco operator support? From: ha...@aeon.pk ha...@aeon.pk To: Richard Crawshaw richard.craws...@callparents.com Sent: 22 March 2011 14:33 Subject: Re: How to change Phone Number to Name when getting SMS on phone screen Also, you can only use it if it is allowed by your telco operator over the account allotted to you. On Tue, Mar 22, 2011 at 8:56 PM, Richard Crawshaw richard.craws...@callparents.comwrote: Take a look at the Running SMS Gateway section of the user guide. You can specify the from field for each message, this can be a number or it can be text. (The from field is also called the MASK field.) It can also be specified in different parts of Kannel configuration file depending on how you have Kannel configured. Richard From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Kidi Kidi Sent: 22 March 2011 14:33 To: users@kannel.org Subject: How to change Phone Number to Name when getting SMS on phone screen Great Thanks hamza, I don't understand, could you give me more explanation please? De : ha...@aeon.pk ha...@aeon.pk À : Kidi Kidi kidi...@yahoo.fr Cc : users@kannel.org Envoyé le : Mar 22 mars 2011, 14h 07min 21s Objet : Re: How to change Phone Number to Name when getting SMS on phone screen Use MASK field while sending SMS from application. On Tue, Mar 22, 2011 at 6:52 PM, Kidi Kidi kidi...@yahoo.fr wrote: Hi all, When i get a SMS on my phone i see the FROM number, but i want to change this number to alphabetical value. For exemple i want that if i send a SMS to somebody, this person must see the name of my school instead of my phone number. I know that it's possible, but kannel can do that?
Bearerbox routing of packets from opensmppbox
Hi, Looking for some advice on routing within bearerbox of messages submitted through opensmppbox. I have 2 smscs defined, GSM modems each with a particular number. group = smsc smsc-id = smsc1 smsc = at modemtype = auto device = /dev/ttyS0 speed = 9600 my-number = +85269381702 group = smsc smsc-id = smsc2 smsc = at modemtype = auto device = /dev/ttyS1 speed = 9600 my-number = +85253717105 My SMPP client is configured to set the source address of the SMPP PDU to one of these numbers, and I want the MT to be delivered using the relevant smsc connection. MO is working OK with the following routing: group = smsbox-route smsbox-id = memova smsc-id = smsc2 shortcode = +85253717105 group = smsbox-route smsbox-id = memova smsc-id = smsc1 shortcode = +85269381702 Sample SMPP PDU: 2011-03-23 17:45:36 [3347] [2] DEBUG: SMPP PDU 0x93d45c0 dump: 2011-03-23 17:45:36 [3347] [2] DEBUG: type_name: submit_sm 2011-03-23 17:45:36 [3347] [2] DEBUG: command_id: 4 = 0x0004 2011-03-23 17:45:36 [3347] [2] DEBUG: command_status: 0 = 0x 2011-03-23 17:45:36 [3347] [2] DEBUG: sequence_number: 419 = 0x01a3 2011-03-23 17:45:36 [3347] [2] DEBUG: service_type: NULL 2011-03-23 17:45:36 [3347] [2] DEBUG: source_addr_ton: 0 = 0x 2011-03-23 17:45:36 [3347] [2] DEBUG: source_addr_npi: 0 = 0x 2011-03-23 17:45:36 [3347] [2] DEBUG: source_addr: +85253717105 2011-03-23 17:45:36 [3347] [2] DEBUG: dest_addr_ton: 1 = 0x0001 2011-03-23 17:45:36 [3347] [2] DEBUG: dest_addr_npi: 0 = 0x 2011-03-23 17:45:36 [3347] [2] DEBUG: destination_addr: +85264312659 2011-03-23 17:45:36 [3347] [2] DEBUG: esm_class: 0 = 0x 2011-03-23 17:45:36 [3347] [2] DEBUG: protocol_id: 0 = 0x 2011-03-23 17:45:36 [3347] [2] DEBUG: priority_flag: 0 = 0x 2011-03-23 17:45:36 [3347] [2] DEBUG: schedule_delivery_time: NULL 2011-03-23 17:45:36 [3347] [2] DEBUG: validity_period: NULL 2011-03-23 17:45:36 [3347] [2] DEBUG: registered_delivery: 0 = 0x 2011-03-23 17:45:36 [3347] [2] DEBUG: replace_if_present_flag: 0 = 0x 2011-03-23 17:45:36 [3347] [2] DEBUG: data_coding: 0 = 0x 2011-03-23 17:45:36 [3347] [2] DEBUG: sm_default_msg_id: 0 = 0x 2011-03-23 17:45:36 [3347] [2] DEBUG: sm_length: 7 = 0x0007 2011-03-23 17:45:36 [3347] [2] DEBUG: short_message: Testing 2011-03-23 17:45:36 [3347] [2] DEBUG: SMPP PDU dump ends. Messages are delivered randomly using either smsc1 or smsc2 Can I configure bearerbox to route based upon the source_addr in the SMPP PDU? Or will I have to try and configure my application to have 2 distinct smpp connections, one for each number, two instances of opensmppbox and route-to-smsc. Thanks, Jim Wilde
Re: Kannel 1.5.0 Debian packages
Hi All, just uploaded debs for 1.5.0 to https://redmine.kannel.org/projects/kannel/files please check and give me/Milan feedback. Thanks, Alexander Malysh Am 22.03.2011 um 16:24 schrieb Milan P. Stanic: Hi Alex, On Tue, 2011-03-22 at 14:37, Alexander Malysh wrote: Hi Milan, as far as I see, configuration should be fine. Could you please upload debs and diff tar to some place and we will push it to download section then. I will upload it later and send the URL to you in private mail. Thanks, Alexander Malysh Am 22.03.2011 um 14:09 schrieb Milan P. Stanic: Hi Alex, On Tue, 2011-03-22 at 09:56, Alexander Malysh wrote: Hi Milan, that would be great to have debian packages for 1.5.0 I forgot to mention in original post that I sent these packages to someone in Romania who is tried it on Ubuntu. He told me that the same binary packages which I run on Debian also works well on Ubuntu but I forget which release he runs. could you please answer some questions: - how these packages compiled I patched 1.5.0 source with official Debian diff (actually tar file) because my intention is that the packages I build shouldn't differ a lot from Debian shipped packages. It is because of that if someone upgrade it from official Debian release to newly built packages s/he doesn't have to change anything in configuration files. - which DB support is enabled Sqlite3, Postgresql and MySQL. - compiler/configure flags used Here is the relevant section from debian/rules files: ./configure \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --enable-warnings \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --enable-docs --enable-pam --enable-pcre \ --enable-ssl --with-ssl=/usr \ --with-mysql --with-mysql-dir=/usr \ --with-sqlite3 \ --with-pgsql --with-pgsql-dir=/usr And here is relevant section from Makefile: LIBS=-lpq -lmysqlclient_r -lssl -ldl -lpam -lpcreposix -lrt -lresolv -lnsl -lm -lpthread -lxml2 -L/usr/lib -lpcreposix -lpcre -L/usr/lib -lcrypto -lssl -rdynamic -L/usr/lib/mysql -lmysqlclient_r -L/usr/local/lib -lsqlite3 -L/usr/lib CFLAGS=-D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wformat -Wformat-security -Wmissing-format-attribute -I/usr/include -I/usr/include/mysql -I/usr/include/postgresql LDFLAGS= -rdynamic Do you have some place to upload packages and we will push those then to download section? Yes, I can upload it but would like to know first if the configuration above is correct. If not, I can rebuild it with your (or someone else) suggestions. Thanks, Alexander Malysh Am 21.03.2011 um 23:46 schrieb Milan P. Stanic: Hi all, I have noticed on users@kannel.org list that some user have a problem how to build Kannel on Debian/Ubuntu systems. On the Kannel site in download section Debian packages are outdated (1.4.1 version for Debian sarge). Current Debian stable release is shipped with with Kannel 1.4.3 version which is old as we all know. I have built Kannel 1.5.0 (development release) for Debian squeeze (current stable) and for i386 and amd64 architectures. It works without problem for more than three or four months. IMHO it would be useful for users to update Kannel download section and put new Debian packages there. I'm ready to upload them but I don't know where or whom to send these packages. P.S. I'm not sure who is the site admin so I write to list. -- Kind regards, Milan -- Arvanta, IT Securityhttp://www.arvanta.net Please do not send me e-mail containing HTML code. -- Kind regards, Milan -- Arvanta, IT Securityhttp://www.arvanta.net Please do not send me e-mail containing HTML code. -- Kind regards, Milan -- Arvanta, IT Securityhttp://www.arvanta.net Please do not send me e-mail containing HTML code.
Re: Re : How to change Phone Number to Name when getting SMS on phone screen
Check from your operator is it has enabled masking over your SMS shortcode account. On Wed, Mar 23, 2011 at 1:32 PM, Kidi Kidi kidi...@yahoo.fr wrote: I have replaced the From Field by a name and sent a SMPP message to my phone, but i didn't get any message. But if the From Field is my shortcode i do get my message. So i think *hamza* are right by saying *you can only use it if it is allowed by your telco operator over* * the account allotted to you. * **Is there a way to do it without my telco operator support? -- *From:* ha...@aeon.pk ha...@aeon.pk *To: *Richard Crawshaw richard.craws...@callparents.com *Sent:* 22 March 2011 14:33 *Subject:* Re: How to change Phone Number to Name when getting SMS on phone screen Also, you can only use it if it is allowed by your telco operator over the account allotted to you. On Tue, Mar 22, 2011 at 8:56 PM, Richard Crawshaw richard.craws...@callparents.com wrote: Take a look at the Running SMS Gateway section of the user guide. You can specify the from field for each message, this can be a number or it can be text. (The from field is also called the MASK field.) It can also be specified in different parts of Kannel configuration file depending on how you have Kannel configured. Richard *From:* users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On Behalf Of *Kidi Kidi *Sent:* 22 March 2011 14:33 *To:* users@kannel.org *Subject:* How to change Phone Number to Name when getting SMS on phone screen Great Thanks hamza, I don't understand, could you give me more explanation please? -- *De :* ha...@aeon.pk ha...@aeon.pk *À :* Kidi Kidi kidi...@yahoo.fr *Cc :* users@kannel.org *Envoyé le :* Mar 22 mars 2011, 14h 07min 21s *Objet :* Re: How to change Phone Number to Name when getting SMS on phone screen Use MASK field while sending SMS from application. On Tue, Mar 22, 2011 at 6:52 PM, Kidi Kidi kidi...@yahoo.fr wrote: Hi all, When i get a SMS on my phone i see the FROM number, but i want to change this number to alphabetical value. For exemple i want that if i send a SMS to somebody, this person must see the name of my school instead of my phone number. I know that it's possible, but kannel can do that?
Problem with kannel configuration (Cannot find SMSCConn for message to phone number, rejected)
Dear users of kannel, I've been having problem for configuring kannel since two weeks. I need realy need wour help the problem is that i have configue kannel with mysql, but when i try to send message by using this url: http://xxx:13013/cgi-bin/sendsms?username=password=to=95325672text=Bonjour+abdel+message+de+kannelsmsc=N2700dlr-mask=31dlr-url=http%3A//192.168.1.115 /dlr.php%3Fstatus%3D%25A%26answer%3D%25d , i could not get the message on the destination phone number; but i get message: Sent on my browser interface. here are my detail: this is my kannel.conf # CORE group = core admin-port = 13000 smsbox-port = 13001 admin-password = x log-file =/var/log/kannel/bearerbox.log log-level = 1 box-deny-ip = *.*.*.* box-allow-ip = xx status-password= statuspass admin-allow-ip=xx access-log=/var/log/kannel/access.log store-type=mysql store-file=/var/log/kannel/smsbox.log sms-resend-retry=true dlr-storage = mysql #Identifies the SMS Center group group = smsc #Tells kannel that we are going to use mobile as smsc smsc=at smsc-id=N2700 connect-allow-ip = xx preferred-smsc-id=N2700 #reroute-dlr=true #allowed-prefix=+229 #Sets the modem type to auto modemtype=auto #msg-id-type=0x03 #Identifies the modem device=/dev/ttyACM0 connect-allow-ip=192.168.1.115 #It should be your mobile number my-number=+22995355306 allowed-smsc-id=2700 log-file=/var/log/kannel/bearerbox.log our-host=x host=x port=13001 keepalive=5 receive-port=13013 modem-type=auto phone=Nokia 2700 max-pending-submits=5 log-level=0 #It should be changed to work for your mobile group = modems id = nokia name = Nokia 2700 detect-string = Nokia init-string = ATZ init-string = AT Q0 V1 E1 S0=0 C1 D2 +FCLASS=0 # SMSBOX SETUP group = smsbox bearerbox-host=xxx sendsms-port=13013 global-sender=xxx log-file=/var/log/kannel/smsbox.log smsbox-id=push bearerbox-port=13001 access-log=/var/log/kannel/access.log immediate-sendsms-reply=true max-pending-requests=5 sendsms-chars=0123456789 -+ log-level=0 # SENDSMS USERS group = sendsms-user username =x password = xx concatenation = true dlr-url=http%3A//192.168.1.115/dlr.php%3Fstatus%3D%25A%26answer%3D%25d #dlr-mask = 1 + 2 + 4 + 8 + 16 #can send a longer text message about 3 smses ( 3*160) user-allow-ip=x forced-smsc=at max-messages = 10 # SERVICES group = sms-service # keyword = nop keyword-regex = .* catch-all= yes max-messages= 5 #get-url = http://%S; forced-smsc=N2700 concatenation=true accepted-smsc=N2700 #allowed-receiver-prefix=+229 get-url= http://192.168.1.115/websms/inc/dlr.php?user=hesystempassword=abdelto=%pmessage=%a #get-url= http://192.168.1.115:13013/cgi-bin/sendsms?username=hesystempassword=abdelto=%ptext=%a #geturl = http://192.168.11.119/sms?phone=%ptext=%a; # mysql connection group = mysql-connection id = mydlrdb host = username = xxx password =xxx database = dlr port=3306 max-connections = 1 # DLR table structure group = dlr-db id = mydlrdb table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc group=smsbox-route smsbox-id=push smsc-id=N2700 this is the error i got: 2011-03-23 15:11:28 [5295] [3] INFO: sendsms used by hesystem 2011-03-23 15:11:28 [5295] [3] INFO: sendsms sender:hesystem:+xx (192.168.x) to:95325672 msg:Bonjour abdel message de kannel 2011-03-23 15:11:28 [5295] [3] INFO: send-sms request smsc id ignored, as smsc id forced to at 2011-03-23 15:11:28 [5276] [9] WARNING: Cannot find SMSCConn for message to 95325672, rejected. 2011-03-23 15:11:28 [5276] [9] WARNING: Message rejected by bearerbox, no router! 2011-03-23 15:11:28 [5276] [9] WARNING: bb_store: get ACK of message not found from store, strange? 2011-03-23 15:11:28 [5295] [4] INFO: Starting delivery report hesystem from +22995355306 this is what i got from my bearebox.log 2011-03-23 16:11:30 [5276] [6] DEBUG: AT2[N2700]: -- AT^M 2011-03-23 16:11:30 [5276] [6] DEBUG: AT2[N2700]: -- AT 2011-03-23 16:11:30 [5276] [6] DEBUG: AT2[N2700]: -- OK 2011-03-23 16:11:36 [5276] [6] DEBUG: AT2[N2700]: -- AT^M 2011-03-23 16:11:36 [5276] [6] DEBUG: AT2[N2700]: -- AT 2011-03-23 16:11:36 [5276] [6] DEBUG: AT2[N2700]: -- OK this is what i got from access.log : 2011-03-23 15:11:28 DISCARDED SMS [SMSC:at] [SVC:hesystem] [ACT:] [BINF:] [FID:] [from:+22995355306] [to:95325672] [flags:-1:0:-1:-1:31] [msg:31:Bonjour abdel message de kannel] [udh:0:] 2011-03-23 15:11:28 Receive DLR [SMSC:at] [SVC:hesystem] [ACT:] [BINF:] [FID:] [from:+22995355306] [to:95325672] [flags:-1:-1:-1:-1:16] [msg:12:NACK/no SMSC] [udh:0:] NB: I am using nokia 2700 as my smsc. thanks
Problem with configuring kannel+sqlbox+smppbox
Hi there I'v got some problems with configuring kannel with all addons First of all, today i have good working configuration SMSC--- BB --- SMPPBOX --- SMPP CLIENTS Detailed: I have connection to real smsc, which have about 70 shortcodes. I receive all messages by that connection, and must route this packets to different smpp-clients according to shortcode (they all connected to our smppbox) Everything is going good... but i need to store all routed sms to my database. Of course, i found addon called sqlbox, but i dont understand how to configurate all this scheme, to catch up all incoming and outgoing messages by sqlbox, and only after that route them to smppbox, so i need SMSC--- BB --- SQLBOX --- SMPPBOX --- SMPP CLIENTS I, just try to configure my sqlbox as i saw in example, but sqlbox just connect to BB and dont receive any messages, they like always go through the smmppbox to clients (boxes) Plz, i really need help. As i know, you need to watch configs to help in problem KANNEL.CONF #- # CORE # group = core admin-port = [cut] admin-allow-ip = [cut] smsbox-port = 13001 admin-password = [cut] log-level = 0 log-file = /var/log/kannel/core.log access-log = /var/log/kannel/core-access.log store-file = /var/log/kannel/kannel.store.sms #- # SMSC CONNECTIONS # # # [cut] sms-center.Redirect # group = smsc smsc = smpp host = [cut] port = 3705 smsc-id = nevaline allowed-smsc-id = nevaline system-type = transceiver smsc-username = [cut] smsc-password = [cut] transceiver-mode = true interface-version = 34 source-addr-ton = 1 source-addr-npi = 1 dest-addr-ton = 1 dest-addr-npi = 1 bind-addr-ton = 1 bind-addr-npi = 1 address-range = enquire-link-interval = 30 max-pending-submits = 5 reconnect-delay = 30 #- # SMSBOX SETUP # group = smsbox smsbox-id = main_box bearerbox-host = [cut] log-level = 0 mo-recode = true log-file = /var/log/kannel/smsbox.log access-log = /var/log/kannel/smsbox-access.log #- # ROUTING INSIDE BEARERBOX # include = /usr/local/etc/smppbox-route.conf SMPPBOX.CONF group = core group = opensmppbox opensmppbox-id = movable_redirect opensmppbox-port = 2346 bearerbox-host = [cut] bearerbox-port = 13001 log-level = 0 log-file = var/log/kannel/smppbox.log our-system-id = mova_redirect use-systemid-as-smsboxid = true route-to-smsc = nevaline smpp-logins = /usr/local/etc/kannelmain/smpplogins.txt SMPPLOGINS.TXT hold all connection (its about 16 smpp clients) SMPPBOX-ROUTE.CONF For example, routing for one of smpp client, connected to smppbox group = smsbox-route smsbox-id = [cut] smsc-id = nevaline shortcode = 9690;9691;9693;9694;9696;9697 SQLBOX.CONF group = sqlbox id = sqlbox-db smsbox-id = sqlbox bearerbox-host = [cut] bearerbox-port = 13001 smsbox-port = 1303 smsbox-port-ssl = false sql-log-table = sent_sms sql-insert-table = send_sms log-file = /var/log/kannel/kannel-sqlbox.log log-level = 0 # Example MYSQL Connection group = mysql-connection id = sqlbox-db host = [cut] port = 3306 username = [cut] password = [cut] database = sqlbox max-connections = 1
Re: users Digest, Vol 55, Issue 64
-- Arvanta, IT Securityhttp://www.arvanta.net Please do not send me e-mail containing HTML code. -- Kind regards, Milan -- Arvanta, IT Securityhttp://www.arvanta.net Please do not send me e-mail containing HTML code. -- Kind regards, Milan -- Arvanta, IT Securityhttp://www.arvanta.net Please do not send me e-mail containing HTML code. -- next part -- An HTML attachment was scrubbed... URL: http://www.kannel.org/pipermail/users/attachments/20110323/ec1c86b9/attachment-0001.html -- Message: 2 Date: Wed, 23 Mar 2011 16:49:45 +0500 From: ha...@aeon.pk ha...@aeon.pk To: Kidi Kidi kidi...@yahoo.fr Cc: users@kannel.org Subject: Re: Re : How to change Phone Number to Name when getting SMS on phone screen Message-ID: AANLkTimxp=tCFiJeoSoYyOBcOneeHxE=ala+5fguy...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Check from your operator is it has enabled masking over your SMS shortcode account. On Wed, Mar 23, 2011 at 1:32 PM, Kidi Kidi kidi...@yahoo.fr wrote: I have replaced the From Field by a name and sent a SMPP message to my phone, but i didn't get any message. But if the From Field is my shortcode i do get my message. So i think *hamza* are right by saying *you can only use it if it is allowed by your telco operator over* * the account allotted to you. * **Is there a way to do it without my telco operator support? -- *From:* ha...@aeon.pk ha...@aeon.pk *To: *Richard Crawshaw richard.craws...@callparents.com *Sent:* 22 March 2011 14:33 *Subject:* Re: How to change Phone Number to Name when getting SMS on phone screen Also, you can only use it if it is allowed by your telco operator over the account allotted to you. On Tue, Mar 22, 2011 at 8:56 PM, Richard Crawshaw richard.craws...@callparents.com wrote: Take a look at the Running SMS Gateway section of the user guide. You can specify the from field for each message, this can be a number or it can be text. (The from field is also called the MASK field.) It can also be specified in different parts of Kannel configuration file depending on how you have Kannel configured. Richard *From:* users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On Behalf Of *Kidi Kidi *Sent:* 22 March 2011 14:33 *To:* users@kannel.org *Subject:* How to change Phone Number to Name when getting SMS on phone screen Great Thanks hamza, I don't understand, could you give me more explanation please? -- *De :* ha...@aeon.pk ha...@aeon.pk *? :* Kidi Kidi kidi...@yahoo.fr *Cc :* users@kannel.org *Envoy? le :* Mar 22 mars 2011, 14h 07min 21s *Objet :* Re: How to change Phone Number to Name when getting SMS on phone screen Use MASK field while sending SMS from application. On Tue, Mar 22, 2011 at 6:52 PM, Kidi Kidi kidi...@yahoo.fr wrote: Hi all, When i get a SMS on my phone i see the FROM number, but i want to change this number to alphabetical value. For exemple i want that if i send a SMS to somebody, this person must see the name of my school instead of my phone number. I know that it's possible, but kannel can do that? -- next part -- An HTML attachment was scrubbed... URL: http://www.kannel.org/pipermail/users/attachments/20110323/e6bb7565/attachment.html -- ___ users mailing list users@kannel.org http://www.kannel.org/mailman/listinfo/users End of users Digest, Vol 55, Issue 64 *
RE: Not Receiving DLR Update from Kannel via HTTP
Hi, I managed to resolve the problem. The problem was with the receiving service and not Kannel. Regards, Jarrod -Original Message- From: Rene Kluwen [mailto:rene.klu...@chimit.nl] Sent: 15 March 2011 05:49 PM To: Jarrod Hermer; users@kannel.org Subject: RE: Not Receiving DLR Update from Kannel via HTTP What does your smsbox.log has to tell about this? == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Jarrod Hermer Sent: Monday, 14 March, 2011 16:55 To: users@kannel.org Subject: Not Receiving DLR Update from Kannel via HTTP Hi All, Kannel is receiving and processing DLR's correctly from our aggregator, I think - except for the comment about sscanf, but Kannel does not seem to be making the HTTP request to the dlr-url I configured in the request. Below are the logs and everything seems correct. Is there perhaps something new in v1.5.0? As we were previously using 1.4.0. I never see any requests to my KannelDLR.axd page. If there is any other information you need please let me know. SMSC log dump: ... 2011-03-14 17:32:29 [26870] [71] DEBUG: SMPP[INTEGRAT_KENYA_01] handle_pdu, got DLR 2011-03-14 17:32:29 [26870] [71] DEBUG: SMPP[INTEGRAT_KENYA_01]: Couldnot parse DLR string sscanf way,fallback to old way. Please report! 2011-03-14 17:32:29 [26870] [71] DEBUG: DLR[internal]: Looking for DLR smsc=INTEGRAT_KENYA_01, ts=254737083339/205371648081764461/27555884, dst=(null), type=4 2011-03-14 17:32:29 [26870] [71] DEBUG: DLR[internal]: created DLR message for URL http://10.0.0.28/NexusWeb/KannelDLR.axd?status=%dsmscinfo=%Amsgid=4781681 3dlrqueue=billing 2011-03-14 17:32:29 [26870] [71] DEBUG: DLR[internal]: DLR not destroyed, still waiting for other delivery report 2011-03-14 17:32:29 [26870] [71] DEBUG: SMPP[INTEGRAT_KENYA_01]: Sending PDU: 2011-03-14 17:32:29 [26870] [71] DEBUG: SMPP PDU 0x9a46160 dump: 2011-03-14 17:32:29 [26870] [71] DEBUG: type_name: deliver_sm_resp 2011-03-14 17:32:29 [26870] [71] DEBUG: command_id: 2147483653 = 0x8005 2011-03-14 17:32:29 [26870] [71] DEBUG: command_status: 0 = 0x 2011-03-14 17:32:29 [26870] [71] DEBUG: sequence_number: 1 = 0x0001 2011-03-14 17:32:29 [26870] [71] DEBUG: message_id: NULL 2011-03-14 17:32:29 [26870] [71] DEBUG: SMPP PDU dump ends. ... 2011-03-14 17:32:31 [26870] [71] DEBUG: SMPP[INTEGRAT_KENYA_01] handle_pdu, got DLR 2011-03-14 17:32:31 [26870] [71] DEBUG: DLR[internal]: Looking for DLR smsc=INTEGRAT_KENYA_01, ts=254737083339/205371648081764461/27555884, dst=(null), type=2 2011-03-14 17:32:31 [26870] [71] DEBUG: DLR[internal]: created DLR message for URL http://10.0.0.28/NexusWeb/KannelDLR.axd?status=%dsmscinfo=%Amsgid=4781681 3dlrqueue=billing 2011-03-14 17:32:31 [26870] [71] DEBUG: new group created `smpp' 2011-03-14 17:32:31 [26870] [71] DEBUG: group=`smpp' key=`dlr_err' value=`000' 2011-03-14 17:32:31 [26870] [71] DEBUG: SMPP[INTEGRAT_KENYA_01]: Sending PDU: 2011-03-14 17:32:31 [26870] [71] DEBUG: SMPP PDU 0x9a0cf98 dump: 2011-03-14 17:32:31 [26870] [71] DEBUG: type_name: deliver_sm_resp 2011-03-14 17:32:31 [26870] [71] DEBUG: command_id: 2147483653 = 0x8005 2011-03-14 17:32:31 [26870] [71] DEBUG: command_status: 0 = 0x 2011-03-14 17:32:31 [26870] [71] DEBUG: sequence_number: 2 = 0x0002 2011-03-14 17:32:31 [26870] [71] DEBUG: message_id: NULL 2011-03-14 17:32:31 [26870] [71] DEBUG: SMPP PDU dump ends. ... Regards, Jarrod
Re: users Digest, Vol 55, Issue 64
new Debian packages there. I'm ready to upload them but I don't know where or whom to send these packages. P.S. I'm not sure who is the site admin so I write to list. -- Kind regards, Milan -- Arvanta, IT Securityhttp://www.arvanta.net Please do not send me e-mail containing HTML code. -- Kind regards, Milan -- Arvanta, IT Securityhttp://www.arvanta.net Please do not send me e-mail containing HTML code. -- Kind regards, Milan -- Arvanta, IT Securityhttp://www.arvanta.net Please do not send me e-mail containing HTML code. -- next part -- An HTML attachment was scrubbed... URL: http://www.kannel.org/pipermail/users/attachments/20110323/ec1c86b9/attachment-0001.html -- Message: 2 Date: Wed, 23 Mar 2011 16:49:45 +0500 From: ha...@aeon.pk ha...@aeon.pk To: Kidi Kidi kidi...@yahoo.fr Cc: users@kannel.org Subject: Re: Re : How to change Phone Number to Name when getting SMS on phone screen Message-ID: AANLkTimxp=tCFiJeoSoYyOBcOneeHxE=ala+5fguy...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Check from your operator is it has enabled masking over your SMS shortcode account. On Wed, Mar 23, 2011 at 1:32 PM, Kidi Kidi kidi...@yahoo.fr wrote: I have replaced the From Field by a name and sent a SMPP message to my phone, but i didn't get any message. But if the From Field is my shortcode i do get my message. So i think *hamza* are right by saying *you can only use it if it is allowed by your telco operator over* * the account allotted to you. * **Is there a way to do it without my telco operator support? -- *From:* ha...@aeon.pk ha...@aeon.pk *To: *Richard Crawshaw richard.craws...@callparents.com *Sent:* 22 March 2011 14:33 *Subject:* Re: How to change Phone Number to Name when getting SMS on phone screen Also, you can only use it if it is allowed by your telco operator over the account allotted to you. On Tue, Mar 22, 2011 at 8:56 PM, Richard Crawshaw richard.craws...@callparents.com wrote: Take a look at the Running SMS Gateway section of the user guide. You can specify the from field for each message, this can be a number or it can be text. (The from field is also called the MASK field.) It can also be specified in different parts of Kannel configuration file depending on how you have Kannel configured. Richard *From:* users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On Behalf Of *Kidi Kidi *Sent:* 22 March 2011 14:33 *To:* users@kannel.org *Subject:* How to change Phone Number to Name when getting SMS on phone screen Great Thanks hamza, I don't understand, could you give me more explanation please? -- *De :* ha...@aeon.pk ha...@aeon.pk *? :* Kidi Kidi kidi...@yahoo.fr *Cc :* users@kannel.org *Envoy? le :* Mar 22 mars 2011, 14h 07min 21s *Objet :* Re: How to change Phone Number to Name when getting SMS on phone screen Use MASK field while sending SMS from application. On Tue, Mar 22, 2011 at 6:52 PM, Kidi Kidi kidi...@yahoo.fr wrote: Hi all, When i get a SMS on my phone i see the FROM number, but i want to change this number to alphabetical value. For exemple i want that if i send a SMS to somebody, this person must see the name of my school instead of my phone number. I know that it's possible, but kannel can do that? -- next part -- An HTML attachment was scrubbed... URL: http://www.kannel.org/pipermail/users/attachments/20110323/e6bb7565/attachment.html -- ___ users mailing list users@kannel.org http://www.kannel.org/mailman/listinfo/users End of users Digest, Vol 55, Issue 64 * -- Kind regards, Milan -- Arvanta, IT Securityhttp://www.arvanta.net Please do not send me e-mail containing HTML code.
SMPPBOX SMPP Clients
Hi Group, I have successfully configured opensmpp box. This can receive MT messages from smpp clients and send the through my HTTP SMSC to the real world. Small question is when a smpp client connects, such as nowsms or a perl module e.g NET_SMPP. These clients put in the SMSC settings details for my smppbox and connect fine. However how do these request a dlr? I know that if I had another kannel instance acting as a client, in the request to smpp box you can add a dlr-mask request on the initial request. But what about the clients that don't have options to specify a dlr mask, has any one had any experience with this? or similar? what setups have you found that work ? Obviously the dlr comes back from the SMSC but cannot find a matching dlr in the table as the smpp client hasn't requested for it initially. I welcome your thoughts. Lee
RE: SMPPBOX SMPP Clients
This is more something for a nowsms/NET_SMPP mailinglist. They should be able to request a dlr. But you have to ask there how to do it. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Lee Vidor Sent: Wednesday, 23 March, 2011 14:42 To: users@kannel.org Subject: SMPPBOX SMPP Clients Hi Group, I have successfully configured opensmpp box. This can receive MT messages from smpp clients and send the through my HTTP SMSC to the real world. Small question is when a smpp client connects, such as nowsms or a perl module e.g NET_SMPP. These clients put in the SMSC settings details for my smppbox and connect fine. However how do these request a dlr? I know that if I had another kannel instance acting as a client, in the request to smpp box you can add a dlr-mask request on the initial request. But what about the clients that don't have options to specify a dlr mask, has any one had any experience with this? or similar? what setups have you found that work ? Obviously the dlr comes back from the SMSC but cannot find a matching dlr in the table as the smpp client hasn't requested for it initially. I welcome your thoughts. Lee smime.p7s Description: S/MIME cryptographic signature
Re: Kannel 1.5.0 Debian packages
Hi Alex, Thanks for rolling us a new deb. Thanks also for building with Postgres support - that will save me rolling my own :) Just a couple of questions: 1) I notice we have the usual binaries ... but I thought there was talk of run_kannel_box being deprecated since we have --parachute --daemonize capability. What are people doing these days by default - see attached init.d script for example. 2) (this is likely a longer term / roadmap question) Any chance sqlbox (and possibly others, e.g smppbox) could be included as a binary as well? It is sounded like more and more folk are using these as standard and it would be advantageous to the project to have them included in standard deb. I realise they are not in the standard build so possibly this is a question more around when the source / build trees might be merged (i.e --enable-sqlbox, etc)? So likely some work involved here - and best of all likely involves autoconf, etc compiler magic that troubles many of us. Cheers, Alan p.s sorry for the cross-post .. just reply-all'ing On Wed, 2011-03-23 at 12:20 +0100, Alexander Malysh wrote: Hi All, just uploaded debs for 1.5.0 to https://redmine.kannel.org/projects/kannel/files please check and give me/Milan feedback. Thanks, Alexander Malysh Am 22.03.2011 um 16:24 schrieb Milan P. Stanic: Hi Alex, On Tue, 2011-03-22 at 14:37, Alexander Malysh wrote: Hi Milan, as far as I see, configuration should be fine. Could you please upload debs and diff tar to some place and we will push it to download section then. I will upload it later and send the URL to you in private mail. Thanks, Alexander Malysh Am 22.03.2011 um 14:09 schrieb Milan P. Stanic: Hi Alex, On Tue, 2011-03-22 at 09:56, Alexander Malysh wrote: Hi Milan, that would be great to have debian packages for 1.5.0 I forgot to mention in original post that I sent these packages to someone in Romania who is tried it on Ubuntu. He told me that the same binary packages which I run on Debian also works well on Ubuntu but I forget which release he runs. could you please answer some questions: - how these packages compiled I patched 1.5.0 source with official Debian diff (actually tar file) because my intention is that the packages I build shouldn't differ a lot from Debian shipped packages. It is because of that if someone upgrade it from official Debian release to newly built packages s/he doesn't have to change anything in configuration files. - which DB support is enabled Sqlite3, Postgresql and MySQL. - compiler/configure flags used Here is the relevant section from debian/rules files: ./configure \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --enable-warnings \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --enable-docs --enable-pam --enable-pcre \ --enable-ssl --with-ssl=/usr \ --with-mysql --with-mysql-dir=/usr \ --with-sqlite3 \ --with-pgsql --with-pgsql-dir=/usr And here is relevant section from Makefile: LIBS=-lpq -lmysqlclient_r -lssl -ldl -lpam -lpcreposix -lrt -lresolv -lnsl -lm -lpthread -lxml2 -L/usr/lib -lpcreposix -lpcre -L/usr/lib -lcrypto -lssl -rdynamic -L/usr/lib/mysql -lmysqlclient_r -L/usr/local/lib -lsqlite3 -L/usr/lib CFLAGS=-D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wformat -Wformat-security -Wmissing-format-attribute -I/usr/include -I/usr/include/mysql -I/usr/include/postgresql LDFLAGS= -rdynamic Do you have some place to upload packages and we will push those then to download section? Yes, I can upload it but would like to know first if the configuration above is correct. If not, I can rebuild it with your (or someone else) suggestions. Thanks, Alexander Malysh Am 21.03.2011 um 23:46 schrieb Milan P. Stanic: Hi all, I have noticed on users@kannel.org list that some user have a problem how to build Kannel on Debian/Ubuntu systems. On the Kannel site in download section Debian packages are outdated (1.4.1 version for Debian sarge). Current Debian stable release is shipped with with Kannel 1.4.3 version which is old as we all know. I have built Kannel 1.5.0 (development release) for Debian squeeze (current stable) and for i386 and amd64 architectures. It works without problem for more than three or four months. IMHO it would be useful for users to update Kannel download