I can understand Nikos... Please find attached my configuration file.
group = core admin-port = 13000 smsbox-port = 13001 wapbox-port = 13002 admin-password = b status-password = b wdp-interface-name = "*" log-file = "/home/mmpindia_qa/services/kannel/var/log/smsboxsc.log" access-log = "/home/mmpindia_qa/services/kannel/var/log/access.log" store-file = "/home/mmpindia_qa/services/kannel/var/log/storefile.log" log-level = 5 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" unified-prefix = "00358,0" group = wapbox bearerbox-host = localhost log-file = "/home/mmpindia_qa/services/kannel/var/log/wapbox.log" log-level = 0 syslog-level = none # PUSH PROXY GATEWAY CONFIG group = ppg ppg-url = /wappush ppg-port = 9080 service-name = ppg trusted-pi = true # WAP USER group = wap-push-user wap-push-user = tapanwapuser ppg-username = tapan ppg-password = tapan #group = smsc #smsc = smpp #smsc-id = smppbox #host = 172.16.66.109 #port = 13005 #system-type = "tapan" #smsc-username = "tapan" #smsc-password = "tapan" #transceiver-mode = 1 #enquire-link-interval = "12" #source-addr-ton = 5 #source-addr-npi = 1 #dest-addr-ton = 1 #dest-addr-npi = 1 group = smsc smsc = smpp smsc-id = smppbox-prod host = 172.22.65.53 port = 2775 #receive-port = 2775 system-type = "" smsc-username = "testing" smsc-password = "testing" transceiver-mode = 1 enquire-link-interval = "12" source-addr-ton = 5 source-addr-npi = 1 dest-addr-ton = 1 dest-addr-npi = 1 allowed-smsc-id = smppbox-prod preferred-smsc-id = smppbox-prod group = smsbox bearerbox-host = localhost sendsms-port = 13003 sendsms-chars = "0123456789 +-@" log-file = "/home/mmpindia_qa/services/kannel/var/log/smsboxss.log" log-level = 5 access-log = "/home/mmpindia_qa/services/kannel/var/log/access.log" group = sendsms-user username = ht password = ht max-messages = 4 concatenation = true user-deny-ip = "*.*.*.*" user-allow-ip = "172.16.66.109;172.16.64.*;172.22.65.*" #group = sms-service #accepted-smsc=MTNLMUMBAI #keyword = default #catch-all = true #get-url = "http://172.16.66.109/sdp/msg-api/MTNLMumbaiPlatformHandler?content=%a&sender=%p&servicecode=%P" #max-messages = 50 #omit-empty = true Regards Tapan Thapa --- On Thu, 25/11/10, Nikos Balkanas <nbalka...@gmail.com> wrote: From: Nikos Balkanas <nbalka...@gmail.com> Subject: Re: Service Indication Help To: "T.K.Thapa" <tapan_thapa2...@yahoo.com> Cc: "Kannel list" <users@kannel.org> Date: Thursday, 25 November, 2010, 10:50 AM Hi, Cannot send you anything, because as it happens, currently our servers are upgraded and don't have access to them. Please post your configuration. BR, Nikos ----- Original Message ----- From: T.K.Thapa To: Nikos Balkanas Cc: Kannel list Sent: Thursday, November 25, 2010 6:51 AM Subject: Re: Service Indication Help Hello Nikos, I am following this article to send wap push via wap box. http://dev.sellingsource.com/2006/12/07/sending-wap-push-messages-with-kannel-php/ However while trying to start wapbox i am getting below mentioned error. 2010-11-25 10:13:04 [2901] [0] INFO: Kannel wapbox version 1.4.3 starting up. 2010-11-25 10:13:04 [2901] [0] DEBUG: Started thread 1 (wap/wsp_session.c:main_thread) 2010-11-25 10:13:04 [2901] [0] DEBUG: Started thread 2 (wap/wsp_unit.c:main_thread) 2010-11-25 10:13:04 [2901] [0] DEBUG: Started thread 3 (wap/wsp_push_client.c:main_thread) 2010-11-25 10:13:04 [2901] [0] DEBUG: Started thread 4 (wap/timers.c:watch_timers) 2010-11-25 10:13:04 [2901] [0] DEBUG: Started thread 5 (wap/wtp_init.c:main_thread) 2010-11-25 10:13:04 [2901] [0] DEBUG: Started thread 6 (wap/wtp_resp.c:main_thread) 2010-11-25 10:13:04 [2901] [0] DEBUG: Started thread 7 (gw/wap-appl.c:main_thread) 2010-11-25 10:13:04 [2901] [0] DEBUG: Started thread 8 (gw/wap-appl.c:return_replies_thread) 2010-11-25 10:13:04 [2901] [0] DEBUG: Started thread 9 (gw/wap_push_ota.c:main_thread) 2010-11-25 10:13:04 [2901] [0] INFO: HTTP: Opening server at port 9080. 2010-11-25 10:13:04 [2901] [0] DEBUG: Started thread 10 (gwlib/fdset.c:poller) 2010-11-25 10:13:04 [2901] [0] DEBUG: Started thread 11 (gwlib/http.c:server_thread) 2010-11-25 10:13:04 [2901] [0] DEBUG: Started thread 12 (gw/wap_push_ppg.c:ota_read_thread) 2010-11-25 10:13:04 [2901] [0] DEBUG: Started thread 13 (gw/wap_push_ppg.c:http_read_thread) 2010-11-25 10:13:04 [2901] [0] DEBUG: Started thread 14 (gw/wap_push_ppg.c:pap_request_thread) 2010-11-25 10:13:04 [2901] [0] ERROR: connect failed 2010-11-25 10:13:04 [2901] [0] ERROR: System error 111: Connection refused 2010-11-25 10:13:04 [2901] [0] ERROR: error connecting to server `localhost' at port `13002' 2010-11-25 10:13:04 [2901] [0] PANIC: Couldn't connect to the bearerbox. 2010-11-25 10:13:04 [2901] [0] PANIC: ../../sbin/wapbox(gw_panic+0x15b) [0x46338b] 2010-11-25 10:13:04 [2901] [0] PANIC: ../../sbin/wapbox(main+0x514) [0x410554] 2010-11-25 10:13:04 [2901] [0] PANIC: /lib64/libc.so.6(__libc_start_main+0xf4) [0x372261d994] 2010-11-25 10:13:04 [2901] [0] PANIC: ../../sbin/wapbox [0x40f439] I have seen that wapbox-port=13002 is already defined in core group and bearerbox is working fine with smsbox but it is not listening on port 13002 (Wapbox-port) and might be because of this wapbox is not able to connect with bearerbox. Can you gide me little bit to setup wapbox? I am doing this first time. Please also share some sample config file with core group settings to setup wapbox. Thanks in advance. Regards Tapan Thapa --- On Thu, 25/11/10, Nikos Balkanas <nbalka...@gmail.com> wrote: From: Nikos Balkanas <nbalka...@gmail.com> Subject: Re: Service Indication Help To: "T.K.Thapa" <tapan_thapa2...@yahoo.com> Cc: "Kannel list" <users@kannel.org> Date: Thursday, 25 November, 2010, 9:40 AM Maybe Alex G can. I am using wapbox for wap pushes. Otherwise search in the archives. BR, Nikos ----- Original Message ----- From: T.K.Thapa To: Nikos Balkanas Cc: Kannel list Sent: Thursday, November 25, 2010 4:29 AM Subject: Re: Service Indication Help Many thanks in advance Nikos but can you please give me the direct link to download the php script provided by Alex G? Regards Tapan Thapa --- On Wed, 24/11/10, Nikos Balkanas <nbalka...@gmail.com> wrote: From: Nikos Balkanas <nbalka...@gmail.com> Subject: Re: Service Indication Help To: "T.K.Thapa" <tapan_thapa2...@yahoo.com>, "Kannel list" <users@kannel.org> Date: Wednesday, 24 November, 2010, 10:42 PM Hi, There is a php script by Alex G, in the archives, that can handle simple wappush over sendsms. BR, Nikos ----- Original Message ----- From: T.K.Thapa To: Kannel list Sent: Wednesday, November 24, 2010 6:24 PM Subject: Service Indication Help Hi, Can anyone suggest how to send Service Indication (SI) messages through Sendsms Url (Get or Post) or SQLBOX? Regards Tapan Thapa
kannel.conf
Description: Binary data