Morning,

How about just saving another instance of the .conf file and put in all
your configurations there? In our company's configuration we have 4
different SMSCs that are connected to us so we had 4 different names of the
kannel.cof file for each of the SMSCs.

The good thing about this is that when one SMSC changes some configuration
info, you only have to kill/start their .conf file e.g. one of our SMSCs is
named Airtel so I just kill all instances of their boxes and run
*/etc/init.d/airtel
start* to restart its kannel instance.

Saludos

Ombongi Moraa fe



On 7 July 2012 18:43, <[email protected]> wrote:

> Send users mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://www.kannel.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
>    1. Re: configure to instances of kannel on different port
>       (Alvaro Cornejo)
>    2. WARNING: Cannot find SMSCConn for message to <67777>,
>       rejected. (Olutoyin Daniel)
>    3. not able to understand all the values of smsc operator
>       (alok srivastava)
>    4. RE: WARNING: Cannot find SMSCConn for message to <67777>,
>       rejected. (Rene Kluwen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 7 Jul 2012 08:19:59 -0500
> From: Alvaro Cornejo <[email protected]>
> To: Tapan Kumar Thapa <[email protected]>
> Cc: alok srivastava <[email protected]>, [email protected]
> Subject: Re: configure to instances of kannel on different port
> Message-ID:
>         <
> cao55ag_nzvseskdpm6qjbvdtqsjhmjqmp-v1jqexh2metcr...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi
>
> You can actually use the same binaries but use a separate set of
> config files. ie you need to launch 2 bearerbox, 2 smsbox, 2 wapbox, 2
> sqlbox.  You might need to create a separate init file in order to
> start/stop each set separatelty.
>
> And just then take care to send your messages to the right box.
>
> 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 Sat, Jul 7, 2012 at 1:33 AM, Tapan Kumar Thapa
> <[email protected]> wrote:
> > copy all binaries/folder to new directory and change ports in your
> > configuration file of new directory and then start kannel from new
> folder.
> >
> >
> > On Sat, Jul 7, 2012 at 11:58 AM, alok srivastava <[email protected]>
> wrote:
> >>
> >> dear
> >> how to configure another instance of kannel  on different port. While i
> >> have a configured kannel(bearerbox,sqlbox,smsbox) already on the
> machine and
> >> it's working properly.
> >> I have to configure new kanne  for a different smpp also want different
> >> send ,sent and dlr tables.
> >> should i make another config file for sqlbox and run with ./sqlbox. then
> >> what about smsbox and bearerbox. plz help.
> >>
> >> tanx in advance.
> >> regards
> >> alok
> >
> >
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 7 Jul 2012 08:24:14 -0700 (PDT)
> From: Olutoyin Daniel <[email protected]>
> To: "[email protected]" <[email protected]>
> Subject: WARNING: Cannot find SMSCConn for message to <67777>,
>         rejected.
> Message-ID:
>         <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello all,
> My config is as below. The message to 67777 is supposed to be routed to an
> SMPPBox (named SMPPServer01) binded to the bearerebox as shown in the
> status page.
> But I keep getting my routed messages rejected/discarded as:
>
> Access Log
> 2012-07-07 14:39:10,Receive
> SMS,[SMSC:NIG_MTN],[SVC:],[SRC:*****36993607],[DEST:67777],"14:RA
> 42522546508",0:
> 2012-07-07 14:39:10,DISCARDED
> SMS,[SMSC:],[SVC:MT3k],[SRC:*****36993607],[DEST:67777],"14:RA
> 42522546508",0:
> 2012-07-07 14:39:24,Receive
> SMS,[SMSC:NIG_MTN],[SVC:],[SRC:*****64660044],[DEST:67777],"14:RA
> 41119125882",0:
> 2012-07-07 14:39:24,DISCARDED
> SMS,[SMSC:],[SVC:MT3k],[SRC:*****64660044],[DEST:67777],"14:RA
> 41119125882",0:
>
> Bearerbox
> 2012-07-07 14:40:12 [26139] [20] DEBUG: ? destination_addr: "67777"
> 2012-07-07 14:40:12 [26139] [29] WARNING: Cannot find SMSCConn for message
> to <67777>, rejected.
> 2012-07-07 14:40:16 [26139] [20] DEBUG: ? destination_addr: "67777"
> 2012-07-07 14:40:16 [26139] [29] WARNING: Cannot find SMSCConn for message
> to <67777>, rejected.
>
> group = smsbox-route
> smsbox-id = "SMPPServer01"
> shortcode = "67777;32999;+32999"
>
> STATUS SHOWN below
>
> Box connections:
> ? ? smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 23h 50m 22s)?
> ? ? smsbox:SMPPServer01, IP 127.0.0.1 (0 queued), (on-line 0d 0h 49m 54s)
>
> I will really appreciate a guide into what could be wrong.
> I have been using it and working since 1 year, but something is wrong now.
> Help me.
>
> TD
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.kannel.org/pipermail/users/attachments/20120707/1b4c7861/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 3
> Date: Sat, 7 Jul 2012 21:09:52 +0530
> From: alok srivastava <[email protected]>
> To: [email protected]
> Subject: not able to understand all the values of smsc operator
> Message-ID:
>         <CAK77f4k=
> [email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> dear
>       following information provided by my operator
>
> Destination IP Address - 150.121.118.241
> Port - 2901
> Binds - Tx/rx/txrx
> No of Sessions (max) - 3
> Username - nkutrat
> Password - pranci
> Priority - P1
> DND - Inactive
> Source/destination ton/npi - 1
>
> i put it in smpp section...........of kannel configuration file
>
> group = smsc
> smsc = smpp
> smsc-id = xbsnl
> host = 150.121.118.241
> port = 2901
> #transceiver-mode = 1
> receive-port = 0
> smsc-username = "nkutrat"
> smsc-password = "pranci"
> source-addr-ton = 1
> source-addr-npi = 1
> dest-addr-ton = 1
> dest-addr-npi = 1
> system-type = "smpp"
> address-range = ""
>
>
> Not able to understand how to write Priority,Binds,No of Sessions (max) and
> DND etc.
> when i run bearerbox by my configuration without setting above four
> variables getting following error.
>
> 2012-07-08 02:04:13 [5665] [7] ERROR: connect to <50.28.18.241> failed
> 2012-07-08 02:04:13 [5665] [7] ERROR: System error 111: Connection refused
> 2012-07-08 02:04:13 [5665] [7] ERROR: error connecting to server
> `50.28.18.241' at port `14090'
> 2012-07-08 02:04:13 [5665] [7] ERROR: SMPP[xbsnl]: Couldn't connect to
> server.
> 2012-07-08 02:04:13 [5665] [7] ERROR: SMPP[xbsnl]: Couldn't connect to SMS
> center (retrying in 10 seconds).
> 2012-07-08 02:04:14 [5665] [6] ERROR: SMPP[xbsnl]: SMSC rejected login to
> transmit, code 0x0000000d (Bind Failed).
> 2012-07-08 02:04:14 [5665] [6] ERROR: SMPP[xbsnl]: Couldn't connect to SMS
> center (retrying in 10 seconds).
>
> Please help
> Regards
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.kannel.org/pipermail/users/attachments/20120707/aff58c52/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 4
> Date: Sat, 7 Jul 2012 17:42:44 +0200
> From: "Rene Kluwen" <[email protected]>
> To: "'Olutoyin Daniel'" <[email protected]>,        <[email protected]>
> Subject: RE: WARNING: Cannot find SMSCConn for message to <67777>,
>         rejected.
> Message-ID: <002901cd5c57$278a5620$769f0260$@[email protected]>
> Content-Type: text/plain; charset="us-ascii"
>
> Try to add smsc-id = <your smsc> in group = smsbox-route.
>
>
>
> == Rene
>
>
>
> From: [email protected] [mailto:[email protected]] On Behalf
> Of Olutoyin Daniel
> Sent: Saturday, 07 July, 2012 17:24
> To: [email protected]
> Subject: WARNING: Cannot find SMSCConn for message to <67777>, rejected.
>
>
>
> Hello all,
>
> My config is as below. The message to 67777 is supposed to be routed to an
> SMPPBox (named SMPPServer01) binded to the bearerebox as shown in the
> status
> page.
>
> But I keep getting my routed messages rejected/discarded as:
>
>
>
> Access Log
>
> 2012-07-07 14:39:10,Receive
> SMS,[SMSC:NIG_MTN],[SVC:],[SRC:*****36993607],[DEST:67777],"14:RA
> 42522546508",0:
>
> 2012-07-07 14:39:10,DISCARDED
> SMS,[SMSC:],[SVC:MT3k],[SRC:*****36993607],[DEST:67777],"14:RA
> 42522546508",0:
>
> 2012-07-07 14:39:24,Receive
> SMS,[SMSC:NIG_MTN],[SVC:],[SRC:*****64660044],[DEST:67777],"14:RA
> 41119125882",0:
>
> 2012-07-07 14:39:24,DISCARDED
> SMS,[SMSC:],[SVC:MT3k],[SRC:*****64660044],[DEST:67777],"14:RA
> 41119125882",0:
>
>
>
> Bearerbox
>
> 2012-07-07 14:40:12 [26139] [20] DEBUG:   destination_addr: "67777"
>
> 2012-07-07 14:40:12 [26139] [29] WARNING: Cannot find SMSCConn for message
> to <67777>, rejected.
>
> 2012-07-07 14:40:16 [26139] [20] DEBUG:   destination_addr: "67777"
>
> 2012-07-07 14:40:16 [26139] [29] WARNING: Cannot find SMSCConn for message
> to <67777>, rejected.
>
>
>
> group = smsbox-route
>
> smsbox-id = "SMPPServer01"
>
> shortcode = "67777;32999;+32999"
>
>
>
> STATUS SHOWN below
>
>
>
> Box connections:
>
>     smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 23h 50m 22s)
>
>     smsbox:SMPPServer01, IP 127.0.0.1 (0 queued), (on-line 0d 0h 49m 54s)
>
>
>
> I will really appreciate a guide into what could be wrong.
>
> I have been using it and working since 1 year, but something is wrong now.
> Help me.
>
>
>
> TD
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.kannel.org/pipermail/users/attachments/20120707/28ee33bd/attachment.html
> >
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> [email protected]
> http://www.kannel.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 71, Issue 14
> *************************************
>

Reply via email to