To send messages (MT) you make an http request from your php script. To receive messages (MO) Kannel makes an http request to your php script.
Both Kannel and your php scripts can reside on a different server. Like I said before: Read the users manual. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Jayanta Saha Sent: zondag 23 december 2012 14:55 To: users@kannel.org Subject: Fwd: SMS mo type ok thanks can you make it more clear suppose my kannel on one server and my php script on another server how both of them can communicate. thanks ---------- Forwarded message ---------- From: Rene Kluwen <rene.klu...@chimit.nl> Date: Sun, Dec 23, 2012 at 7:07 PM Subject: RE: SMS mo type To: Jayanta Saha <jayanta....@gmail.com>, users@kannel.org The point of having Kannel is that it is an abstraction layer. Your PHP script doesn't need to know anything about SMPP or what port it uses. From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Jayanta Saha Sent: zondag 23 december 2012 14:07 To: users@kannel.org Subject: Fwd: SMS mo type actually I am not sure about kannel part my concern is to connect the php script to kannel using port >now how to frame the php script or what codding need to be done. thanks jay ---------- Forwarded message ---------- From: Ali Kashif <syedalikas...@gmail.com> Date: Sun, Dec 23, 2012 at 6:19 PM Subject: Re: SMS mo type To: Jayanta Saha <jayanta....@gmail.com> Cc: users@kannel.org Hi if you explain what is final goal then some one might suggest an alternative or a bater solution. why exactly you want to connect to kannel on SMSC port? are you trying to create a phpbased SMPP client? Thanks Ali On Sun, Dec 23, 2012 at 3:41 PM, Jayanta Saha <jayanta....@gmail.com> wrote: From: Jayanta Saha [mailto:jayanta....@gmail.com] Sent: zondag 23 december 2012 13:36 To: Rene Kluwen Subject: Re: SMS mo type thanks for your suggestion Actually my PHP script need to be connected to particular port which is mentioned in Kannel file i.e in SMSC .bellow is the kannel.config part group = smsc smsc = smpp smsc-id = Test123 allowed-smsc-id = xxxxxxx host = xxxxxxx port = xxxxxx ///i need to connect to here so what will be the php script so that I can connect to that port of kannel which is located in server another thing i need to know that php script call the kannel.config or kannel .config call phpscript.... thanks On Sun, Dec 23, 2012 at 5:52 PM, Rene Kluwen <rene.klu...@chimit.nl> wrote: See: http://www.kannel.org/download/1.4.3/userguide-1.4.3/userguide.html#AEN3309 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Jayanta Saha Sent: zondag 23 december 2012 10:44 To: users@kannel.org Subject: SMS mo type i have a problem with mo type message. I need to know what will be the php script for mo type message and the how will be the kannel config. file> I mean how the connectivity will be set betwen kannel. config file nad php script.Now my kannel file will be in server and I am using smpp server now what are codes need to be included in my php script so to make connectivity with kannel which is in the server. Please help me out . Thanks.