Alright I did it. Actually I was making a mistake. I defined smsc-admin-id as well so I need to pass that in add-smsc call.
Thanks for the help guys. I love this facility, silly that I didn't know this existed for so long . On Thu, Nov 20, 2014 at 7:38 PM, Saurabh Pandey <sam.it.develo...@gmail.com> wrote: > Alvaro I tried this also. > > I added a new SMPP connection in Kannel.conf. I assign smsc-id = test-route > Then I hit this URL : > http://myserver:14000/add-smsc?password=mypassword&smsc=test-route > I got this response: Could not add smsc-id `test-route' > > Now if I restart Kannel, the test-route is loaded but I wanna do it > without restart, and my research indicates that Kannel has this feature. Am > I doing something wrong? > Please help. Thanks in advance. > > -Sam > > On Thu, Nov 20, 2014 at 7:29 PM, Alvaro Cornejo <cornejo.alv...@gmail.com> > wrote: > >> You don't pass those parameters in the url. You define this in kannel >> config file and the call will read them from the main config file and/or >> included files. >> >> Read documentation for details. >> >> Regards >> >> >> |-----------------------------------------------------------------------------------------------------------------| >> 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.com >> >> On Thu, Nov 20, 2014 at 8:04 AM, Saurabh Pandey < >> sam.it.develo...@gmail.com> wrote: >> >>> Hi Tapan, thanks for the response buddy. >>> >>> I tried this, it gave me an error "Could not add smsc-id `test-route'" >>> where test-route was the smsc parameter I passed. >>> Also, where would I pass IP, port, username/password, etc other >>> parameters of SMSC? >>> >>> If you could provide me any link to a thread where the solution is >>> posted, that'll help a lot. >>> >>> -Thanks >>> Sam >>> >>> On Thu, Nov 20, 2014 at 6:08 PM, Tapan Kumar Thapa < >>> tapan.thapa2...@gmail.com> wrote: >>> >>>> It has been answered many times... >>>> >>>> Try this... >>>> >>>> http://x.x.x.x:13008/add-smsc?password=xxxx&smsc=ABCD >>>> http://x.x.x.x:13008/stop-smsc?password=xxxx&smsc=ABCD >>>> http://x.x.x.x:13008/remove-smsc?password=xxxx&smsc=ABCD >>>> >>>> On Thu, Nov 20, 2014 at 6:05 PM, Saurabh Pandey < >>>> sam.it.develo...@gmail.com> wrote: >>>> >>>>> Hey guys, >>>>> >>>>> I am stuck in a scenario where I need to add SMSC in kannel without >>>>> restarting it. Normally Kannel has to be restarted so it can load the new >>>>> CONF file, which contains newly added SMSC. But is there a way I can do >>>>> this without restarting kannel and disturbing existing online SMPP >>>>> connections? >>>>> >>>>> I read something called add-smsc in Kannel doc. Is this relevant? But >>>>> this accepts only single parameter. >>>>> >>>>> If anybody knows anything related to this, please help. Any guidance >>>>> would be highly appreciated >>>>> >>>>> -Thanks >>>>> Sam >>>>> >>>> >>>> >>> >> >