OTA change phone status
Hi All, Can I use Kannel to send OTA sms, that change the phone status to silent or another profile ? any Ideas how? many thanks for your kind help. Regards, hafez
Re: How can i install kannel with Cygwin
Hi David, Please try the following steps:- a) Download Cygwin and Kannel to a drive on your PC b) While installing Cygwin make sure you have all the libraries specially gcc and make installed. c) Unzip the Kannel file. d) Open Cygwin and on the command prompt go to the location wherein your Kannel folder is located (somthing like c:/kannel//gateway 1-4.3 and type ./configure e) once configuration is complete, type make f) Once make is over. write make bindir = c:/kannel//gateway 1-4.3/gw install and let it install Hope this helps. Please note that you have to put in the correct path. Regards Siddhartha On 11/3/09, Rodrigo Cremaschi rodrigo.cremas...@gmail.com wrote: Please, avoid such general questions. Otherwise, you will get answers like this one: Install Cygwin, then compile Kannel. Regards. 2009/11/3 David G. Navarro Ferrer dgnava...@estudiantes.uci.cu: How can i install kannel with Cygwin? -- El universitario de estos tiempos está llamado a convertir su espacio en un espacio productivo
Re: OTA change phone status
Hi, Absolutely. Please refer to User's guide on how to configure OTA provisioning for kannel. BR, Nikos - Original Message - From: hafez ahmad To: users@kannel.org Sent: Wednesday, November 04, 2009 10:23 AM Subject: OTA change phone status Hi All, Can I use Kannel to send OTA sms, that change the phone status to silent or another profile ? any Ideas how? many thanks for your kind help. Regards, hafez
Re: getting fakesmsc working to spoof MO campaign
Thanks Nikos, I'm not sure exactly what I was doing wrong, but I have a sample config that allows 2 x fake SMSC connections for both MO and MT messages which is exactly what I wanted. This is running on Ubuntu 8.0.4 and kannel 1.4.3 kannel conf: group = core admin-port = 13000 admin-password = bar admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1;192.168.*.* log-file = /var/log/kannel/bearerbox.log box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 smsbox-port = 13001 dlr-storage = internal log-level=0 group = smsbox bearerbox-host = 127.0.0.1 log-file = /var/log/kannel/smsbox.log access-log = /var/log/kannel/access.log global-sender=edkan log-level=0 sendsms-port=13013 #Fake SMSC1 group = smsc smsc = fake smsc-id = FAKE1 port = 13005 #Fake SMSC2 group = smsc smsc = fake smsc-id = FAKE2 port = 13006 #default MO handler group = sms-service keyword = default #text = No action required #mc=%ccharset=%C get-url = http://192.168.0.175/?kannel_id=%ito=%Pfrom=%pbody=%a; omit-empty = true Now I can connect as the fake smscs using these commands fake1 (port 13005) /usr/lib/kannel/test/fakesmsc -r 13005 -i 0.1 -m 10 123 999 text itn1 fake2 (port 13006) /usr/lib/kannel/test/fakesmsc -r 13006 -i 0.1 -m 10 123 999 text itn2 It would be nice to not just send the same message all the time, but hey it's great for load testing. I got 700+ MO messages per second!!! wow!!! Nikos Balkanas wrote: Hi, Kannel uses queues to process messages. There are a few static threads that service those queues, but in the end, kannel is single-threaded, i.e. there is only 1 send and 1 receive thread, but they are very efficient due to the queues. Have you used the test/fakesmsc client? If you type: fakesmsc --help you will get lots of examples. How are you invoking it? BR, Nikos - Original Message - From: Andrew Boag r...@red.geek.nz To: users@kannel.org Sent: Monday, November 02, 2009 2:22 PM Subject: getting fakesmsc working to spoof MO campaign We have kannel 1.4.1 running on Ubuntu 8.0.4 server. All going well and we've had a lot to do with kannel so it's doing all we need it to do. We have built an sms gateway application on top of kannel that takes care of a lot of the authentication and other bits and pieces and we want to stress test this application in terms of how many MO messages it can process per second. It's easy enough to spoof kannel's MO behaviour using siege or a script (it's just sending HTTP delivery requests in the end). However, I would really like to have kannel itself delivering the MOs from a fake smsc. I've tried to get the fakesmsc working as a generator of MO messages but no joy. Can anyone give me any examples? Also, how many threads will kannel create (meaning concurrent delivery threads) to our delivery script? Thanks for your help. cheers
Re: getting fakesmsc working to spoof MO campaign
Hi, Please look at the User's guide, there is a special section to fakesmsc. you can get a lot of insight also by typing: test/fakesmsc -h There you can see that you can randomize all portions of the request, therefore sending different SMS to different recipients and senders. Also to use it in MT mode you have to use: -m 0 All these are explained in detail in the guide and online help. Please take the time to read all available help before adressing the list. BR, Nikos - Original Message - From: Andrew Boag r...@red.geek.nz To: Nikos Balkanas n...@amdtelecom.net Cc: users@kannel.org Sent: Wednesday, November 04, 2009 1:55 PM Subject: Re: getting fakesmsc working to spoof MO campaign Thanks Nikos, I'm not sure exactly what I was doing wrong, but I have a sample config that allows 2 x fake SMSC connections for both MO and MT messages which is exactly what I wanted. This is running on Ubuntu 8.0.4 and kannel 1.4.3 kannel conf: group = core admin-port = 13000 admin-password = bar admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1;192.168.*.* log-file = /var/log/kannel/bearerbox.log box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 smsbox-port = 13001 dlr-storage = internal log-level=0 group = smsbox bearerbox-host = 127.0.0.1 log-file = /var/log/kannel/smsbox.log access-log = /var/log/kannel/access.log global-sender=edkan log-level=0 sendsms-port=13013 #Fake SMSC1 group = smsc smsc = fake smsc-id = FAKE1 port = 13005 #Fake SMSC2 group = smsc smsc = fake smsc-id = FAKE2 port = 13006 #default MO handler group = sms-service keyword = default #text = No action required #mc=%ccharset=%C get-url = http://192.168.0.175/?kannel_id=%ito=%Pfrom=%pbody=%a; omit-empty = true Now I can connect as the fake smscs using these commands fake1 (port 13005) /usr/lib/kannel/test/fakesmsc -r 13005 -i 0.1 -m 10 123 999 text itn1 fake2 (port 13006) /usr/lib/kannel/test/fakesmsc -r 13006 -i 0.1 -m 10 123 999 text itn2 It would be nice to not just send the same message all the time, but hey it's great for load testing. I got 700+ MO messages per second!!! wow!!! Nikos Balkanas wrote: Hi, Kannel uses queues to process messages. There are a few static threads that service those queues, but in the end, kannel is single-threaded, i.e. there is only 1 send and 1 receive thread, but they are very efficient due to the queues. Have you used the test/fakesmsc client? If you type: fakesmsc --help you will get lots of examples. How are you invoking it? BR, Nikos - Original Message - From: Andrew Boag r...@red.geek.nz To: users@kannel.org Sent: Monday, November 02, 2009 2:22 PM Subject: getting fakesmsc working to spoof MO campaign We have kannel 1.4.1 running on Ubuntu 8.0.4 server. All going well and we've had a lot to do with kannel so it's doing all we need it to do. We have built an sms gateway application on top of kannel that takes care of a lot of the authentication and other bits and pieces and we want to stress test this application in terms of how many MO messages it can process per second. It's easy enough to spoof kannel's MO behaviour using siege or a script (it's just sending HTTP delivery requests in the end). However, I would really like to have kannel itself delivering the MOs from a fake smsc. I've tried to get the fakesmsc working as a generator of MO messages but no joy. Can anyone give me any examples? Also, how many threads will kannel create (meaning concurrent delivery threads) to our delivery script? Thanks for your help. cheers
Re: OTA change phone status
Hi, Thanks Nilkos for your kind feedback, but what I am asking for is the OTA can change the phone profile to silent or it is only used to download setting and software. Regards, Hafez 2009/11/4 Nikos Balkanas n...@amdtelecom.net Hi, Absolutely. Please refer to User's guide on how to configure OTA provisioning for kannel. BR, Nikos - Original Message - *From:* hafez ahmad hafezad...@gmail.com *To:* users@kannel.org *Sent:* Wednesday, November 04, 2009 10:23 AM *Subject:* OTA change phone status Hi All, Can I use Kannel to send OTA sms, that change the phone status to silent or another profile ? any Ideas how? many thanks for your kind help. Regards, hafez -- Hafez A.Ahmad Amman-Jordan mobile: 962-795708728 http://blog.hafezadnan.com
Re: OTA change phone status
You can send any OTA SMS via Kannel, it's up to terminal to support the action... -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com On Wed, Nov 4, 2009 at 4:27 PM, hafez ahmad hafezad...@gmail.com wrote: Hi, Thanks Nilkos for your kind feedback, but what I am asking for is the OTA can change the phone profile to silent or it is only used to download setting and software. Regards, Hafez 2009/11/4 Nikos Balkanas n...@amdtelecom.net Hi, Absolutely. Please refer to User's guide on how to configure OTA provisioning for kannel. BR, Nikos - Original Message - From: hafez ahmad To: users@kannel.org Sent: Wednesday, November 04, 2009 10:23 AM Subject: OTA change phone status Hi All, Can I use Kannel to send OTA sms, that change the phone status to silent or another profile ? any Ideas how? many thanks for your kind help. Regards, hafez -- Hafez A.Ahmad Amman-Jordan mobile: 962-795708728 http://blog.hafezadnan.com -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com
SMSC name conflict???
Hi guys, Is there any possibility to have conflict between two bearerbox processes running in paralel, having separate smpp connection but same SMSC name?? example: gprs-bill 2009-11-04 16:50:44 [5057] [6] DEBUG: SMPP[gprs-bill]: Sending enquire link: 2009-11-04 16:50:44 [5057] [6] DEBUG: SMPP PDU 0x9743758 dump: 2009-11-04 16:50:44 [5057] [6] DEBUG: type_name: enquire_link 2009-11-04 16:50:44 [5057] [6] DEBUG: command_id: 21 = 0x0015 2009-11-04 16:50:44 [5057] [6] DEBUG: command_status: 0 = 0x 2009-11-04 16:50:44 [5057] [6] DEBUG: sequence_number: 28 = 0x001c 2009-11-04 16:50:44 [5057] [6] DEBUG: SMPP PDU dump ends. I`m just doubting because I had some connection reset errors. Thanks
unsubscribe address=ka...@itmiracle.us
Fwd: SMSC name conflict???
More details: - a.conf group=smsc smsc=smpp smsc-id=gprs-bill interface-version=34 host=10.1.7.21 port=1600 system-id=a smsc-password=a system-type=a transceiver-mode=true - b.conf group=smsc smsc=smpp smsc-id=gprs-bill interface-version=34 host=10.1.7.21 port=1600 system-id=b smsc-password=b system-type=b transceiver-mode=true So, starting to bearerboxes (normally with different ports) may cause any problem if both conf files have same smsc-id? Thanks On Wed, Nov 4, 2009 at 5:43 PM, vijay shanker vijay.s...@gmail.com wrote: Can not be conformed. How many connection your SMMP service provider supports? Two bearer box may be running but on different ports. Try to find out or give more relevant details. Like what is your configuration? or what is the problem you have encountered. Regards, Vijay Shanker Dubey On Wed, Nov 4, 2009 at 9:22 PM, Elton Hoxha elt...@gmail.com wrote: Hi guys, Is there any possibility to have conflict between two bearerbox processes running in paralel, having separate smpp connection but same SMSC name?? example: gprs-bill 2009-11-04 16:50:44 [5057] [6] DEBUG: SMPP[gprs-bill]: Sending enquire link: 2009-11-04 16:50:44 [5057] [6] DEBUG: SMPP PDU 0x9743758 dump: 2009-11-04 16:50:44 [5057] [6] DEBUG: type_name: enquire_link 2009-11-04 16:50:44 [5057] [6] DEBUG: command_id: 21 = 0x0015 2009-11-04 16:50:44 [5057] [6] DEBUG: command_status: 0 = 0x 2009-11-04 16:50:44 [5057] [6] DEBUG: sequence_number: 28 = 0x001c 2009-11-04 16:50:44 [5057] [6] DEBUG: SMPP PDU dump ends. I`m just doubting because I had some connection reset errors. Thanks
Re: SMSC name conflict???
Elton I think it is more a problem from your SMSC provider. If they do allow you to have 2 -or more- connections to the same port or not. The connection resets can happen for multiple reasons including problems on any of the peers, the network (Lan/Wan) , etc. Hope helps |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Wed, Nov 4, 2009 at 11:56 AM, Elton Hoxha elt...@gmail.com wrote: More details: - a.conf group=smsc smsc=smpp smsc-id=gprs-bill interface-version=34 host=10.1.7.21 port=1600 system-id=a smsc-password=a system-type=a transceiver-mode=true - b.conf group=smsc smsc=smpp smsc-id=gprs-bill interface-version=34 host=10.1.7.21 port=1600 system-id=b smsc-password=b system-type=b transceiver-mode=true So, starting to bearerboxes (normally with different ports) may cause any problem if both conf files have same smsc-id? Thanks On Wed, Nov 4, 2009 at 5:43 PM, vijay shanker vijay.s...@gmail.com wrote: Can not be conformed. How many connection your SMMP service provider supports? Two bearer box may be running but on different ports. Try to find out or give more relevant details. Like what is your configuration? or what is the problem you have encountered. Regards, Vijay Shanker Dubey On Wed, Nov 4, 2009 at 9:22 PM, Elton Hoxha elt...@gmail.com wrote: Hi guys, Is there any possibility to have conflict between two bearerbox processes running in paralel, having separate smpp connection but same SMSC name?? example: gprs-bill 2009-11-04 16:50:44 [5057] [6] DEBUG: SMPP[gprs-bill]: Sending enquire link: 2009-11-04 16:50:44 [5057] [6] DEBUG: SMPP PDU 0x9743758 dump: 2009-11-04 16:50:44 [5057] [6] DEBUG: type_name: enquire_link 2009-11-04 16:50:44 [5057] [6] DEBUG: command_id: 21 = 0x0015 2009-11-04 16:50:44 [5057] [6] DEBUG: command_status: 0 = 0x 2009-11-04 16:50:44 [5057] [6] DEBUG: sequence_number: 28 = 0x001c 2009-11-04 16:50:44 [5057] [6] DEBUG: SMPP PDU dump ends. I`m just doubting because I had some connection reset errors. Thanks
Re: SMSC name conflict???
Thanks Alvaro but its a misundesrtanding. ITs not a matter of SMSC provider. Im just thinking from kannel point of view, considering the example I gave above. Actually both conenctions are live and running, but sometimes having interruption, connection reset by peer. When sending the enquiry link, kannel prints smsc name 2009-11-04 18:28:44 [5057] [6] DEBUG: SMPP[gprs-bill]: Sending enquire link: 2009-11-04 18:28:44 [5057] [6] DEBUG: SMPP PDU 0x973d3a8 dump: 2009-11-04 18:28:44 [5057] [6] DEBUG: type_name: enquire_link 2009-11-04 18:28:44 [5057] [6] DEBUG: command_id: 21 = 0x0015 2009-11-04 18:28:44 [5057] [6] DEBUG: command_status: 0 = 0x 2009-11-04 18:28:44 [5057] [6] DEBUG: sequence_number: 224 = 0x00e0 2009-11-04 18:28:44 [5057] [6] DEBUG: SMPP PDU dump ends. So by havving two processes by sending enqiry links or whatever with the same name gprs-bill, may be any problem? THanks On Wed, Nov 4, 2009 at 6:20 PM, Alvaro Cornejo cornejo.alv...@gmail.comwrote: Elton I think it is more a problem from your SMSC provider. If they do allow you to have 2 -or more- connections to the same port or not. The connection resets can happen for multiple reasons including problems on any of the peers, the network (Lan/Wan) , etc. Hope helps |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Wed, Nov 4, 2009 at 11:56 AM, Elton Hoxha elt...@gmail.com wrote: More details: - a.conf group=smsc smsc=smpp smsc-id=gprs-bill interface-version=34 host=10.1.7.21 port=1600 system-id=a smsc-password=a system-type=a transceiver-mode=true - b.conf group=smsc smsc=smpp smsc-id=gprs-bill interface-version=34 host=10.1.7.21 port=1600 system-id=b smsc-password=b system-type=b transceiver-mode=true So, starting to bearerboxes (normally with different ports) may cause any problem if both conf files have same smsc-id? Thanks On Wed, Nov 4, 2009 at 5:43 PM, vijay shanker vijay.s...@gmail.com wrote: Can not be conformed. How many connection your SMMP service provider supports? Two bearer box may be running but on different ports. Try to find out or give more relevant details. Like what is your configuration? or what is the problem you have encountered. Regards, Vijay Shanker Dubey On Wed, Nov 4, 2009 at 9:22 PM, Elton Hoxha elt...@gmail.com wrote: Hi guys, Is there any possibility to have conflict between two bearerbox processes running in paralel, having separate smpp connection but same SMSC name?? example: gprs-bill 2009-11-04 16:50:44 [5057] [6] DEBUG: SMPP[gprs-bill]: Sending enquire link: 2009-11-04 16:50:44 [5057] [6] DEBUG: SMPP PDU 0x9743758 dump: 2009-11-04 16:50:44 [5057] [6] DEBUG: type_name: enquire_link 2009-11-04 16:50:44 [5057] [6] DEBUG: command_id: 21 = 0x0015 2009-11-04 16:50:44 [5057] [6] DEBUG: command_status: 0 = 0x 2009-11-04 16:50:44 [5057] [6] DEBUG: sequence_number: 28 = 0x001c 2009-11-04 16:50:44 [5057] [6] DEBUG: SMPP PDU dump ends. I`m just doubting because I had some connection reset errors. Thanks
Re: SMSC name conflict???
Hi, From BB's point of view each process is agnostic of the other. Each process has its own sockets and cannot read the other's. There can be no mixup. BR, Nikos - Original Message - From: Elton Hoxha To: Alvaro Cornejo Cc: kannel users Sent: Wednesday, November 04, 2009 7:30 PM Subject: Re: SMSC name conflict??? Thanks Alvaro but its a misundesrtanding. ITs not a matter of SMSC provider. Im just thinking from kannel point of view, considering the example I gave above. Actually both conenctions are live and running, but sometimes having interruption, connection reset by peer. When sending the enquiry link, kannel prints smsc name 2009-11-04 18:28:44 [5057] [6] DEBUG: SMPP[gprs-bill]: Sending enquire link: 2009-11-04 18:28:44 [5057] [6] DEBUG: SMPP PDU 0x973d3a8 dump: 2009-11-04 18:28:44 [5057] [6] DEBUG: type_name: enquire_link 2009-11-04 18:28:44 [5057] [6] DEBUG: command_id: 21 = 0x0015 2009-11-04 18:28:44 [5057] [6] DEBUG: command_status: 0 = 0x 2009-11-04 18:28:44 [5057] [6] DEBUG: sequence_number: 224 = 0x00e0 2009-11-04 18:28:44 [5057] [6] DEBUG: SMPP PDU dump ends. So by havving two processes by sending enqiry links or whatever with the same name gprs-bill, may be any problem? THanks On Wed, Nov 4, 2009 at 6:20 PM, Alvaro Cornejo cornejo.alv...@gmail.com wrote: Elton I think it is more a problem from your SMSC provider. If they do allow you to have 2 -or more- connections to the same port or not. The connection resets can happen for multiple reasons including problems on any of the peers, the network (Lan/Wan) , etc. Hope helps |-| Envνe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perϊ, Mιxico y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Wed, Nov 4, 2009 at 11:56 AM, Elton Hoxha elt...@gmail.com wrote: More details: - a.conf group=smsc smsc=smpp smsc-id=gprs-bill interface-version=34 host=10.1.7.21 port=1600 system-id=a smsc-password=a system-type=a transceiver-mode=true - b.conf group=smsc smsc=smpp smsc-id=gprs-bill interface-version=34 host=10.1.7.21 port=1600 system-id=b smsc-password=b system-type=b transceiver-mode=true So, starting to bearerboxes (normally with different ports) may cause any problem if both conf files have same smsc-id? Thanks On Wed, Nov 4, 2009 at 5:43 PM, vijay shanker vijay.s...@gmail.com wrote: Can not be conformed. How many connection your SMMP service provider supports? Two bearer box may be running but on different ports. Try to find out or give more relevant details. Like what is your configuration? or what is the problem you have encountered. Regards, Vijay Shanker Dubey On Wed, Nov 4, 2009 at 9:22 PM, Elton Hoxha elt...@gmail.com wrote: Hi guys, Is there any possibility to have conflict between two bearerbox processes running in paralel, having separate smpp connection but same SMSC name?? example: gprs-bill 2009-11-04 16:50:44 [5057] [6] DEBUG: SMPP[gprs-bill]: Sending enquire link: 2009-11-04 16:50:44 [5057] [6] DEBUG: SMPP PDU 0x9743758 dump: 2009-11-04 16:50:44 [5057] [6] DEBUG: type_name: enquire_link 2009-11-04 16:50:44 [5057] [6] DEBUG: command_id: 21 = 0x0015 2009-11-04 16:50:44 [5057] [6] DEBUG: command_status: 0 = 0x 2009-11-04 16:50:44 [5057] [6] DEBUG: sequence_number: 28 = 0x001c 2009-11-04 16:50:44 [5057] [6] DEBUG: SMPP PDU dump ends. I`m just doubting because I had some connection reset errors. Thanks