Re: Help... while sending Wap Push

2009-02-19 Thread Kashif Ali Bukhari
:   dest_addr_ton: 1 = 0x0001
 2009-02-19 12:32:16 [16854] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
 2009-02-19 12:32:16 [16854] [6] DEBUG:   destination_addr: 923028560772
 2009-02-19 12:32:16 [16854] [6] DEBUG:   esm_class: 67 = 0x0043
 2009-02-19 12:32:16 [16854] [6] DEBUG:   protocol_id: 0 = 0x
 2009-02-19 12:32:16 [16854] [6] DEBUG:   priority_flag: 0 = 0x
 2009-02-19 12:32:16 [16854] [6] DEBUG:   schedule_delivery_time: NULL
 2009-02-19 12:32:16 [16854] [6] DEBUG:   validity_period: NULL
 2009-02-19 12:32:16 [16854] [6] DEBUG:   registered_delivery: 0 =
 0x
 2009-02-19 12:32:16 [16854] [6] DEBUG:   replace_if_present_flag: 0 =
 0x
 2009-02-19 12:32:16 [16854] [6] DEBUG:   data_coding: 4 = 0x0004
 2009-02-19 12:32:16 [16854] [6] DEBUG:   sm_default_msg_id: 0 = 0x
 2009-02-19 12:32:16 [16854] [6] DEBUG:   sm_length: 140 = 0x008c
 2009-02-19 12:32:16 [16854] [6] DEBUG:   short_message:
 2009-02-19 12:32:16 [16854] [6] DEBUG:Octet string at 0x2c008210:
 2009-02-19 12:32:16 [16854] [6] DEBUG:  len:  140
 2009-02-19 12:32:16 [16854] [6] DEBUG:  size: 1024
 2009-02-19 12:32:16 [16854] [6] DEBUG:  immutable: 0
 2009-02-19 12:32:16 [16854] [6] DEBUG:  data: 0b 05 04 0b 84 23 f0 00
 03 00 02 01 00 06 49 ae   .#I.
 2009-02-19 12:32:16 [16854] [6] DEBUG:  data: 58 2d 55 6e 6b 6e 6f 77
 6e 00 58 2d 4b 61 6e 6e   X-Unknown.X-Kann
 2009-02-19 12:32:16 [16854] [6] DEBUG:  data: 65 6c 2d 44 4c 52 2d 4d
 61 73 6b 00 bd 80 9f 80   el-DLR-Mask.
 2009-02-19 12:32:16 [16854] [6] DEBUG:  data: a9 4a 61 76 61 2f 31 2e
 36 2e 30 5f 31 30 00 80   .Java/1.6.0_10..
 2009-02-19 12:32:16 [16854] [6] DEBUG:  data: 82 80 9d 80 9e 80 06 2a
 00 80 2e 32 00 80 05 80   ...*...2
 2009-02-19 12:32:16 [16854] [6] DEBUG:  data: 80 2e 32 00 8d c2 c3 93
 02 05 6a 00 45 c6 05 11   ..2...j.E...
 2009-02-19 12:32:16 [16854] [6] DEBUG:  data: 03 66 6f 6f 64 72 65 67
 40 2d 31 39 38 36 39 37   .food...@-198697
 2009-02-19 12:32:16 [16854] [6] DEBUG:  data: 32 39 32 32 2e 63 6f 6d
 00 0c 03 79 61 68 6f 6f   2922.com...yahoo
 2009-02-19 12:32:16 [16854] [6] DEBUG:  data: 2e 63 6f 6d 00 01 03 44
 6f 77 6e 6c   .com...Downl
 2009-02-19 12:32:16 [16854] [6] DEBUG:Octet string dump ends.
 2009-02-19 12:32:16 [16854] [6] DEBUG: SMPP PDU dump ends.
 2009-02-19 12:32:16 [16854] [27] DEBUG: boxc_receiver: sms received
 2009-02-19 12:32:16 [16854] [27] DEBUG: send_msg: sending msg to box:
 127.0.0.1
 2009-02-19 12:32:16 [16854] [6] DEBUG: SMPP[Mobilink1]: Sending PDU:
 2009-02-19 12:32:16 [16854] [6] DEBUG: SMPP PDU 0x2c009f80 dump:
 2009-02-19 12:32:16 [16854] [6] DEBUG:   type_name: submit_sm
 2009-02-19 12:32:16 [16854] [6] DEBUG:   command_id: 4 = 0x0004
 2009-02-19 12:32:16 [16854] [6] DEBUG:   command_status: 0 = 0x
 2009-02-19 12:32:16 [16854] [6] DEBUG:   sequence_number: 2256 = 0x08d0
 2009-02-19 12:32:16 [16854] [6] DEBUG:   service_type: NULL
 2009-02-19 12:32:16 [16854] [6] DEBUG:   source_addr_ton: 2 = 0x0002
 2009-02-19 12:32:16 [16854] [6] DEBUG:   source_addr_npi: 1 = 0x0001
 2009-02-19 12:32:16 [16854] [6] DEBUG:   source_addr: 6261
 2009-02-19 12:32:16 [16854] [6] DEBUG:   dest_addr_ton: 1 = 0x0001
 2009-02-19 12:32:16 [16854] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
 2009-02-19 12:32:16 [16854] [6] DEBUG:   destination_addr: 923028560772
 2009-02-19 12:32:16 [16854] [6] DEBUG:   esm_class: 67 = 0x0043
 2009-02-19 12:32:16 [16854] [6] DEBUG:   protocol_id: 0 = 0x
 2009-02-19 12:32:16 [16854] [6] DEBUG:   priority_flag: 0 = 0x
 2009-02-19 12:32:16 [16854] [6] DEBUG:   schedule_delivery_time: NULL
 2009-02-19 12:32:16 [16854] [6] DEBUG:   validity_period: NULL
 2009-02-19 12:32:16 [16854] [6] DEBUG:   registered_delivery: 0 =
 0x
 2009-02-19 12:32:16 [16854] [6] DEBUG:   replace_if_present_flag: 0 =
 0x
 2009-02-19 12:32:16 [16854] [6] DEBUG:   data_coding: 4 = 0x0004
 2009-02-19 12:32:16 [16854] [6] DEBUG:   sm_default_msg_id: 0 = 0x
 2009-02-19 12:32:16 [16854] [6] DEBUG:   sm_length: 26 = 0x001a
 2009-02-19 12:32:16 [16854] [6] DEBUG:   short_message:
 2009-02-19 12:32:16 [16854] [6] DEBUG:Octet string at 0x2c0057a0:
 2009-02-19 12:32:16 [16854] [6] DEBUG:  len:  26
 2009-02-19 12:32:16 [16854] [6] DEBUG:  size: 1024
 2009-02-19 12:32:16 [16854] [6] DEBUG:  immutable: 0
 2009-02-19 12:32:16 [16854] [6] DEBUG:  data: 0b 05 04 0b 84 23 f0 00
 03 00 02 02 6f 61 64 20   .#..oad
 2009-02-19 12:32:16 [16854] [6] DEBUG:  data: 43 6f 6e 74 65 6e 74 00
 01 01 Content...
 2009-02-19 12:32:16 [16854] [6] DEBUG:Octet string dump ends.
 2009-02-19 12:32:16 [16854] [6] DEBUG: SMPP PDU dump ends.





-- 
Syed Kashif Ali Bukhari
+92-345-820
http://www.sysadminsline.com
http://www.kashifbukhari.com


Re: WAP Push Issue

2009-02-10 Thread Kashif Ali Bukhari
you wappush is probably exceeded 160 chracter . please ask telco to switch
on concatenation or just try to send some short url with short massage.

I guess this issue raised with you on Mobilink Pakistan. ;)

On Tue, Feb 10, 2009 at 7:00 PM, Ishtiaq Ahmed ishtiaq.ah...@ooober.comwrote:

 Hi Users  Admins...


 I am facing a problem in sending out a wap push to a specific LA... At the
 other end its Logical SMSC with SMPP 3.4. I send the push and then also
 recieve the delivery report but no message has been delivered to device... I
 have checked out everything at my side...

 what I need is the information that either the Guys at the SMSC has to do
 some specific configuration for the shortcode to get the wap push through...




 Thanks,


 Ishtiaq Ahmed




-- 
Syed Kashif Ali Bukhari
+92-345-820
http://www.sysadminsline.com
http://www.kashifbukhari.com


Re: SMPP Server

2008-12-12 Thread Kashif Ali Bukhari
Nah you can not nativly but there is a module for kannel to act as server.

On Fri, Dec 12, 2008 at 9:33 AM, Irfan Malik irfan.ma...@tcm.com.pk wrote:
 Dear List,



 Can we use Kannel as SMPP server? Or is there any open source SMPP Server?







 Regards,

 Irfan Malik





-- 
Syed Kashif Ali Bukhari
+92-345-820
http://www.sysadminsline.com
http://www.kashifbukhari.com



nokia 6230

2008-11-24 Thread Kashif Ali Bukhari
Dear all,
  can any one share nokia 6230 configuration to work with
freebsd in /dev/cuad0 USB with me.

Thanks and regards,
-- 
Syed Kashif Ali Bukhari
+92-345-820
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: Re : nokia 6230

2008-11-24 Thread Kashif Ali Bukhari
i connect it using dku2 cable to send receive sms

On Mon, Nov 24, 2008 at 3:12 PM, patrick meye [EMAIL PROTECTED] wrote:
 what do you atempt? just connect USB cable to your UC and select data
 transfert

 
 De : Kashif Ali Bukhari [EMAIL PROTECTED]
 À : Kannel users@kannel.org
 Envoyé le : Lundi, 24 Novembre 2008, 10h49mn 38s
 Objet : nokia 6230

 Dear all,
   can any one share nokia 6230 configuration to work with
 freebsd in /dev/cuad0 USB with me.

 Thanks and regards,
 --
 Syed Kashif Ali Bukhari
 +92-345-820
 http://www.sysadminsline.com
 http://www.kashifbukhari.com






-- 
Syed Kashif Ali Bukhari
+92-345-820
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: Can anyone please help me?

2008-10-07 Thread Kashif Ali Bukhari
CSV ???

On Tue, Oct 7, 2008 at 10:34 AM, Shoeb Ahmed [EMAIL PROTECTED] wrote:
 Hi, Thanks for the reply. No I am not using a prebuilt package. I compiled
 it myself. However, my problem went away when I used the latest CSV instead
 of the 1.4.1 . So everything is fine now.

 On Sat, Oct 4, 2008 at 1:45 PM, Kashif Ali Bukhari [EMAIL PROTECTED]
 wrote:

 seems you are using prebuilt packeg please compile it yourself

 On Mon, Sep 22, 2008 at 2:36 PM, Shoeb Ahmed [EMAIL PROTECTED] wrote:
  I sent this message below but haven't got any reply back. Can anyone
  please
  provide any insight into this problem? I really really need it to be
  solved.
 
  On Thu, Sep 11, 2008 at 2:43 PM, [EMAIL PROTECTED] wrote:
 
 
  Message: 1
  Date: Thu, 11 Sep 2008 14:22:31 +0600
  From: Shoeb Ahmed [EMAIL PROTECTED]
  Subject: Bearerbox crash when using dlr
  To: users@kannel.org
  Message-ID:
 [EMAIL PROTECTED]
  Content-Type: text/plain; charset=iso-8859-1
 
  Hi, I have kannel 1.4.1 running in Ubuntu 7.10 for a few months now. It
  works perfectly. But recently when I tried to use dlr-url and dlr-mask
  when
  sending SMS through http interface, bearerbox crashes everytime. I have
  tried using both internal dlr storage and mysql dlr storage but that
  doesn't
  seem to have any effect on it.
 
  Below is the log of crash:
 
  2008-09-11 12:36:16 [5394] [8] PANIC: Memory re-allocation failed
  2008-09-11 12:36:16 [5394] [8] PANIC: System error 12: Cannot allocate
  memory
  2008-09-11 12:36:17 [5394] [8] PANIC:
  /usr/local/sbin/bearerbox(gw_panic+0x107) [0x80c4517]
  2008-09-11 12:36:17 [5394] [8] PANIC:
  /usr/local/sbin/bearerbox(gw_native_realloc+0x7d) [0x80b8f3d]
  2008-09-11 12:36:17 [5394] [8] PANIC: /usr/local/sbin/bearerbox
  [0x80c57a5]
  2008-09-11 12:36:17 [5394] [8] PANIC:
  /usr/local/sbin/bearerbox(octstr_insert_data+0x63) [0x80c7b23]
  2008-09-11 12:36:17 [5394] [8] PANIC:
  /usr/local/sbin/bearerbox(octstr_append_char+0x39) [0x80c7d49]
  2008-09-11 12:36:17 [5394] [8] PANIC: /usr/local/sbin/bearerbox
  [0x8067e2b]
  2008-09-11 12:36:17 [5394] [8] PANIC: /usr/local/sbin/bearerbox
  [0x806b19a]
  2008-09-11 12:36:17 [5394] [8] PANIC: /usr/local/sbin/bearerbox
  [0x80baf31]
  2008-09-11 12:36:17 [5394] [8] PANIC:
  /lib/tls/i686/cmov/libpthread.so.0
  [0xb7f3e46b]
  2008-09-11 12:36:17 [5394] [8] PANIC:
  /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb7bb973e]
 
 
  When using debug log level, I get this about my smsc:
 
  2008-09-11 12:58:32 [6041] [0] INFO: SMS resend retry set to 10.
  2008-09-11 12:58:32 [6041] [0] INFO: DLR rerouting for smsc id FAKE
  disabled.
  2008-09-11 12:58:32 [6041] [0] DEBUG: Started thread 6
  (gw/smsc/smsc_fake.c:fake_listener)
  *2008-09-11 12:58:32 [6041] [0] INFO: DLR rerouting for smsc id
  smsc_warid
  disabled.*
  2008-09-11 12:58:32 [6041] [0] INFO: Added logfile
  `/home/freebdsms/kannel_run/smsc.log' with level `1'.
  2008-09-11 12:58:32 [6041] [0] INFO: AT2[smsc_warid]: configuration
  doesn't
  show modemtype. will autodetect
  2008-09-11 12:58:32 [6041] [0] DEBUG: Started thread 7
  (gw/smsc/smsc_at.c:at2_device_thread)
  *2008-09-11 12:58:32 [6041] [0] INFO: DLR rerouting for smsc id
  smsc_banglalink disabled.*
  2008-09-11 12:58:32 [6041] [0] INFO: Added logfile
  `/home/freebdsms/kannel_run/smsc.log' with level `1'.
  2008-09-11 12:58:32 [6041] [0] INFO: AT2[smsc_banglalink]:
  configuration
  doesn't show modemtype. will autodetect
  2008-09-11 12:58:32 [6041] [0] DEBUG: Started thread 8
  (gw/smsc/smsc_at.c:at2_device_thread)
  2008-09-11 12:58:32 [6041] [0] DEBUG: Started thread 9
  (gw/bb_smscconn.c:sms_router)
  2008-09-11 12:58:32 [6041] [0] INFO:
  
  2008-09-11 12:58:32 [6041] [0] INFO: Kannel bearerbox II version 1.4.1
  starting
  2008-09-11 12:58:32 [6041] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
  maps
  to pid 6041.
  2008-09-11 12:58:32 [6041] [6] DEBUG: Thread 6
  (gw/smsc/smsc_fake.c:fake_listener) maps to pid 6041.
  2008-09-11 12:58:32 [6041] [7] DEBUG: Thread 7
  (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 6041.
  2008-09-11 12:58:32 [6041] [7] INFO: Logging thread `7' to logfile
  `/home/freebdsms/kannel_run/smsc.log' with level `1'.
  2008-09-11 12:58:32 [6041] [8] DEBUG: Thread 8
  (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 6041.
  2008-09-11 12:58:32 [6041] [8] INFO: Logging thread `8' to logfile
  `/home/freebdsms/kannel_run/smsc.log' with level `1'.
  2008-09-11 12:58:32 [6041] [9] DEBUG: Thread 9
  (gw/bb_smscconn.c:sms_router)
  maps to pid 6041.
  2008-09-11 12:58:32 [6041] [9] DEBUG: sms_router: time to sleep 30.00
  secs.
  2008-09-11 12:58:32 [6041] [2] DEBUG: Thread 2
  (gwlib/http.c:server_thread)
  maps to pid 6041.
  2008-09-11 12:58:32 [6041] [0] INFO: MAIN: Start-up done, entering
  mainloop
  2008-09-11 12:58:32 [6041] [0] DEBUG: smsc_fake: start called
  2008-09-11 12:58:32 [6041] [0] DEBUG: AT2[smsc_warid]: start called
  2008-09-11 12:58:32 [6041] [0] DEBUG

Re: Can anyone please help me?

2008-10-04 Thread Kashif Ali Bukhari
 for sending messages of general members
 group = sendsms-user
 username = 
 password = 
 #forced-smsc = smsc_gen_mem
 #default-smsc = smsc_gen_mem
 #user-deny-ip = 
 #user-allow-ip = 
 max-messages = 5
 concatenation = true

 # User for sending messages of corporate members
 group = sendsms-user
 username = 
 password = 
 #forced-smsc = smsc_gen_mem
 #default-smsc = smsc_gen_mem
 #user-deny-ip = 
 #user-allow-ip = 
 max-messages = 5
 concatenation = true

 #-
 # SERVICES
 #
 # These are 'responses' to sms PULL messages, i.e. messages arriving from
 # handsets. The response is based on message content. Only one sms-service
 is
 # applied, using the first one to match.

 group = sms-service
 keyword = nop
 text = You asked nothing and I did it!


 # There should be always a 'default' service. This service is used when no
 # other 'sms-service' is applied.

 group = sms-service
 keyword = default
 omit-empty = true
 get-url = 
 http://www.freebdsms.com/corp_area/save_incoming_msg.php?msg=%asender=%p;
 #text = No service specified
 -- next part --
 An HTML attachment was scrubbed...
 URL:
 http://www.kannel.org/pipermail/users/attachments/20080911/0412c24c/attachment-0001.html





-- 
Syed Kashif Ali Bukhari
+92-345-820
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: Sending a Jar File WIth SMS

2008-10-04 Thread Kashif Ali Bukhari
you cant send jar file via sms, but you can do.
1. put your jar file on wap server.
2. send wappush to client via kannel wappush service.


On Fri, Sep 26, 2008 at 1:24 PM, creeds [EMAIL PROTECTED] wrote:

 Hello all,
 I have a jar file which i want my clients to Download on their respective
 Mobile Set by sending sms.
 How can i proceed.
 For sending text msg , it is quite easy and i have been doing this  as...


 group = sms-service
 accepted-smsc = 
 keyword = test
 get-url = http://ip/path/filename.jsp;

 i can fetch any data from database or anything and send sms, but i want to
 send a jar file or any logos...
 how is this possible,


 regards,
 Creeds


 --
 View this message in context: 
 http://www.nabble.com/Sending-a-Jar-File-WIth-SMS-tp19683702p19683702.html
 Sent from the Kannel - User mailing list archive at Nabble.com.






-- 
Syed Kashif Ali Bukhari
+92-345-820
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: How many GSM modem (devices) can kannel handle?

2008-08-14 Thread Kashif Ali Bukhari
as much you can install

On Tue, Aug 12, 2008 at 3:14 PM, Marcin Giedz [EMAIL PROTECTED] wrote:
 Hello,

 I'd like to configure kannel with some GSM modems. How many modems can I put
 in one kannel instance? And second one: do you have any preferable GSM
 modems to handle more than 1 port? What I'm trying to find is 2-12 ports
 modem. Is there any?

 Regards,
 Marcin






-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: Send SMS with UDH Set

2008-08-14 Thread Kashif Ali Bukhari
Simple way! Use database connection and bind your j2me application for
 specific url along with some authentication feature and hit that url
(sms retriever form db) to get sms from server.

On Thu, Aug 14, 2008 at 10:13 AM, Jinson [EMAIL PROTECTED] wrote:
 Hello Group,

 How can I send sms from Kannel with Destination port set. I want to receive
 message in a j2me application whcih listens to a port

 --





-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: wap push (PPG)

2008-08-06 Thread Kashif Ali Bukhari
trusted-pi = false  set to true

On Tue, Aug 5, 2008 at 8:00 PM, bahassi rim hajar
[EMAIL PROTECTED] wrote:
 hi everyboby,

 i have a problem with wap push and i don't know what's the matter .

 this is my configuration :

 group = core
 admin-port = 13000
 smsbox-port = 13001
 wapbox-port = 13002
 wdp-interface-name = *
 admin-password = bar
 box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1


 group = sendsms-user
 username = tester
 password = foobar
 max-messages=5
 concatenation = true


 # WAPBOX SETUP, for pushing and for pulling (fetching) the wap data

 group = wapbox
 bearerbox-host = 127.0.0.1

 #log-file = /tmp/wapbox.log
 #log-level = 0
 #syslog-level = none

 # PPG CORE SETUP, for defining the push request interface


 group = ppg
 ppg-url = /cgi-bin/wap-push
 ppg-port = 8080
 global-sender= 13013
 ppg-allow-ip = *.*.*.*
 concurrent-pushes = 100
 ppg-smsbox-id = dlrbox
 trusted-pi = false
 users = 1024



 # PPG USER SETUP, for authorizing a specific push user

 group = wap-push-user
 wap-push-user = tester
 ppg-username = tester
 ppg-password = foobar
 smsbox-id = dlrbox
 dlr-url=*


 # SMSC CONNECTIONS, for pushing SI, SL, MMS notifications or whatever over SMS

 group = smsc
 smsc = smpp
 host = *
 port = *
 smsc-username = *
 smsc-password = *
 system-type = *
 address-range = *
 source-addr-ton=1
 source-addr-npi=1


 # SMSBOX SETUP (a kludge!)

 group = smsbox
 bearerbox-host = 127.0.0.1
 smsbox-id = dlrbox
 sendsms-port = 13013
 global-sender = 13013



 group = sms-service
 keyword = default
 text = No service specified


 when i use this request : 
 http://localhost:8080/cgi-bin/wap-push?username=testerpassword=foobarfrom=13254698to=21261393828text=%3c%3fxml+version%3d%221.0%22%3f%3e%0d%0a%3c!DOCTYPE+si+PUBLIC+%22-%2f%2fWAPFORUM%2f%2fDTD+SI+1.0%2f%2fEN%22%0d%0a%22http%3a%2f%2fwww.wapforum.org%2fDTD%2fsi.dtd%22%3e%0d%0a%3csi%3e%0d%0a%3cindication+href%3d%22http%3a%2f%2fwww.gni.ch%22%0d%0asi-id%3d%221%40gni.ch%22%3e%0d%0aYou+have+4+new+emails%0d%0a%3c%2findication%3e%0d%0a%3c%2fsi%3e

 i have this message : You are not allowed to use this service. Do not retry.

 i don't undersand what's matter , pleas help

 regards

 Rim



  
 _
 Envoyez avec Yahoo! Mail. Une boite mail plus intelligente 
 http://mail.yahoo.fr





-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: Information about nokia 6630

2008-08-01 Thread Kashif Ali Bukhari
Sl45 is most recomended

On Wed, Jul 30, 2008 at 1:21 PM,  [EMAIL PROTECTED] wrote:
 Hi,
 Have anyone used nokia 6630 with Kannel? What phone is recommended and
 easily available for Kannel.



 Usman






-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: How to do and check wap on kannel

2008-08-01 Thread Kashif Ali Bukhari
posting twice will not help you to get quick reply

On Fri, Aug 1, 2008 at 9:40 AM,  [EMAIL PROTECTED] wrote:
 Hi,
 I have started bearerbox and wapbox with wapkannel.conf file. It seems to
 be running fine. Now, I want to test that wap is working or not. What
 should I do? The status is fine as http://localhost:13000/status. Its
 showing the wapbox is connected at 127.0.0.1. Help?

 Regards

 Usman






-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: How to delete specific message from kannel queue

2008-08-01 Thread Kashif Ali Bukhari
If you are using sql box then just delete specific data from table
don't try to remove it from stor file it will  crupt file

On Thu, Jul 31, 2008 at 9:01 PM, Alvaro Cornejo
[EMAIL PROTECTED] wrote:
 Hi All


 I've the following issue, I need to delete some messages from kannel since
 the destination number is being rejected by carrier. I use kannel with mysql
 and flushed dlr but messages still there. The only way I can get read from
 them is waiting I have only the specific message in queue - quite diffcult
 to do- and restart kannel.

 Is there another way to do that? Also, how to configure kannel to preserve
 queue after a reset? I've set storage as mysql but seems not working.



 #CORE BEARERBOX
 group = core
 admin-port = 13000
 smsbox-port = 13001
 wapbox-port = 13002
 dlr-storage = mysql
 # usar en vez del MYSQL-DLR
 # dlr-storage = internal
 admin-password = **
 status-password = **
 #box-allow-ip = *.*.*.*
 box-allow-ip = 127.0.0.1;10.10.5.2
 box-deny-ip = *.*.*.*
 log-file = /var/log/kannel/bearerbox.log
 log-level = 0
 access-log = /var/log/kannel/beareraccess.log

 ##
 # SMSBOX SETUP
 #
 group = smsbox
 bearerbox-host = 10.10.5.2
 sendsms-chars = 0123456789 +
 sendsms-port = 13013
 global-sender = SmsGlobal
 log-file = /var/log/kannel/smsbox.log
 log-level = 0
 access-log = /var/log/kannel/smsaccess.log
 http-request-retry = 5
 http-queue-delay = 5

  CONEXION A MYSQL LOCALHOST
 group = mysql-connection
 id = mydlr
 host = localhost
 username = x
 password = x
 database = kannel_dlr
 max-connections = 2


  DLR DB DEFINITION
 group = dlr-db
 id = mydlr
 table = tblkannel_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

 Regards

 Alvaro





-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: coding UCS2

2008-08-01 Thread Kashif Ali Bukhari
what utf encoding are you using? try with utf-16

On Tue, Jul 29, 2008 at 4:50 PM, bahassi rim hajar
[EMAIL PROTECTED] wrote:
 hi ,

 i would  like to send a sms coding with UCS2 ,but i have a problem i don't 
 understand why.

 i have add a variable coding=2 to the request HTTP and what i have when the 
 message arrive is nothing.

 Could someone help me.

 regards

 Rim


  
 _
 Envoyez avec Yahoo! Mail. Une boite mail plus intelligente 
 http://mail.yahoo.fr





-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: sms on web tv

2008-08-01 Thread Kashif Ali Bukhari
Good way to store them in sql and use a ticker  to use  HTML marque,
this is the simplest idea , for professional application you can
contact undersign.

On Tue, Jul 29, 2008 at 9:30 PM, Carachi83 [EMAIL PROTECTED] wrote:
 Hi,

 1)I would like to create a system for a web tv that provides to have sms on
 screen meanwhile photos or videos, etc goes on , like the tv programs on Mtv
 or AllMusic.
 There is someone that can suggest me programs for do it or how do it?

 2)There is someone that manage to use mobile phone Sony Ericsson K610i with
 kannel?

 Thank you





-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: Message receiving problem with Huawei E169

2008-08-01 Thread Kashif Ali Bukhari
most chines devices are non standard try some other modem

On Wed, Jul 30, 2008 at 7:30 PM, Markus Ebeling
[EMAIL PROTECTED] wrote:
 I'm having a problem receiving messages with Kannel + Huawei E169 +
 Ubuntu 8.04.1. Sending works perfectly but nothing happens when I send a
 message back to the server's modem. Not a single line appears to log
 when a message arrives.

 Does receiving messages work with Huawei modems (is this a configuration
 problem) or should I change to Nokia phone instead?

 Here's my kannel.conf
 group = core
 admin-port = 13000
 smsbox-port = 13001
 admin-password = bar
 log-file = /var/log/kannel/bearerbox.log
 log-level = 0
 box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1
 sms-resend-freq = 3

 group = smsc
 smsc = at
 modemtype = auto
 device = /dev/ttyUSB0
 connect-allow-ip = 127.0.0.1
 log-level = 0

 group = smsbox
 bearerbox-host = 127.0.0.1
 sendsms-port = 13013
 global-sender = +358401234567
 log-level = 0
 log-file = /var/log/kannel/smsbox.log

 group = sendsms-user
 username = kanneluser
 password = password
 concatenation = true
 max-messages = 100


 # SMS SERVICE 'default'
 group = sms-service
 keyword = nop
 text = You asked nothing and I did it!
 catch-all = true

 include = /etc/kannel/modems.conf

 --
Markus Ebeling







-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: How to send or receive sms?

2008-07-30 Thread Kashif Ali Bukhari
Dear usman explaining your problem is half your slution. please
explain what you want?


On Thu, Jul 31, 2008 at 8:55 AM,  [EMAIL PROTECTED] wrote:
 Hi,
 Can anyone tell how to send and receive sms with Kannel. I have attached
 nokia   6630 with usb data cable to my PC.

 Regards

 Usman





-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: SMSC connection with Telcel Mexico

2008-07-25 Thread Kashif Ali Bukhari
Did you ask Telcel Mexico  guys to profive you smsc detail ?
Please ask them following

1. configuration protocol ( smpp or http )
2. in case of smpp, ask them smpp protocol version.
3. smsc ip address
4 username
5. password.
6. is it mulit channel or single channle


On Fri, Jul 25, 2008 at 4:46 AM, Alvaro Cornejo
[EMAIL PROTECTED] wrote:
 Does anyone has a connection with Telcel Mexico that can share smsc config
 info?

 We finally get an SMSC connection with them and will start testing
 connectivity next week and I'll like to be ready for the tests so we can
 start productions asap.

 Regards

 Alvaro





-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: SMPP HOST fail-over method

2008-07-25 Thread Kashif Ali Bukhari
You can add separate smsc configuration for each ip and use smsc routes

On Fri, Jul 25, 2008 at 2:07 PM, Tharanga [EMAIL PROTECTED] wrote:
 Hi List,

 I have several IP addresses for my smpp account. is there any way to add 2
 or more SMPP host options in the kannel config. (host=x;y).

 So the one server failure will not effect my smpp connection. kannel will
 route using the secondary path. (this is possible using Linux HA.), but i
 need to enable this on main server.

 any ideas ?

 thanks and regards,
 Tharanga






-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: HTTPS MO Messages with HTTPS SMSC

2008-07-25 Thread Kashif Ali Bukhari
that is your solution but does not recommended.

On Fri, Jul 25, 2008 at 12:47 PM, sangprabv [EMAIL PROTECTED] wrote:
 Yes we can setup an Apache either as SSL-Proxy or Proxy-Pass. But it
 will add one more hop then.

 Regards,


 Willy
 On Fri, 2008-07-25 at 08:17 +0200, Falko Ziemann wrote:
 Im not sure if kannel support this, but I don't think so. Why don't you
 simply set a apache as SSL-Proxy in front of kannel?
 - makes it much easier
 - you can use the certificate for multiple services
 - you get dozens of howtos


 [EMAIL PROTECTED] schrieb:
  Mmmm im not sure if kannel http smsc will support ssl, i dont use it. 
  Maybe you can test that out
  Sent from my BlackBerry(R) wireless device
 
  -Original Message-
  From: sangprabv [EMAIL PROTECTED]
 
  Date: Fri, 25 Jul 2008 11:20:45
  To: [EMAIL PROTECTED]
  Cc: usersusers@kannel.org
  Subject: Re: HTTPS MO Messages with HTTPS SMSC
 
 
  Hi,
  This is not a HTTPS I guess, CMIIW? Some telco requires a SSLed
  connection this mean if we use HTTP SMSC from Kannel, it should be
  HTTPS, right? TIA
 
  Regards,
 
 
  Willy
  On Fri, 2008-07-25 at 04:14 +, [EMAIL PROTECTED] wrote:
 
  You can receive them by default on the url http://kannel:port/from to 
  tex... Just like an mt but without the sendsms uri
  Sent from my BlackBerry(R) wireless device
 
  -Original Message-
  From: sangprabv [EMAIL PROTECTED]
 
  Date: Fri, 25 Jul 2008 11:09:11
  To: usersusers@kannel.org
  Subject: HTTPS MO Messages with HTTPS SMSC
 
 
  Hi List,
  AFAIK, Kannel supports sending MT via HTTPS with HTTP SMSC by
  manipulating the send-url directive. But does Kannel supports receiving
  MO via HTTPS also (with HTTPS SMSC)? I have read the user guide but
  found no clue, or is there any directives to activate it? TIA
 
  Regards,
 
 
  Willy
 
 
 

 --
 ---
 SMS SERVER, SMS BULK, SMS PREMIUM, WEB DESIGN, NETWORKING
 Contact [EMAIL PROTECTED], 62 811 923 464, 62 21 944 8282 4
 http://www.binbit.co.id






-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: phone

2008-07-24 Thread Kashif Ali Bukhari
i found Siemens SL45 and nokia 7610 best for kannel

On Thu, Jul 24, 2008 at 1:15 AM, Carachi83 [EMAIL PROTECTED] wrote:
 I would like to ask you which is the best phone for Kannel???   :) Thank
 you.





-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: Restart Single SMSC

2008-07-24 Thread Kashif Ali Bukhari
It doesn't required any username in bearer box configuration.

2008/7/24 seik [EMAIL PROTECTED]:
 well there is no username value in the stop request

 -Original Message-
 From:  []
 Sent: 23 Юли 2008 г.
 To: seik
 Subject:Restart Single SMSC

 Dear members,

 I have configured kannel for multiple SMSC's. Now I want to restart
 single SMSC with out disturbing others. I am trying following

 Lynx �Cdump http://mydomain.com:13000/stop-smsc?smscname?passwd=pass;

 I get the message Denied

 Password is correct but still can't make it work. What could be the possible 
 problem?











 No virus found in this outgoing message.
 Checked by AVG - http://www.avg.com
 Version: 8.0.138 / Virus Database: 270.5.3/1565 - Release Date: 21.7.2008 _. 
 18:36






-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com


Re: MySQL Support with pre compiled Binaries

2008-07-22 Thread Kashif Ali Bukhari
Why dont you compile it at own?
Ubuntu's package management system contains kannel without sqlbox support

On Tue, Jul 1, 2008 at 11:20 AM, Engel L [EMAIL PROTECTED] wrote:
 Hi,

 I have installed Kannel on Ubuntu using a .deb precompiled binary and I want
 to enable MySQL support for dlr. Must I unistall the already installed
 package and compile the sources myself to enable mysql support? I am hoping
 there's something I can do/add/configure to enable mysql with my current
 installation as is.

 Please Assist

 Engel Linus



-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: KANNEL + SQL BOX data_coding problem.

2008-07-22 Thread Kashif Ali Bukhari
can you show the version detail and compiling parameters ?
P.S use stable reported version.

On Mon, Jul 14, 2008 at 1:12 PM, Binary Bilgisayar [EMAIL PROTECTED] wrote:
 Hi there.

 i am using kannel cvs and sqlbox standalone.
 when i send sms from sqlbox, data_coding is being 219, so i can not see the
 arrived message right.

 i am looking for this problem to mail archieves about 10 days. i saw a
 little solve, while compiling sqlbox,
 ideleted one line in sqlbox_pgsql.c :

 msg-sms.mwi  = atol_null(13);

 so, i disabled sending mwi value from sqlbox.

 Now, when i send mClass value -1 in sqlbox, smpp data_coding value is 0,
 but when i use 0 for mClass, data_coding is being 241.

 How can i solve this problem ???


 thanks
 Mustafa KEMERCİ

 
 Şimdi aileye katılmanın tam zamanı - Yeni nesil Ücretsiz Windows Live
 Hizmetlerini şimdi edinin! Buraya tıkla!



-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com


Re: Getting Started with Kannel, Need some help

2008-07-22 Thread Kashif Ali Bukhari
Please find my response bellow


Q.  Which GSM modems are guaranteed to work with kannel (also if
available in India)
A.   Soneyericson

Q. Is serial connection required ? or can use USB too ?
A. You can use serial cable, usb or any pci gsm modem.

Q. Which phones are know to work with Kannel and how to make them work
with USB connection
A. I used nokia 7610, nokia n70 and motorokr e6.

Q. Does anyone on list had made kannel work with Motorola A1200 , Nokia 3320
A. E6 and A1200 are in same family A1200 should work for you if E6 is
working for me. (I have not tested A1200)

Q.My OS is ubuntu 8.04
A. Good I love it ;)

-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: unsubscribe

2008-07-22 Thread Kashif Ali Bukhari
Good bye we would love to see you again  (If you successful unsubscribed)

On Mon, Jul 14, 2008 at 1:02 PM, Bremer, Gerd [EMAIL PROTECTED] wrote:




-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: OMA Provisioning

2008-07-22 Thread Kashif Ali Bukhari
/
 parm name=NAME value=WAP-MMS/
 characteristic type=PXPHYSICAL
 parm name=PHYSICAL-PROXY-ID value=PROXY1/
 parm name=PXADDR value=192.168.145.101/
 parm name=PXADDRTYPE value=IPV4/
 parm name=TO-NAPID value=WAP-MMS/
 /characteristic
  characteristic type=PORT
 parm name=PORTNPR value=9201/
  /characteristic
 /characteristic
 characteristic type=NAPDEF
 parm name=NAPID value=WAP-MMS/
 parm name=BEARER value=GSM-GPRS/
 parm name=NAME value=TESTAPN/
 parm name=NAP-ADDRESS value=UNL/
 parm name=NAP-ADDRTYPE value=APN/
 characteristic type=NAPAUTHINFO
 parm name=AUTHTYPE value=PAP/
 parm name=AUTHNAME value=/
 parm name=AUTHSECRET value=/
 /characteristic
 /characteristic
 /wap-provisioningdoc



 Please help me





 Thanks

 Zillur












-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: SMS MO Cancelation

2008-07-22 Thread Kashif Ali Bukhari
If Mo is charged then there is no way to refund from your end until
your provider agree to payback, do you have data for such client (I.e
their numbers)?

On Sat, Jun 28, 2008 at 2:52 AM, Marcelo Aguila [EMAIL PROTECTED] wrote:
 Hi, guys.

 I've got a doubt with this issue. We're impleting a service that sms mo has a
 cost and sms mt it's free.

 In the case of system error  (for example we couldn't wrote this sms mo
 transaction into a database),  it's possible, in kannel (operator uses smpp),
 to answer in some way that this sms mo doesn't be charged to the client,
 because we couldn't finish the transaction succesfully ?

 Regards,
 m





-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: MT/MO over smpp international

2008-07-10 Thread Kashif Ali Bukhari
this list is not for public

On Thu, Jul 10, 2008 at 2:45 PM, Iain Dooley
[EMAIL PROTECTED] wrote:
 try [EMAIL PROTECTED]

 On Thu, 10 Jul 2008, Kashif Ali Bukhari wrote:

 Dear all
   I want a cheapest smpp bnased smsc provider to send MT/MO
 to international destinations. please refer me

 --
 Syed Kashif Ali Bukhari
 +92-300-4295604
 http://www.sysadminsline.com
 http://www.kashifbukhari.com






-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com



Re: problem with sqlbox

2008-06-03 Thread Kashif Ali Bukhari

Dear Tushar!
Please send the output of lynx http://localhost:13000/status .
Best regards
Kashif Ali Bukhari

Tushar wrote:

Hi all,

   Any updates on this problem. I went through the mysql link but I am
confused.


Thanks and regards,
 
Tushar Chauhan


-Original Message-
From: Thomas Göttgens [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 30, 2008 11:57 PM

To: Alejandro Guerrieri
Cc: users@kannel.org
Subject: Re[2]: problem with sqlbox

Hello Alejandro and all,

i have come across this before, the same problem, strings terminating after
a NULL character. From what i have found out, the strings are handled
correctly as octstr in the code, but the actual mysql insert does not encode
the payload to a binary insert and hence the 00 clipping occurs within the
mysql driver.

There is no easy fix because the representation of data needs to be
converted to a binary safe syntax for the mysql insert. That's where i
stopped, cause i am not that firm in c, and used the method of repeating the
port in the UDH sequence like described earlier.

a pointer for fixing this in sqlbox would be
http://dev.mysql.com/doc/refman/5.0/en/hexadecimal-values.html

Thursday, May 29, 2008, 4:38:48 PM, you wrote:

The hex values as a string? Could you paste a sample query of what you're
doing?

Regards,

Alejandro


On Thu, May 29, 2008 at 6:42 AM, Tushar [EMAIL PROTECTED] wrote:

 
I tried with sqlbox-standalone also but the same thing happened again.

Can u tell me in what form I should submit the udhdata and msgdata into
database. Currently I am inserting the hex values only.
 
 
 
Thanks and regards,
 
Tushar Chauhan
 

From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED] 


Sent: Thursday, May 29, 2008 10:52 AM
To: users@kannel.org
Subject: Re: problem with sqlbox
 
Well, looks a lot like a bug. Maybe the string is treated as a null

terminated C string instead of an Octstr somewhere on sqlbox code. That
would explain that behaviour, but more testings are needed to confirm that.

Furthermore, the sqlbox patch is quite outdated and deprecated, you should
try running the sqlbox-standalone package along with latest stable kannel
(the cvs branch is quite stable as well). sqlbox-standalone works
independently from kannel, so no patching is necessary on kannel's tree.

Maybe the problem was fixed on newer releases, try updating and if the
problem persists then let us know.

Regards,

Alejandro
On Thu, May 29, 2008 at 2:15 AM, Tushar [EMAIL PROTECTED] wrote:
I have already done that …. After putting 1581 instead of  I got the UDH
right but the message data part was still trimmed after 00 as I have shown
below.
I need to send the full message. Please help me with this/
 
 
Thanks and regards,
 
Tushar Chauhan
 

From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 28, 2008 8:46 PM

To: users@kannel.org

Subject: Re: problem with sqlbox
 
Try putting 1581, instead of , should work...


Regards,

Alejandro
On Wed, May 28, 2008 at 11:34 AM, Tushar [EMAIL PROTECTED] wrote:
 
 
No my sms is not exceeding 160 chars. The size of the message pasted below

is also 91. so I don't think there is any problem with the size of the
message.
Moreover the same message is getting delivered when I send it thru' the http
url of kannel.
 
 
Tushar Chauhan
 

From: Kashif Ali Bukhari [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 28, 2008 6:41 PM

To: Tushar
Cc: users@kannel.org
Subject: Re: problem with sqlbox
 
may be you sms is exceeding 160 characters and telco doesn't support
concatenation . 

Tushar wrote: 
Hello all,
 
I am running kannel version 1.4.1 with sqlbox patch and TLV

patch. I am having following problem with sqlbox :
 
 
Whenever I am trying to submit monotone or any other binary message with
UDH, e.g, let us consider a monotone with 
 
UDH =  0605041581
And 
DATA=

024A3A515195C9940400791CC512495412424E314492550490938C512495412424E314488498
498518520552560520498498498518520552560520498939039038C512612814494812824E20
E4144985205D855A51A55849854A00
 
Now whenever I am trying to send this message through sqlbox. I am getting
nothing on my phone when I checked the logs I found out that 
Sqlbox sent the message with following details:
 
UDH= 0605041581
And 
DATA = 024A3A515195C99404
 
I don't know what's happening but I think sqlbox is removing everything

after it gets 00 in UDH or data part.
If somebody got the same problem, Please help me to fix this.
 
 
 
Thanks and regards,
 
Tushar Chauhan
 
 
 






  





Re: Problem with SMSCid

2008-05-28 Thread Kashif Ali Bukhari

Dear PoPo

Please use following in  dyn smsc configuration .

   preferred-smsc-id = dyn
   denied-smsc-id = other

and following in other

   preferred-smsc-id = other
   denied-smsc-id = dyn

Note: if this doesn't help you then send your smpp configuration for 
both  smsc.


Best regards,
Kashif Ali Bukhari


PoPo wrote:

Hi all,

I have a problem with Kannel / Smsbox :

When I call this URL (smsc-id : dyn) :
http://myhost:13013/cgi-bin/sendsms?user=***pass=***from=Testto=33***smsc=dyntext=testcoding=0 



SMSbox send the SMS trough other smsc-id : fix.
Log :

[EMAIL PROTECTED]:/etc/kannel# tail -f /var/log/kannel/smsc_fix.log
2008-05-28 08:48:57 [18076] [7] DEBUG: Optional parameter length read 
as 1

2008-05-28 08:48:57 [18076] [7] DEBUG: SMPP[fix]: Got PDU:
2008-05-28 08:48:57 [18076] [7] DEBUG: SMPP PDU 0x8197250 dump:
2008-05-28 08:48:57 [18076] [7] DEBUG:   type_name: bind_receiver_resp
2008-05-28 08:48:57 [18076] [7] DEBUG:   command_id: 2147483649 = 
0x8001

2008-05-28 08:48:57 [18076] [7] DEBUG:   command_status: 0 = 0x
2008-05-28 08:48:57 [18076] [7] DEBUG:   sequence_number: 1 = 0x0001
2008-05-28 08:48:57 [18076] [7] DEBUG:   system_id: OUT-SMPP
2008-05-28 08:48:57 [18076] [7] DEBUG:   sc_interface_version: 52 = 
0x0034


Can you help me please ?

Thanks
Cyril G.







Re: problem with sqlbox

2008-05-28 Thread Kashif Ali Bukhari
may be you sms is exceeding 160 characters and telco doesn't support 
concatenation .


Tushar wrote:


Hello all,

 

I am running kannel version 1.4.1 with sqlbox patch and 
TLV patch. I am having following problem with sqlbox :


 

 

Whenever I am trying to submit monotone or any other binary message 
with UDH, e.g, let us consider a monotone with


 


UDH =  *0605041581*

And

DATA= 
*024A3A515195C99404*00791CC512495412424E314492550490938C512495412424E314488498498518520552560520498498498518520552560520498939039038C512612814494812824E20E4144985205D855A51A55849854A00


 

Now whenever I am trying to send this message through sqlbox. I am 
getting nothing on my phone when I checked the logs I found out that


Sqlbox sent the message with following details:

 


UDH= 0605041581

And

DATA = 024A3A515195C99404

 

I don't know what's happening but I think sqlbox is removing 
everything after it gets 00 in UDH or data part.


If somebody got the same problem, Please help me to fix this.

 

 

 


Thanks and regards,

 


Tushar Chauhan





Re: Kannel fails with dlr-storage set as mysql

2008-05-28 Thread Kashif Ali Bukhari

That mean your rpm does not compiled with mysql support.


James Mutuku wrote:

Hi,
   I have installed kannel  using rpm files on centos5. I have been 
trying to set up dlr-storage using mysql...but when I do, 
kannel(bearerbox and smsbox) fails to start. What could be the problem.







How add sender number in wappush

2008-05-13 Thread Kashif Ali Bukhari

Dear kannel list members.
   I want to send from number ( i.e 300, 
500) dynamically using wappush , I am using bellow mentioned script .  
please guide me how can I sender  number.



--- php core -
?

$country_code = $_REQUEST[cc];
$phone = $_REQUEST[ph];
$push_url = $_REQUEST[url];
$text = $_REQUEST[msg];
$smsc_id  = $_REQUEST[smsc];

send_wap_push($smsc_id, $country_code, $phone, $url, $text);

function function_that_generates_a_unique_id()
   {
   return |md5(uniqid(rand(), true));
   }

function send_wap_push($smsc_id, $country_code, $phone, $push_url, $text)
   {
   $host = '127.0.0.1:';
   $port = '8080';
   $url  =  http://$host:$port;;
  
   $ppg_user = '';

   $ppg_pass = '';
  
   $wap_push_id = function_that_generates_a_unique_id(){


   return |md5(uniqid(rand(), true));|
   }

   $body =--multipart-boundary\r\n.Content-type: 
application/xml\r\n\r\n.'?xml version=1.0?'.\r\n.'!DOCTYPE pap 
PUBLIC -//WAPFORUM//DTD PAP 
1.0//EN'.\r\n.'http://www.wapforum.org/DTD/pap_1.0.dtd; 
'.\r\n.'pap'.\r\n.'push-message 
push-id='.$wap_push_id.''.\r\n.'address 
address-value=WAPPUSH=+'.$country_code.$phone.'/TYPE=PLMN at 
ppg.nokia.com/'.\r\n.'quality-of-service 
delivery-method=unconfirmed network=GSM 
bearer=SMS/'./push-message\r\n./pap\r\n\r\n.--multipart-boundary\r\n.Content-type: 
text/vnd.wap.si\r\n\r\n.'?xml version=1.0?'.\r\n.'!DOCTYPE si 
PUBLIC -//WAPFORUM//DTD SI 
1.0//EN'.\r\n.'http://www.wapforum.org/DTD/si.dtd;'.\r\n.si\r\n.'indication 
action=signal-high 
si-id='.$wap_push_id.'href='.$push_url.''.$text.'/indication'.\r\n./si\r\n.--multipart-boundary--\r\n;


   $post = POST /wappush HTTP/1.1\r\n.Host: 
$host:$port\r\n.X-Kannel-SMSC: $smsc_id\r\n.'Content-Type: 
multipart/related; 
boundary=multipart-boundary;type=application/xml'.\r\n.Content-Length: 
.strlen($body).\r\n.\r\n.$body;


   $ch = curl_init();
   curl_setopt ($ch, CURLOPT_URL, $url);
   curl_setopt($ch, CURLOPT_HEADER, 1);
   curl_setopt($ch, CURLOPT_TIMEOUT, 15);
   curl_setopt ($ch,CURLOPT_CUSTOMREQUEST , $post);
   curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
   $reply = curl_exec($ch);
   curl_close ($ch);
  
   print_r($reply);

}

?
//php 
code-



Best regards,
Kashif Ali Bukhari





sending wappush

2008-05-09 Thread Kashif Ali Bukhari

Dear All,
I want to send following URL as wap push along with text.

WAP Push URL : 
http://xxx.xxx.xxx.xxx/xxx/otaservlet?key=57455273941531823472134500568194955622687021467   



display Text: Download my application.

Best regards,
Kashif Ali Bukhari



Re: Urdu / Arabic / UTF-8 Messages

2008-04-09 Thread Kashif Ali Bukhari

Dear Amir
 the problem is that most hand sets dont support utf-8 urdu 
unicodes .

best regards,
Kashif Ali

Aamir Jamil Rao wrote:

Hi There,

I know this question has been asked again and again , but I couldn't find
any example of sending utf-8 / Arabic messages using kannel via PHP or perl.
Can someone point me to an example or to some document/mailing list post
please.

Thanks!

Aamir



  





Re: Kannel Machine Connection with Operator VPN

2008-03-10 Thread Kashif Ali Bukhari
Dear Hammad,
   you can use mikrotik as VPN aggregator as i am also
using same produjt with almost all telcos

best regards,
Kashif Ali
[EMAIL PROTECTED]

On Fri, Feb 22, 2008 at 10:28 AM, Khan, Hammad Aslam
[EMAIL PROTECTED] wrote:
 Hi All,

 I know this is unrelated to post here about OpenSwan - but i dont find
 enough help else where and deadline is killing me... :(

 Operator, I am trying to connect with, wants to use
 - Preshared Key (he says we can define only ONE key and u also have to use
 the same)
 - NATed IP

 Can someone please make me IPSec.conf file for openswan for this
 configuration as povided by operator...


  Site-to-Site VPN Request Form Date: 11-02-2008

  VPN Configuration ME Operator
  Hardware Openswan[Linux] (Dell 2400) Cisco VPN Concentrator 3000
  DH Group   Diffie-Helman Group 2
  Production Peer 5.5.5.5 6.6.6.6
  Encryption Domain 192.168.100.21 NAT into 10.5.5.5 172.18.104.244
  Encryption   3DES
  Authentication   MD5
  Life Time   86400 sec
  PreShared Key   P_R
  Protocol   ESP
  SMSC Connectivity Customer Operator
  Ecnryption domain (SMPP host IP-Address) NATed IP address for SMPP host
 10.5.5.5 10.8.8.8
  172.18.104.244
  Protocol TCP/Ports   17601-17606


  NATed IP added by operator 10.5.125.105
  192.168.100.21 Our Kannel Machine

 Regards,
 Hammad
 Flexilogix Inc




 On Tue, Jan 29, 2008 at 4:37 PM, Reza Anwar [EMAIL PROTECTED] wrote:

  Hi Hammad,
  I've actually had some experience connecting Kannel to an SMSC thru a
  VPN. At the time I used a linux box (PC) with FreeS/WAN (http://
  www.freeswan.org/) as a VPN router interconnected to the operator's
  VPN router (I believe it was Checkpoint VPN-1) without any problems,
  perhaps you can use this setup too.
 
  Regards,
  --Reza
 
 
 
 
  On Jan 29, 2008, at 2:55 PM, Khan, Hammad Aslam wrote:
 
   Hi All,
   What is the the best proposed setup for integration of Kannel
   Machine with operator SMSC?
   VPN (site-to-site) is a bit costly because of VPN concentrator/
   routers. I read some postings in listing that suggested only kannel
   machine can be directly connected to operator VPN and then to SMSC.
  
   Can someone tell me the procedure for that please.
  
   Its very urgent as operator is waiting for our VPN access request.
  
   regards,
   hammad
 
 





-- 
Syed Kashif Ali Bukhari
+92-300-4295604
http://www.sysadminsline.com
http://www.kashifbukhari.com