Credit Limit
Hi Users, How can I set an SMSC Config ie: I want this smsc to send 1000 messages only, the idea is I can only send 1000 messages on this SMSC and nothing more, so once the credit is exhusted I want to route to another provider. group = smsc smsc-id=mike smsc = smpp host = xx.xx.xx.xx port = receive-port = smsc-username = smsc-password = system-type = smpp dest-addr-ton = 1 address-range = bind-addr-ton = 0 bind-addr-npi = 1 source-addr-ton = 5 source-addr-npi = 1 dest-addr-ton = 1 dest-addr-npi = 1 Michael
Re: Credit Limit
Hi, You can do it from application side by hitting send-sms url defined with proper parameters for respective SMSC links. On Thu, Dec 23, 2010 at 10:14 AM, michael osakede ire...@yahoo.com wrote: Hi Users, How can I set an SMSC Config ie: I want this smsc to send 1000 messages only, the idea is I can only send 1000 messages on this SMSC and nothing more, so once the credit is exhusted I want to route to another provider. group = smsc smsc-id=mike smsc = smpp host = xx.xx.xx.xx port = receive-port = smsc-username = smsc-password = system-type = smpp dest-addr-ton = 1 address-range = bind-addr-ton = 0 bind-addr-npi = 1 source-addr-ton = 5 source-addr-npi = 1 dest-addr-ton = 1 dest-addr-npi = 1 Michael
RE: Credit Limit
Hi, You can define the credit limits from the application that posts the send-url to the smsbox. Then define a separate smsc group with a different smsc-id to which you can use to route the messages once you exceed the daily 1,000 limit on one smsc. I do this using my bulk sms accounts by monitoring the message count on each smsc. Rapture From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Elton Hoxha Sent: Thursday, December 23, 2010 12:36 PM To: michael osakede Cc: users@kannel.org Subject: Re: Credit Limit Hi, You can do it from application side by hitting send-sms url defined with proper parameters for respective SMSC links. On Thu, Dec 23, 2010 at 10:14 AM, michael osakede ire...@yahoo.com wrote: Hi Users, How can I set an SMSC Config ie: I want this smsc to send 1000 messages only, the idea is I can only send 1000 messages on this SMSC and nothing more, so once the credit is exhusted I want to route to another provider. group = smsc smsc-id=mike smsc = smpp host = xx.xx.xx.xx port = receive-port = smsc-username = smsc-password = system-type = smpp dest-addr-ton = 1 address-range = bind-addr-ton = 0 bind-addr-npi = 1 source-addr-ton = 5 source-addr-npi = 1 dest-addr-ton = 1 dest-addr-npi = 1 Michael
Modified SMPP 3.4 spec
Hi, We have an requirement where the SMPP 3.4 is slightly modified. There are 2 new fields added to support USSD. I'd like to know if i can still use Kannel as SMS gateway. Thanks
Kannel Config Help
Hello, I have installed an Elite SMS Gateway software which also installed Kannel along with it on a centOS server. Each time i try to send SMS using the sendsms url it gives Authorization failed for sendsms. Below is my config, bearerbox.conf --- include=/opt/vsmsc/etc/kannel_include.conf group=vsmsc-config path=/opt/vsmsc/etc/vsmsc_bbox.conf group=rr-list id=rr-db table=users key-field=username value-field=throughput group=mysql-connection id=rr-db host=localhost username=xx password=x database=x max-connections=1 -- kannel_include.conf --- group = core admin-port = 13000 smsbox-port = 13001 admin-password = foobar #box-deny-ip = *.*.*.* #box-allow-ip = 127.0.0.1 box-allow-ip = *.*.*.* log-file=/opt/vsmsc/logs/bearerbox.log log-level=0 admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 group = mysql-connection id = kannel_dlr host = localhost username = xx password = xx database = xx max-connections = 5 group = dlr-db id = kannel_dlr table = kannel_dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc #- # SMSC CONNECTIONS #- include=/opt/vsmsc/etc/smsc.d/ #include=/etc/kannel/smsc.d/mo_relay.conf #- # SMSBOX SETUP #- group = smsbox smsbox-id=VSMSC_HTTP bearerbox-host = 127.0.0.1 sendsms-port = 13013 log-file=/opt/vsmsc/logs/smsbox.log log-level=0 access-log = /tmp/access.log #- # SEND-SMS USERS #- #- # SERVICES #- group = sms-service keyword = default catch-all=yes exec=/opt/vsmsc/sbin/mo_processor.php /opt/vsmsc/logs/mo_debug.log %p %P %C %b %F omit-empty=yes send-sender=yes --- smsbox.conf --- include=/opt/vsmsc/etc/kannel_include.conf group=vsmsc-config path=/opt/vsmsc/etc/vsmsc_sbox.conf # SEND-SMS USERS group = sendsms-user username = tester password = foobar #user-deny-ip = #user-allow-ip = - vsmsc_bbox.conf --- group=vsmsc id=vsmsc-primary smsc-db=vsmsc smsc-table=smscs user-db=vsmsc user-table=users http-port=16000 mode=1 bearerbox-status-url=http://localhost:13000/status.xml?password=foobar; num-tables=10 server-id=1 transactions-db=vsmsc transactions-table=user_transactions messages-db=vsmsc messages-table=user_messages status-db=vsmsc status-table=status_queue numbers-db=vsmsc numbers-table=numbers keywords-db=vsmsc keywords-table=number_keywords smpp-smsbox-id=VSMSC_SMPP http-smsbox-id=VSMSC_HTTP mo-db=vsmsc mo-table=mo_messages profile-db=vsmsc profile-table=routing_profiles batch-db=vsmsc batch-table=user_batches batch-tracking-db=vsmsc batch-tracking-table=user_batch_tracking_codes opt-out-words=stop block-db=vsmsc block-table=blocked_numbers vsmsc_sbox.conf --- group=mysql-connection id=vsmsc-primary host=localhost username=xx password=xx database=xx max-connections=5 group=vsmsc id=vsmsc-primary smsc-db=vsmsc smsc-table=smscs user-db=vsmsc user-table=users http-port=17000 mode=2 bearerbox-status-url=http://localhost:13000/status.xml?password=foobar; num-tables=10 server-id=1 transactions-db=vsmsc transactions-table=user_transactions messages-db=vsmsc messages-table=user_messages status-db=vsmsc status-table=status_queue numbers-db=vsmsc numbers-table=numbers keywords-db=vsmsc keywords-table=number_keywords smpp-smsbox-id=VSMSC_SMPP http-smsbox-id=VSMSC_HTTP smsbox-override-auth=xx mo-db=vsmsc mo-table=mo_messages profile-db=vsmsc profile-table=routing_profiles
Re: Kannel Config Help
Seems like if you're missing the smsbox-user group where you define the user and password to use. Read the user guide for more details. Regards, Alex On Thu, Dec 23, 2010 at 1:27 PM, David Ige: Cellulant da...@cellulant.com.ng wrote: Hello, I have installed an Elite SMS Gateway software which also installed Kannel along with it on a centOS server. Each time i try to send SMS using the sendsms url it gives Authorization failed for sendsms. Below is my config, bearerbox.conf --- include=/opt/vsmsc/etc/kannel_include.conf group=vsmsc-config path=/opt/vsmsc/etc/vsmsc_bbox.conf group=rr-list id=rr-db table=users key-field=username value-field=throughput group=mysql-connection id=rr-db host=localhost username=xx password=x database=x max-connections=1 -- kannel_include.conf --- group = core admin-port = 13000 smsbox-port = 13001 admin-password = foobar #box-deny-ip = *.*.*.* #box-allow-ip = 127.0.0.1 box-allow-ip = *.*.*.* log-file=/opt/vsmsc/logs/bearerbox.log log-level=0 admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 group = mysql-connection id = kannel_dlr host = localhost username = xx password = xx database = xx max-connections = 5 group = dlr-db id = kannel_dlr table = kannel_dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc #- # SMSC CONNECTIONS #- include=/opt/vsmsc/etc/smsc.d/ #include=/etc/kannel/smsc.d/mo_relay.conf #- # SMSBOX SETUP #- group = smsbox smsbox-id=VSMSC_HTTP bearerbox-host = 127.0.0.1 sendsms-port = 13013 log-file=/opt/vsmsc/logs/smsbox.log log-level=0 access-log = /tmp/access.log #- # SEND-SMS USERS #- #- # SERVICES #- group = sms-service keyword = default catch-all=yes exec=/opt/vsmsc/sbin/mo_processor.php /opt/vsmsc/logs/mo_debug.log %p %P %C %b %F omit-empty=yes send-sender=yes --- smsbox.conf --- include=/opt/vsmsc/etc/kannel_include.conf group=vsmsc-config path=/opt/vsmsc/etc/vsmsc_sbox.conf # SEND-SMS USERS group = sendsms-user username = tester password = foobar #user-deny-ip = #user-allow-ip = - vsmsc_bbox.conf --- group=vsmsc id=vsmsc-primary smsc-db=vsmsc smsc-table=smscs user-db=vsmsc user-table=users http-port=16000 mode=1 bearerbox-status-url=http://localhost:13000/status.xml?password=foobar; num-tables=10 server-id=1 transactions-db=vsmsc transactions-table=user_transactions messages-db=vsmsc messages-table=user_messages status-db=vsmsc status-table=status_queue numbers-db=vsmsc numbers-table=numbers keywords-db=vsmsc keywords-table=number_keywords smpp-smsbox-id=VSMSC_SMPP http-smsbox-id=VSMSC_HTTP mo-db=vsmsc mo-table=mo_messages profile-db=vsmsc profile-table=routing_profiles batch-db=vsmsc batch-table=user_batches batch-tracking-db=vsmsc batch-tracking-table=user_batch_tracking_codes opt-out-words=stop block-db=vsmsc block-table=blocked_numbers vsmsc_sbox.conf --- group=mysql-connection id=vsmsc-primary host=localhost username=xx password=xx database=xx max-connections=5 group=vsmsc id=vsmsc-primary smsc-db=vsmsc smsc-table=smscs user-db=vsmsc user-table=users http-port=17000 mode=2 bearerbox-status-url=http://localhost:13000/status.xml?password=foobar; num-tables=10
Re: Modified SMPP 3.4 spec
You dont need additional fields of SMPP 3.4. Defining TLV for ussd_service_op would be enough. On Thu, Dec 23, 2010 at 1:13 PM, Kanchan K kathuria.kanc...@gmail.comwrote: Hi, We have an requirement where the SMPP 3.4 is slightly modified. There are 2 new fields added to support USSD. I'd like to know if i can still use Kannel as SMS gateway. Thanks
Fail over
Hi, I have 2 SMSC configurations and I an sending to each smsc using the smsc-id, I have allowed both smsc-id in both smsc configs so something like this: group = smsc smsc-id=smsc1 smsc = smpp host = xxx port = xx smsc-username = smsc-password = xx system-type = smpp allowed-smsc-id = smsc1,smsc2 group = smsc smsc-id=smsc2 smsc = smpp host = xxx port = xx smsc-username = smsc-password = xx system-type = smpp allowed-smsc-id = smsc1,smsc2 If i run out of credit in smsc2 would the messages automatically be routed to smsc1 as I have allowed smsc2 on smsc1? If not how can i achieve this, I am worried about what happens when i run out of credit on one smsc.I want to be able to route messages to an smsc where I have credits. Regards, Michael
SMSC Fail over
Hi, I have 2 SMSC configurations and I an sending to each smsc using the smsc-id, I have allowed both smsc-id in both smsc configs so something like this: group = smsc smsc-id=smsc1 smsc = smpp host = xxx port = xx smsc-username = smsc-password = xx system-type = smpp allowed-smsc-id = smsc1,smsc2 group = smsc smsc-id=smsc2 smsc = smpp host = xxx port = xx smsc-username = smsc-password = xx system-type = smpp allowed-smsc-id = smsc1,smsc2 If i run out of credit in smsc2 would the messages automatically be routed to smsc1 as I have allowed smsc2 on smsc1? If not how can i achieve this, I am worried about what happens when i run out of credit on one smsc.I want to be able to route messages to an smsc where I have credits. Regards, Michael