Re: Route modem as SMS Sender
Dear Rene, I will try first and find out the solution also example. Thank you On Fri, Jun 4, 2010 at 12:52 AM, Rene Kluwen rene.klu...@chimit.nl wrote: Look up allowed-smsc-id in the Kannel users guide. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Aan Isnaini - Gmail Sent: donderdag 3 juni 2010 6:11 To: Nikos Balkanas Cc: users@kannel.org Subject: Re: Route modem as SMS Sender Dear Nikos, After trial for few days, I still got negative result. below is the kannel.conf and url to send the SMS --- kannel.conf #core group = core admin-port = 13000 smsbox-port = 13001 admin-password = adminpwd status-password = statuspwd admin-deny-ip = admin-allow-ip = 127.0.0.1 log-file = var/log/kannel/bearerbox.log log-level = 1 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 access-log = /var/log/kannel/access.log store-file = /var/log/kannel/kannel.store #dlr-storage = mysql #smsc #wavecom 1 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom1 modemtype = wavecom device = /dev/ttyS0 speed = 115200 #pin = 1234 #include = /etc/modems.conf #wavecom 2 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom2 modemtype = wavecom device = /dev/ttyS1 speed = 115200 #pin = 1234 #include = /etc/modems.conf #wavecom 3 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom3 modemtype = wavecom device = /dev/ttyUSB0 speed = 115200 #pin = 1234 #include = /etc/modems.conf #modem group = modems id = wavecom detect-string = WAVECOM message-storage = SM init-string = AT+CNMI=2,1,0,0,0;+CMEE=1 #init-string = AT+CNMI=2,2,0,0,0;+CMEE=1 #smsbox group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 #smsbox-id = wavecom sendsms-chars = 0123456789 +- global-sender = +628110 log-file = /var/log/kannel/smsbox.log log-level = 1 #send-sms users group = sendsms-user username = sms password = smspwd #services group = sms-service keyword = default #accept-x-kannel-headers = true max-messages = 0 # 0 no reply assume-plain-text = true concatenation = true catch-all = true get-url = http://localhost/tsg/modem?sender=%pmessage=%a; - url to send SMS is: http://127.0.0.1:13013/cgi-bin/sendsms?username=smspassword=smspwdsmsc=wavecom3to=0811918808text=test I need smsc=wavecom3 only act as sender by put parameter smsc as above, but the result is seem randomly when send sms (random using wavecom1, wavecom2 and wavecom3) Looking forward to have advice and help to fix the problem. Thank you Best Regard AI 2010/5/29 Nikos Balkanas nbalka...@gmail.com: Hi, I think the correct variable is smsc=xxx in your send-url, not smsc-id=xxx. BR, Nikos - Original Message - From: Alvaro Cornejo cornejo.alv...@gmail.com To: aan.isna...@gmail.com Cc: users@kannel.org Sent: Friday, May 28, 2010 4:29 PM Subject: Re: Route modem as SMS Sender use smsc-id=xxx in your sendsms url as well as prefered/denied smsc parameters in smsc configs. Check manual for details Regards Alvaro |-| 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 Fri, May 28, 2010 at 3:28 AM, Aan Isnaini aan.isna...@gmail.com wrote: Dear All, I have 3 modems connected to kannel. how to choose / route the modem as sender when I send SMS? Is possible to choose which one modem will send the SMS? Looking forward to have advice and example. Thank you PIN: 21C3628D Powered by Telkomsel BlackBerry®
RE: Route modem as SMS Sender
In short: If you have smsc-id = wavecom1 in your group = smsc, also put allowed-smsc-id = wavecom1 in the same group. Do this for all your smsc groups. -Original Message- From: Aan Isnaini - Gmail [mailto:aan.isna...@gmail.com] Sent: vrijdag 4 juni 2010 13:02 To: Rene Kluwen Cc: Nikos Balkanas; users@kannel.org Subject: Re: Route modem as SMS Sender Dear Rene, I will try first and find out the solution also example. Thank you On Fri, Jun 4, 2010 at 12:52 AM, Rene Kluwen rene.klu...@chimit.nl wrote: Look up allowed-smsc-id in the Kannel users guide. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Aan Isnaini - Gmail Sent: donderdag 3 juni 2010 6:11 To: Nikos Balkanas Cc: users@kannel.org Subject: Re: Route modem as SMS Sender Dear Nikos, After trial for few days, I still got negative result. below is the kannel.conf and url to send the SMS --- kannel.conf #core group = core admin-port = 13000 smsbox-port = 13001 admin-password = adminpwd status-password = statuspwd admin-deny-ip = admin-allow-ip = 127.0.0.1 log-file = var/log/kannel/bearerbox.log log-level = 1 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 access-log = /var/log/kannel/access.log store-file = /var/log/kannel/kannel.store #dlr-storage = mysql #smsc #wavecom 1 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom1 modemtype = wavecom device = /dev/ttyS0 speed = 115200 #pin = 1234 #include = /etc/modems.conf #wavecom 2 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom2 modemtype = wavecom device = /dev/ttyS1 speed = 115200 #pin = 1234 #include = /etc/modems.conf #wavecom 3 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom3 modemtype = wavecom device = /dev/ttyUSB0 speed = 115200 #pin = 1234 #include = /etc/modems.conf #modem group = modems id = wavecom detect-string = WAVECOM message-storage = SM init-string = AT+CNMI=2,1,0,0,0;+CMEE=1 #init-string = AT+CNMI=2,2,0,0,0;+CMEE=1 #smsbox group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 #smsbox-id = wavecom sendsms-chars = 0123456789 +- global-sender = +628110 log-file = /var/log/kannel/smsbox.log log-level = 1 #send-sms users group = sendsms-user username = sms password = smspwd #services group = sms-service keyword = default #accept-x-kannel-headers = true max-messages = 0 # 0 no reply assume-plain-text = true concatenation = true catch-all = true get-url = http://localhost/tsg/modem?sender=%pmessage=%a; - url to send SMS is: http://127.0.0.1:13013/cgi-bin/sendsms?username=smspassword=smspwdsmsc=wavecom3to=0811918808text=test I need smsc=wavecom3 only act as sender by put parameter smsc as above, but the result is seem randomly when send sms (random using wavecom1, wavecom2 and wavecom3) Looking forward to have advice and help to fix the problem. Thank you Best Regard AI 2010/5/29 Nikos Balkanas nbalka...@gmail.com: Hi, I think the correct variable is smsc=xxx in your send-url, not smsc-id=xxx. BR, Nikos - Original Message - From: Alvaro Cornejo cornejo.alv...@gmail.com To: aan.isna...@gmail.com Cc: users@kannel.org Sent: Friday, May 28, 2010 4:29 PM Subject: Re: Route modem as SMS Sender use smsc-id=xxx in your sendsms url as well as prefered/denied smsc parameters in smsc configs. Check manual for details Regards Alvaro |-| 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 Fri, May 28, 2010 at 3:28 AM, Aan Isnaini aan.isna...@gmail.com wrote: Dear All, I have 3 modems connected to kannel. how to choose / route the modem as sender when I send SMS? Is possible to choose which one modem will send the SMS? Looking forward to have advice and example. Thank you PIN: 21C3628D Powered by Telkomsel BlackBerry®
RE: Route modem as SMS Sender
Look up allowed-smsc-id in the Kannel users guide. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Aan Isnaini - Gmail Sent: donderdag 3 juni 2010 6:11 To: Nikos Balkanas Cc: users@kannel.org Subject: Re: Route modem as SMS Sender Dear Nikos, After trial for few days, I still got negative result. below is the kannel.conf and url to send the SMS --- kannel.conf #core group = core admin-port = 13000 smsbox-port = 13001 admin-password = adminpwd status-password = statuspwd admin-deny-ip = admin-allow-ip = 127.0.0.1 log-file = var/log/kannel/bearerbox.log log-level = 1 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 access-log = /var/log/kannel/access.log store-file = /var/log/kannel/kannel.store #dlr-storage = mysql #smsc #wavecom 1 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom1 modemtype = wavecom device = /dev/ttyS0 speed = 115200 #pin = 1234 #include = /etc/modems.conf #wavecom 2 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom2 modemtype = wavecom device = /dev/ttyS1 speed = 115200 #pin = 1234 #include = /etc/modems.conf #wavecom 3 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom3 modemtype = wavecom device = /dev/ttyUSB0 speed = 115200 #pin = 1234 #include = /etc/modems.conf #modem group = modems id = wavecom detect-string = WAVECOM message-storage = SM init-string = AT+CNMI=2,1,0,0,0;+CMEE=1 #init-string = AT+CNMI=2,2,0,0,0;+CMEE=1 #smsbox group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 #smsbox-id = wavecom sendsms-chars = 0123456789 +- global-sender = +628110 log-file = /var/log/kannel/smsbox.log log-level = 1 #send-sms users group = sendsms-user username = sms password = smspwd #services group = sms-service keyword = default #accept-x-kannel-headers = true max-messages = 0 # 0 no reply assume-plain-text = true concatenation = true catch-all = true get-url = http://localhost/tsg/modem?sender=%pmessage=%a; - url to send SMS is: http://127.0.0.1:13013/cgi-bin/sendsms?username=smspassword=smspwdsmsc=wavecom3to=0811918808text=test I need smsc=wavecom3 only act as sender by put parameter smsc as above, but the result is seem randomly when send sms (random using wavecom1, wavecom2 and wavecom3) Looking forward to have advice and help to fix the problem. Thank you Best Regard AI 2010/5/29 Nikos Balkanas nbalka...@gmail.com: Hi, I think the correct variable is smsc=xxx in your send-url, not smsc-id=xxx. BR, Nikos - Original Message - From: Alvaro Cornejo cornejo.alv...@gmail.com To: aan.isna...@gmail.com Cc: users@kannel.org Sent: Friday, May 28, 2010 4:29 PM Subject: Re: Route modem as SMS Sender use smsc-id=xxx in your sendsms url as well as prefered/denied smsc parameters in smsc configs. Check manual for details Regards Alvaro |-| 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 Fri, May 28, 2010 at 3:28 AM, Aan Isnaini aan.isna...@gmail.com wrote: Dear All, I have 3 modems connected to kannel. how to choose / route the modem as sender when I send SMS? Is possible to choose which one modem will send the SMS? Looking forward to have advice and example. Thank you PIN: 21C3628D Powered by Telkomsel BlackBerry®
Re: Route modem as SMS Sender
Hi, When posting always include logs at maximum (debug) detail. Also describe specific problem. Negative result doesn't explain much. Besides I see nowhere allow/deny/prefer smscs in your configuration. BR, Nikos - Original Message - From: Aan Isnaini - Gmail aan.isna...@gmail.com To: Nikos Balkanas nbalka...@gmail.com Cc: Alvaro Cornejo cornejo.alv...@gmail.com; users@kannel.org Sent: Thursday, June 03, 2010 7:10 AM Subject: Re: Route modem as SMS Sender Dear Nikos, After trial for few days, I still got negative result. below is the kannel.conf and url to send the SMS --- kannel.conf #core group = core admin-port = 13000 smsbox-port = 13001 admin-password = adminpwd status-password = statuspwd admin-deny-ip = admin-allow-ip = 127.0.0.1 log-file = var/log/kannel/bearerbox.log log-level = 1 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 access-log = /var/log/kannel/access.log store-file = /var/log/kannel/kannel.store #dlr-storage = mysql #smsc #wavecom 1 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom1 modemtype = wavecom device = /dev/ttyS0 speed = 115200 #pin = 1234 #include = /etc/modems.conf #wavecom 2 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom2 modemtype = wavecom device = /dev/ttyS1 speed = 115200 #pin = 1234 #include = /etc/modems.conf #wavecom 3 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom3 modemtype = wavecom device = /dev/ttyUSB0 speed = 115200 #pin = 1234 #include = /etc/modems.conf #modem group = modems id = wavecom detect-string = WAVECOM message-storage = SM init-string = AT+CNMI=2,1,0,0,0;+CMEE=1 #init-string = AT+CNMI=2,2,0,0,0;+CMEE=1 #smsbox group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 #smsbox-id = wavecom sendsms-chars = 0123456789 +- global-sender = +628110 log-file = /var/log/kannel/smsbox.log log-level = 1 #send-sms users group = sendsms-user username = sms password = smspwd #services group = sms-service keyword = default #accept-x-kannel-headers = true max-messages = 0 # 0 no reply assume-plain-text = true concatenation = true catch-all = true get-url = http://localhost/tsg/modem?sender=%pmessage=%a; - url to send SMS is: http://127.0.0.1:13013/cgi-bin/sendsms?username=smspassword=smspwdsmsc=wavecom3to=0811918808text=test I need smsc=wavecom3 only act as sender by put parameter smsc as above, but the result is seem randomly when send sms (random using wavecom1, wavecom2 and wavecom3) Looking forward to have advice and help to fix the problem. Thank you Best Regard AI 2010/5/29 Nikos Balkanas nbalka...@gmail.com: Hi, I think the correct variable is smsc=xxx in your send-url, not smsc-id=xxx. BR, Nikos - Original Message - From: Alvaro Cornejo cornejo.alv...@gmail.com To: aan.isna...@gmail.com Cc: users@kannel.org Sent: Friday, May 28, 2010 4:29 PM Subject: Re: Route modem as SMS Sender use smsc-id=xxx in your sendsms url as well as prefered/denied smsc parameters in smsc configs. Check manual for details Regards Alvaro |-| 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 Fri, May 28, 2010 at 3:28 AM, Aan Isnaini aan.isna...@gmail.com wrote: Dear All, I have 3 modems connected to kannel. how to choose / route the modem as sender when I send SMS? Is possible to choose which one modem will send the SMS? Looking forward to have advice and example. Thank you PIN: 21C3628D Powered by Telkomsel BlackBerry®
Re: Route modem as SMS Sender
Dear Nikos, After trial for few days, I still got negative result. below is the kannel.conf and url to send the SMS --- kannel.conf #core group = core admin-port = 13000 smsbox-port = 13001 admin-password = adminpwd status-password = statuspwd admin-deny-ip = admin-allow-ip = 127.0.0.1 log-file = var/log/kannel/bearerbox.log log-level = 1 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 access-log = /var/log/kannel/access.log store-file = /var/log/kannel/kannel.store #dlr-storage = mysql #smsc #wavecom 1 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom1 modemtype = wavecom device = /dev/ttyS0 speed = 115200 #pin = 1234 #include = /etc/modems.conf #wavecom 2 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom2 modemtype = wavecom device = /dev/ttyS1 speed = 115200 #pin = 1234 #include = /etc/modems.conf #wavecom 3 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom3 modemtype = wavecom device = /dev/ttyUSB0 speed = 115200 #pin = 1234 #include = /etc/modems.conf #modem group = modems id = wavecom detect-string = WAVECOM message-storage = SM init-string = AT+CNMI=2,1,0,0,0;+CMEE=1 #init-string = AT+CNMI=2,2,0,0,0;+CMEE=1 #smsbox group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 #smsbox-id = wavecom sendsms-chars = 0123456789 +- global-sender = +628110 log-file = /var/log/kannel/smsbox.log log-level = 1 #send-sms users group = sendsms-user username = sms password = smspwd #services group = sms-service keyword = default #accept-x-kannel-headers = true max-messages = 0 # 0 no reply assume-plain-text = true concatenation = true catch-all = true get-url = http://localhost/tsg/modem?sender=%pmessage=%a; - url to send SMS is: http://127.0.0.1:13013/cgi-bin/sendsms?username=smspassword=smspwdsmsc=wavecom3to=0811918808text=test I need smsc=wavecom3 only act as sender by put parameter smsc as above, but the result is seem randomly when send sms (random using wavecom1, wavecom2 and wavecom3) Looking forward to have advice and help to fix the problem. Thank you Best Regard AI 2010/5/29 Nikos Balkanas nbalka...@gmail.com: Hi, I think the correct variable is smsc=xxx in your send-url, not smsc-id=xxx. BR, Nikos - Original Message - From: Alvaro Cornejo cornejo.alv...@gmail.com To: aan.isna...@gmail.com Cc: users@kannel.org Sent: Friday, May 28, 2010 4:29 PM Subject: Re: Route modem as SMS Sender use smsc-id=xxx in your sendsms url as well as prefered/denied smsc parameters in smsc configs. Check manual for details Regards Alvaro |-| 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 Fri, May 28, 2010 at 3:28 AM, Aan Isnaini aan.isna...@gmail.com wrote: Dear All, I have 3 modems connected to kannel. how to choose / route the modem as sender when I send SMS? Is possible to choose which one modem will send the SMS? Looking forward to have advice and example. Thank you PIN: 21C3628D Powered by Telkomsel BlackBerry®
Re: Route modem as SMS Sender
use smsc-id=xxx in your sendsms url as well as prefered/denied smsc parameters in smsc configs. Check manual for details Regards Alvaro |-| 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 Fri, May 28, 2010 at 3:28 AM, Aan Isnaini aan.isna...@gmail.com wrote: Dear All, I have 3 modems connected to kannel. how to choose / route the modem as sender when I send SMS? Is possible to choose which one modem will send the SMS? Looking forward to have advice and example. Thank you PIN: 21C3628D Powered by Telkomsel BlackBerry®
Re: Route modem as SMS Sender
Hi, I think the correct variable is smsc=xxx in your send-url, not smsc-id=xxx. BR, Nikos - Original Message - From: Alvaro Cornejo cornejo.alv...@gmail.com To: aan.isna...@gmail.com Cc: users@kannel.org Sent: Friday, May 28, 2010 4:29 PM Subject: Re: Route modem as SMS Sender use smsc-id=xxx in your sendsms url as well as prefered/denied smsc parameters in smsc configs. Check manual for details Regards Alvaro |-| 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 Fri, May 28, 2010 at 3:28 AM, Aan Isnaini aan.isna...@gmail.com wrote: Dear All, I have 3 modems connected to kannel. how to choose / route the modem as sender when I send SMS? Is possible to choose which one modem will send the SMS? Looking forward to have advice and example. Thank you PIN: 21C3628D Powered by Telkomsel BlackBerry®