HomeHelp To Setup Kannel As SMSC
12/17/2017

Help To Setup Kannel As SMSC

Kannel Setup Guide.pdf. Instruction set in order to setup Kannel using a pre-packaged. Is to have direct access to your operator’s SMSC.

Help To Setup Kannel As SMSC

Hi, I am new to Kannel and am trying to set it up to send and receive SMSs. I am having some problems and would really appreciate any help I can get. I am running on Ubuntu 7.10 with Kannel 1.4.1 loaded via apt-get. I have also modified the /etc/default/kannel file to start the smsbox instead of the wapbox. Kannel comes up just fine and I can use the http interface to obtain a status of the server but, I am not able to send a message (no receive attempts have been made to date) and it appears that Kannel has not been able to connect to the modem yet. I am committed to a modem that I have not seen in any of the discussions to date.

It is a Multitech MTCBA-G-EN-F4 quad-band GPRS modem. This modem is an ethernet modem and plugs directly into my router. I have been able to connect to the modem and send an SMS via MicroSoft Hyper Terminal. This worked well so I feel confident that I have the IP address and port to communicate with the modem correct. I did have to go in and turn off PPP in the modem configuration in order to send via Hyper Terminal.

Help To Setup Kannel As SMSC

I am not very familiar with all of the terms and protocols in the cell / modem / SMS world yet so I do not understand the implications of turning off PPP and do not know if this is affecting Kannel in some way. I have set my config file up (I hope) to handle a raw tcp connection. I did note that the manual says the driver has never been tested in telnet mode. I'm not quite sure what that implies.

I believe the connection via MS Hyper Terminal is telnet. For the modems sections of the config file I have simply included the modems.conf file that was installed with Kannel. I am not sure just which parameters need to set in a modem config so, I have hoped that the default would work. However, it appears that it does not.

The SMSC connections section of the status only ever show 'connecting'. Does anyone understand what would be needed to make this modem work? Are their more detailed design docs that show state diagrams and config file requirements (especially for the modem) to help me figure out just what is missing from my setup? Thank you for any help.

My config file and other status / responses are below When I attempt to send an SMS, the http response from Kannel is: 3: Queued for later delivery When I request a server status I see the following: Kannel bearerbox version `1.4.1'. Build `Nov 11 2006 21:58:18', compiler `4.1.2 20061103 (prerelease) (Ubuntu 4.1.1-18ubuntu2)'. System Linux, release 2.6.22-14-generic, version #1 SMP Tue Feb 12 02:46:46 UTC 2008, machine x86_64.

Hostname message1, IP. Libxml version Using OpenSSL 0.9.8b 04 May 2006. Compiled with MySQL 5.0.26, using MySQL Using native malloc. Your modem is not connected at all. As far as I know, I think, modem type should not be auto, instead you should give the specific name for the type.

If you have some errors in the log file attach it. Lets try if some mistake is found there.

I suggest you to remove the following parameters and try connecting: allowed-smsc-id = vzn00;vzn01 device = rawtcp connect-allow-ip = ----------------- the following is the configuration i use for my modem ( nokia-30) and it works fine. Group = smsc smsc = at smsc-id=at_smsc modemtype = nokiaphone device=/dev/ttyS0 my-number= log-file=/SMSLOGS/smsc.log log-level=0 msg-id-type=1 validityperiod=167 ##validityperiod for 24 hours. On Mon, May 5, 2008 at 11:26 AM, Tony Kirkham wrote: Hi, I am new to Kannel and am trying to set it up to send and receive SMSs. I am having some problems and would really appreciate any help I can get. I am running on Ubuntu 7.10 with Kannel 1.4.1 loaded via apt-get. I have also modified the /etc/default/kannel file to start the smsbox instead of the wapbox.

Kannel comes up just fine and I can use the http interface to obtain a status of the server but, I am not able to send a message (no receive attempts have been made to date) and it appears that Kannel has not been able to connect to the modem yet. I am committed to a modem that I have not seen in any of the discussions to date. It is a Multitech MTCBA-G-EN-F4 quad-band GPRS modem. This modem is an ethernet modem and plugs directly into my router. I have been able to connect to the modem and send an SMS via MicroSoft Hyper Terminal. This worked well so I feel confident that I have the IP address and port to communicate with the modem correct.

I did have to go in and turn off PPP in the modem configuration in order to send via Hyper Terminal. I am not very familiar with all of the terms and protocols in the cell / modem / SMS world yet so I do not understand the implications of turning off PPP and do not know if this is affecting Kannel in some way. Selection Criteria In Dental Radiography Free.

I have set my config file up (I hope) to handle a raw tcp connection. I did note that the manual says the driver has never been tested in telnet mode. I'm not quite sure what that implies. I believe the connection via MS Hyper Terminal is telnet. For the modems sections of the config file I have simply included the modems.conf file that was installed with Kannel. I am not sure just which parameters need to set in a modem config so, I have hoped that the default would work. However, it appears that it does not.

The SMSC connections section of the status only ever show 'connecting'. Does anyone understand what would be needed to make this modem work? Are their more detailed design docs that show state diagrams and config file requirements (especially for the modem) to help me figure out just what is missing from my setup? Thank you for any help. Madden 08 Pc Game Controls Keyboard Shortcuts.

My config file and other status / responses are below When I attempt to send an SMS, the http response from Kannel is: 3: Queued for later delivery When I request a server status I see the following: Kannel bearerbox version `1.4.1'. Build `Nov 11 2006 21:58:18', compiler `4.1.2 20061103 (prerelease) (Ubuntu 4.1.1-18ubuntu2)'. System Linux, release 2.6.22-14-generic, version #1 SMP Tue Feb 12 02:46:46 UTC 2008, machine x86_64. Hostname message1, IP. Libxml version Using OpenSSL 0.9.8b 04 May 2006.

Compiled with MySQL 5.0.26, using MySQL Using native malloc. On Mon, May 5, 2008 at 11:26 AM, Tony Kirkham wrote: Hi, I am new to Kannel and am trying to set it up to send and receive SMSs. I am having some problems and would really appreciate any help I can get. I am running on Ubuntu 7.10 with Kannel 1.4.1 loaded via apt-get.

I have also modified the /etc/default/kannel file to start the smsbox instead of the wapbox. Kannel comes up just fine and I can use the http interface to obtain a status of the server but, I am not able to send a message (no receive attempts have been made to date) and it appears that Kannel has not been able to connect to the modem yet. I am committed to a modem that I have not seen in any of the discussions to date. It is a Multitech MTCBA-G-EN-F4 quad-band GPRS modem.

This modem is an ethernet modem and plugs directly into my router. I have been able to connect to the modem and send an SMS via MicroSoft Hyper Terminal. This worked well so I feel confident that I have the IP address and port to communicate with the modem correct. I did have to go in and turn off PPP in the modem configuration in order to send via Hyper Terminal. I am not very familiar with all of the terms and protocols in the cell / modem / SMS world yet so I do not understand the implications of turning off PPP and do not know if this is affecting Kannel in some way. I have set my config file up (I hope) to handle a raw tcp connection.

I did note that the manual says the driver has never been tested in telnet mode. I'm not quite sure what that implies. I believe the connection via MS Hyper Terminal is telnet. For the modems sections of the config file I have simply included the modems.conf file that was installed with Kannel. I am not sure just which parameters need to set in a modem config so, I have hoped that the default would work. However, it appears that it does not.

The SMSC connections section of the status only ever show 'connecting'. Does anyone understand what would be needed to make this modem work? Are their more detailed design docs that show state diagrams and config file requirements (especially for the modem) to help me figure out just what is missing from my setup? Thank you for any help. My config file and other status / responses are below When I attempt to send an SMS, the http response from Kannel is: 3: Queued for later delivery When I request a server status I see the following: Kannel bearerbox version `1.4.1'. Build `Nov 11 2006 21:58:18', compiler `4.1.2 20061103 (prerelease) (Ubuntu 4.1.1-18ubuntu2)'.

System Linux, release 2.6.22-14-generic, version #1 SMP Tue Feb 12 02:46:46 UTC 2008, machine x86_64. Hostname message1, IP. Libxml version Using OpenSSL 0.9.8b 04 May 2006. Compiled with MySQL 5.0.26, using MySQL Using native malloc.

Thank you, I feel that I am making some progress. Still not there yet though. I have made the following mods to my config file: # in the at smsc group modemtype = wavecom. Log-file = '/var/log/kannel/vzn00.log' # at the bottom of the file group = modems id = wavecom name = Wavecom detect-string = 'WAVECOM' init-string = 'AT+CNMI=2,2,0,1,0' #reset-string = 'AT+CFUN=1' speed = 9600 I have attempted to play with the modem parameters a little without much success by using the examples in other setup help requests. ############ telnet session ######### I can telnet to the modem and execute commands. Logged in successfully at OK ati WAVECOM MODEM MULTIBAND G850 1900 OK at+cnmi=?

+CNMI: (0-3),(0-3),(0-3),(0-2),(0,1) OK at+cfun=? +CFUN: (0,1),(0,1) OK >From the above, it appears that the commands that I have in the config file are at least recognized by the modem. Whether they are correct or not remains to be seen.

I included the speed parameter in the modems group because it looks like kannel is not able to detect the modem speed. On 5/6/08, Tony Kirkham wrote: I have not been able to try speed=0 yet but, I will. However, in the log it looks like it was already autodetecting, even after I gave it a speed. Am I reading that incorrectly?

I have double and triple checked to make sure that the IP address and port number are the same that I use when I successfully telnet into the modem. I have recently noticed that the parameters 'smsc-username' and 'smsc-password' are not listed in the AT SMSC (GSM modem) section of the manual while they are listed in the other SMSC sections. This tends to make me think that, perhaps, the AT SMSC driver does not pass username and password. Is this the case? With your ethernet setup did you need a username and password?

When I telnet to the modem I have to enter a username and password so I am pretty sure that Kannel would need to use them too. Just some thoughts. I will get back to you with the results of setting the speed to 0. Thank you very much, -Tony.

inserted by FC2 system