Hi Alejandro,

Thanks for the reply. But I am puzzled. How to fake the outgoing number to
display your incoming number? Pls enlighten me. Thanks.

regards

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Alejandro Guerrieri
Sent: Thursday, April 22, 2004 9:35 AM
To: [EMAIL PROTECTED]
Subject: RE: Two gsm modems


If I�m not wrong, that happens because the user is replying to the number
displayed on your outgoing message. If you set that number to your outgoing
modem, of course your carrier will route the replies to that modem!.

It is not really a problem related to kannel but to the way the SMS network
works. You should "fake" the outgoing number to display your incoming
modem�s number, then any reply will get routed to that modem by your
carrier.

Hope it helps,


At 03:20 22/04/2004, you wrote:
>Hi Jaakko,
>
>Thanks for the reply. I am afraid the problem is not with sending but
>receiving. With the config and without using smsc id in my send-sms
request,
>the log shows outgoing SMS to the outgoing modem, but if someone reply to
>the SMS, the log will show incoming sms to the outgoing modem, which I am
>trying to divert to the incoming modem and failed to do so. Pls advise.
>Thanks.
>
>regards
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Behalf Of Jaakko Heikkil�
>Sent: Wednesday, April 21, 2004 9:18 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Two gsm modems
>
>
>Hello Jan,
>
>I assume you are not using smsc id in your send-sms request?
>
>It seems that default-smsc does not prevent Kannel for using also other
>awailable smsc'es. If you want to make sure Kannel routes messages as
>you like, you can try to add "forced-smsc = OUTGOING" to sendsms-user
>group and/or "denied-smsc-id =" to smsc and sms-service groups.
>
>Note that smsc-id really is optional parameter in smsc group. I think
>less confusing would be to leave them out and use smsc-id as a "tag"
>attached to sendsms request. However smsc-id is very useful when you are
>reading log files. Of course you can use "my-number = <gsm terminal
>number>" instead to make logs more readable.
>
>I think smsbox-route group is quite useless if you have only one smsbox
>instance. Never tried to use that group.
>
>On Wed, 2004-04-21 at 10:09, [EMAIL PROTECTED] wrote:
> > Date: Tue, 20 Apr 2004 19:11:47 +0800
> > From: "Jan" <[EMAIL PROTECTED]>
> > Subject: Re: Two gsm modems
> > To: "[EMAIL PROTECTED] Org" <[EMAIL PROTECTED]>
> > Message-ID: <[EMAIL PROTECTED]>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Hi Jaakko,
> >
> > I still cannot get the config right. The incoming and outgoing sms are
>still
> > always via one modem or the other.
> > What have I gone wrong? Pls help.
> > Thanks.
> >
> > kannel.conf:
> >
> > group = core
> > admin-port = 13000
> > smsbox-port = 13001
> > admin-password = xxx
> > log-file = "/tmp/kannel.log"
> > log-level = 0
> > box-deny-ip = "*.*.*.*"
> > box-allow-ip = "127.0.0.1"
> > #admin-deny-ip = ""
> > #admin-allow-ip = ""
> > unified-prefix = "-65"
> > access-log = "/tmp/beareraccess.log"
> >
> > group = modems
> > id = wavecom
> > name = Wavecom
> > detect-string = "WAVECOM"
> >
> > group = smsc
> > smsc = at
> > smsc-id = INCOMING
> > allowed-smsc-id = INCOMING
> > #sms-center = +6598540020
> > modemtype = wavecom
> > device = /dev/ttyS1
> >
> > group = smsc
> > smsc = at
> > smsc-id = OUTGOING
> > allowed-smsc-id = OUTGOING
> > sms-center = +6596197777
> > modemtype = wavecom
> > device = /dev/ttyS0
> >
> > group = smsbox
> > smsbox-id = in
> > bearerbox-host = localhost
> > #smsc-id = OUTGOING
> > sendsms-port = 13013
> > global-sender = 123
> > mo-recode = yes
> > #sendsms-chars = "0123456789 +-"
> > log-file = "/tmp/smsbox.log"
> > log-level = 0
> > access-log = "/tmp/smsaccess.log"
> >
> > group = smsbox-route
> > smsbox-id = in
> > smsc-ids = INCOMING
> >
> > group = sms-service
> > keyword = default
> > accepted-smsc = INCOMING
> > url = "http://localhost/cgi-bin/gotsms.pl?sender=%p&text=%r";
> > max-messages = 0
> >
> > group = sendsms-user
> > username = xxx
> > password = xxx
> > default-smsc = OUTGOING
> > max-messages = 4
> > concatenation = 0
> > user-deny-ip = ""
> > user-allow-ip = "127.0.0.1"
>
>--
>Jaakko Heikkil� <[EMAIL PROTECTED]>
>
>
>---
>[This E-mail was scanned for viruses.]
>Be extremely careful in opening e-mail from anyone
>you don't know. Attachments are especially dangerous.
>Never run an attachment unless you know exactly what it is,
>even if it appears to have been sent to you by someone you know.
>Most worms have the ability to falsify the "From" address
>
>
>
>
>
>
>/--------------------------------------------------------------------------
-\
>
>Confidential and/ or privileged information may be contained in this
>e-mail and any attachments transmitted with it ('Message'). If you are
>not the addressee indicated in this Message (or responsible for
>delivery of this Message to such person),you are hereby notified that
>any dissemination, distribution, printing or copying of this Message or
>any part thereof is prohibited. Please delete this Message if received
>in  error and advise the sender by return e-mail. Opinions, conclusions
>and other information in this Message that do not relate to the
>official business of this company shall be understood as neither given
>nor endorsed by this company.
>
>This mail is certified Virus Free by *ProtectNow! (InternetNow Sdn Bhd)
>*Scanner Engine powered by Norman Virus Control
>
>\--------------------------------------------------------------------------
/

--
Alejandro Guerrieri
Magicom
[EMAIL PROTECTED]




---
[This E-mail was scanned for viruses.]
Be extremely careful in opening e-mail from anyone
you don't know. Attachments are especially dangerous.
Never run an attachment unless you know exactly what it is,
even if it appears to have been sent to you by someone you know.
Most worms have the ability to falsify the "From" address







/---------------------------------------------------------------------------\

Confidential and/ or privileged information may be contained in this
e-mail and any attachments transmitted with it ('Message'). If you are
not the addressee indicated in this Message (or responsible for 
delivery of this Message to such person),you are hereby notified that
any dissemination, distribution, printing or copying of this Message or
any part thereof is prohibited. Please delete this Message if received 
in  error and advise the sender by return e-mail. Opinions, conclusions
and other information in this Message that do not relate to the 
official business of this company shall be understood as neither given
nor endorsed by this company.

This mail is certified Virus Free by *ProtectNow! (InternetNow Sdn Bhd) 
*Scanner Engine powered by Norman Virus Control

\--------------------------------------------------------------------------/


Reply via email to