Sorry to bother you again but one thing i fail to understand is the how
get-url, post-url and exec parameters normally work. My understanding is
that this is what Kannel does (requests the url) on receipt of an sms, and
responds to the send, with the content (the result of the http request), or
for the case of exec, it responds with the result of the system call. But
what I need to know is, before Kannel responds to the message, how does it
receive it from the SMSC? Doesn't Kannel make a provision for this? The
reason I am asking is what I want to do is do some processing (an external
application) after receiving the SMS, then Kannel can respond to the sender
with the result of the processing. But before all that takes place Kannel
has to actually receive the message, any possible ways for the SMSC to route
the message to Kannel? I am thinking a php script or any other is an extra
overhead that there should be a way to avoid. So my question is does
Kannel/SMPP make a provision for that (receiving messages from the SMSC).

On Jan 17, 2008 2:56 PM, Mike Nwaogu <[EMAIL PROTECTED]> wrote:

> Yes Engel,
> as long as they're sending in SMS via HTTP then a webserver is what you'll
> need and a php script to handle the in coming requests.
>
>
> Regards,
> Mike Nwaogu
> Tel: 234_802_325_6437
> Eml: [EMAIL PROTECTED]
>
>
> ----- Original Message ----
> From: Engel L <[EMAIL PROTECTED]>
> To: Mike Nwaogu <[EMAIL PROTECTED]>; [email protected]
> Sent: Thursday, January 17, 2008 9:39:17 AM
> Subject: Re: Need Help Configuring Kannel for SMS Pull
>
> Thanks again Mike, what I am getting from this is that I the receiving of
> the SMS is not Kannel related. I can set up a php script independent of
> Kannel with with I can process and extract the SMS from the SMSC (in form of
> a URL). I was thinking Kannel handles this as well, now what I am getting is
> i need to install a web server as well isn't that correct?
>
> Thanks Again Mike
>
> Regards,
> Engel Linus
> CECIT
>
> On Jan 17, 2008 10:44 AM, Mike Nwaogu <[EMAIL PROTECTED]> wrote:
>
> > Ok, I'm sorry I miss understood at first.
> > You'll need to give them the URL to which they'll send the sms messages.
> > Then you'll need to agree on the Message parameters eg:
> >
> > the name of the parameter for senders' address
> > the name of the parameter for message and any other parameter you may
> > want from them.
> > That way they'll know to send you a query to your URL in the format that
> > you'll be able to receive and process them.
> >
> >
> > Regards,
> > Mike Nwaogu
> > Tel: 234_802_325_6437
> > Eml: [EMAIL PROTECTED]
> >
> >
> > ----- Original Message ----
> > From: Engel L <[EMAIL PROTECTED]>
> > To: Mike Nwaogu <[EMAIL PROTECTED]>
> > Sent: Thursday, January 17, 2008 8:35:20 AM
> > Subject: Re: Need Help Configuring Kannel for SMS Pull
> >
> > Thank you Mike for the quick response. But I need to know what needs to
> > be done at the SMSC, what information do I need to give them to route my
> > messages to Kannel? They told me they can use HTTP and I am interested in
> > that option since it seems to be the easiest. I would imagine the get-url
> > option is best suited for this task.
> >
> > Regards
> > Engel Linus
> > CECIT
> >
> >
> > On Jan 16, 2008 11:18 PM, Mike Nwaogu <[EMAIL PROTECTED]> wrote:
> >
> > > Hello Engel,
> > > You can configure a group = sms-service and include an exec parameter
> > > or geturl/posturl option in the group. eg:
> > > note that you can only use either of them, exec, post-url or get-url
> > >
> > > group = sms-service
> > > name = Incoming
> > > keyword = default
> > > exec = "/home/admin/doSMS.pl %p %P '%a'"
> > > catch-all = true
> > > #get-url = 
> > > "http://localhost/service.php?phone=%p&text=%r&binary=%b&smsc=$i&time=%t<http://localhost/service.php?phone=%25p&text=%25r&binary=%25b&smsc=$i&time=%25t>
> > > "
> > > #post-url = 
> > > "http://localhost/service.php?phone=%p&text=%r&binary=%b&smsc=$i&time=%t<http://localhost/service.php?phone=%25p&text=%25r&binary=%25b&smsc=$i&time=%25t>
> > > "
> > >
> > > This will ensure that all your messages are sent to this application
> > > from where you can determine the response.
> > >
> > > Regards,
> > > Mike Nwaogu
> > > Tel: 234_802_325_6437
> > > Eml: [EMAIL PROTECTED]
> > >
> > >
> > > ----- Original Message ----
> > > From: Engel L <[EMAIL PROTECTED] >
> > > To: [email protected]
> > > Sent: Wednesday, January 16, 2008 5:19:47 PM
> > > Subject: Need Help Configuring Kannel for SMS Pull
> > >
> > >
> > > Hi,
> > >
> > > I am experimenting with Kannel and I do have access to a vendor SMSC.
> > > I have managed to send messages using Kannel (push sms) but a major part 
> > > of
> > > what I am trying to do is be able to receive messages from the SMSC (A 
> > > user
> > > would send an SMS to a certain number, and the SMSC would forward the
> > > message to Kannel). I need to know what options I have to receive the
> > > message to the gateway. From the SMSC's point of view, what options do I
> > > have for forwarding the messages to Kannel (protocols-HTTP, SMPP ??). I
> > > would prefer HTTP since it should be easier to develop around (And I would
> > > imagine a majority of Kannel users have used HTTP before for Pull 
> > > Purposes).
> > >
> > >
> > > Please Assist.
> > >
> > > Regards,
> > >
> > > Engel Linus
> > > CECIT
> > > Dar es Salaam
> > >
> > >
> > >
> > > ------------------------------
> > > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
> > > it 
> > > now.<http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ>
> > >
> >
> >
> >
> > ------------------------------
> > Never miss a thing. Make Yahoo your 
> > homepage.<http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
> >
>
>
>
> ------------------------------
> Never miss a thing. Make Yahoo your 
> homepage.<http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
>

Reply via email to