Check modem log to see if modem if kannel is getting the messages and
passing it to your script. If not you need to configure your modem to
do so. Use AT+CNMI command to define that or use sim-buffering=true
Regards
Alvaro
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com
On Thu, Jul 9, 2009 at 5:41 AM, Cezary Siwek<[email protected]> wrote:
> Hi,
>
> You have to tell your bearerbox which smsbox you want to route incoming
> messages to (possiblly you have only one smsbox but it needs to be
> configured anyway). Read in the manual about smsbox-route group.
>
> Regards,
> Cezary
>
>
>
> ----- Original Message -----
> From: Nikhil
> To: [email protected]
> Sent: 09 July 2009 11:29
> Subject: Cannot Receive Messages on Kannel
> Hi,
>
> As mentioned in my other mail-thread, I tried to use Kannel with my Motorola
> V3m connected as a Modem. However, it didn't work and I had to switch over
> to a Nokia XPressMusic handset. I could successfully send messages using the
> "cgi-bin/sendsms" script.
>
> However, when I tried to reply on the same number, the message showed up on
> the connected handset but failed to hit my "get-url" which happens to be a
> Java servlet. Do I need to configure something else or is it that I'm
> following a wrong path? Here's my sms-service block in smskannel.conf
>
> group = sms-service
> get-url = "http://192.168.0.2:8080/smsservlet/home.pg?phone=%p&text=%a";
> keyword=default
> omit-empty = true
> accept-x-kannel-headers = true
>
> I have not kept any other sms-service active which also means that all
> non-empty incoming requests shall be handled by "default". I'd be glad to
> know if anybody could correct me there. Also, the servlet works when hit
> through a Web Browser.
> --
> Regards
> Nikhil Lanjewar
>