Now I`m know from logs what my SMPP is working, but I`m don`t know how to send and receive message with Kannel.
and how can I send and receive message from DB for example MySQL.

With best rgd.

25.03.2011 17:38, Pavel Ageev пишет:
1. Save messages to DB
It's depends on how you use your kannel. First of all, if you user sms-services with 'get-url' param, you can easly save received/incoming messages to DB by your self (your script), before send outbound message (answer)
Or you can use a special addon for kannel, called sqlbox.

2. What do you mean, "connect to different providers"?
Several connections to smsc? Just add to conf file some smsc groups.
Or, if you want to provide some services for someone, according to anything params (such as shortcode, incoming text and etc) - you need to create mor different groups sms-services in your conf

Plz, more information about you problems. As you see, sometimes hard to understand what u want

25.03.2011, в 15:16, Komil Gulboev написал(а):

How to save receiving messages to DB? and how to connect to different providers?

25.03.2011 17:12, Pavel Ageev пишет:
Yeah, everything is ok!
According to your logs, your smpp client received an answer to you equire_link pdu packet.
command_status: 0 = 0x00000000
That means what your pdu paket was good, witthout any errors

Please, not read only Kanel documentation. You also need to understand something about basically SMPP protocol
http://www.nowsms.com/discus/messages/1/24856.html
Here you can get SMPP 3.4 Specification

25.03.2011, в 15:03, Komil Gulboev написал(а):

Finally I`m read user guide  ) and use this settings:
group = smsc
smsc = smpp
host = 129.13.0.93
port = 2775
#receive-port = 700
smsc-username = "SMPPWeb"
smsc-password = web.pwd
system-type = "VMA"
address-range = "3000"
log-file = "/var/log/kannel/smpp.log"

and in end i`m receive this logs but I`m not sure is it normal or no, pls help.

2011-03-25 12:57:27 [4275] [4] DEBUG: SMPP[SMPP:129.13.0.93:2775/2775:SMPPWeb:VMA]: Got PDU:
2011-03-25 12:57:27 [4275] [4] DEBUG: SMPP PDU 0x863d568 dump:
2011-03-25 12:57:27 [4275] [4] DEBUG:   type_name: enquire_link_resp
2011-03-25 12:57:27 [4275] [4] DEBUG: command_id: 2147483669 = 0x80000015
2011-03-25 12:57:27 [4275] [4] DEBUG:   command_status: 0 = 0x00000000
2011-03-25 12:57:27 [4275] [4] DEBUG: sequence_number: 16 = 0x00000010
2011-03-25 12:57:27 [4275] [4] DEBUG: SMPP PDU dump ends.
2011-03-25 12:57:27 [4275] [4] DEBUG: command_id: 2147483669 = 0x80000015
2011-03-25 12:57:27 [4275] [4] DEBUG:   command_status: 0 = 0x00000000
2011-03-25 12:57:27 [4275] [4] DEBUG: sequence_number: 16 = 0x00000010
2011-03-25 12:57:27 [4275] [4] DEBUG: SMPP PDU dump ends.


25.03.2011 13:03, Abdul Basit пишет:
Well. we all were new to kannel.

Please read http://www.kannel.org/userguide.shtml

Better to tell that you tried and you are stuck at some xyz point.
Share you configs and debug logs.


On Fri, Mar 25, 2011 at 10:38 AM, Komil Gulboev <ko...@babilon-m.tj <mailto:ko...@babilon-m.tj>> wrote:

    I need to some manual for start Kannel because I`m new in
    Kannel and it`s difficult for me.
    I hope to understand, thanks.




--
Regards,

Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445

--
Komil Gulboev

System Administrator
Automation Department
CJSC "Babilon-Mobile" Tajikistan
+992 918111133 mobile
+992 446000072 phone

Павел Агеев
Технический специалист.
Movable Сompany - Mobile content and Solutions

      mail:pavel.ag...@movable.ru <mailto:pavel.ag...@movable.ru>
      web:www.movable.ru <http://www.movable.ru/>
      skype: nawmem
      раб.тел.: (812) 4480878 доб. 14

     199034, В.О., Биржевая линия, д.14, 6 этаж


--
Komil Gulboev

System Administrator
Automation Department
CJSC "Babilon-Mobile" Tajikistan
+992 918111133 mobile
+992 446000072 phone

------------------------------------------
Pavel Ageev
Movable Сompany - Mobile content and Solutions

      mail:s...@movable.ru <mailto:pavel.ag...@movable.ru>
      web:www.movable.ru <http://www.movable.ru/>
      skype: nawmem
      work phone.: (812) 4480878 additional. 14
Russia, Saint-Petersburg
     Sedova Street, 11,  3rd floor, №313


--
Komil Gulboev

System Administrator
Automation Department
CJSC "Babilon-Mobile" Tajikistan
+992 918111133 mobile
+992 446000072 phone

Reply via email to