Re: [Kannel-Users] Problem with routing
Peter Beckman <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Well, first off, the SMS box doesn't handle incoming messages, to my knowledge, so there's something wrong there. Maybe you are looking at the response you generate when you reply to the incoming message in the smsbox log? Beckman On Fri, 8 Oct 2004, Oscar Medina Duarte wrote: > Hi, > > I'm using Kannel cvs 20041006 and I have this problem: > > I send a message from a phone, to 2665, it gets routed correctly and a > post to attend the service is called correctly, and all logs reflect it. > > But If I send a message to 24024, it gets routed, but the value in the > %P part of the post-url in the sms-service gets wrong, is set as the > other short number, that is reflected in the smsbox log, but in the > access log's "to" field is set as it should. > > Kannel is configured like this: > ... > group = smsc > smsc = smpp > smsc-id = mi_te_24024 > denied-smsc-id = "mi_te_2665" > ... > group = smsc > smsc = smpp > smsc-id = mi_te_2665 > denied-smsc-id = "mi_te_24024" > ... > group = smsbox > smsbox-id = smsbox_01 > ... > group = sms-service > post-url = > "http://localhost:8080/gwin/?fromNumber=%p&toNumber=%P&rawInMessage=%a&operatorGatewayId=%i" > ... > group = smsbox-route > smsbox-id = "smsbox_01" > shortcuts = "2665;4378;24024" > > > Log sample: > > access log: > 2004-10-08 11:57:41 Receive SMS [SMSC:mi_te_24024] [SVC:] [ACT:] [BINF:] > [from:2351501572] [to:24024] [flags:-1:0:-1:0:-1] [msg:5:Agmpt] [udh:0:] > > smsbox log: > 2004-10-08 11:57:41 [4167] [9] DEBUG: Parsing URL > `http://localhost:8080/gwin/?fromNumber=2351501572&toNumber=2665&rawInMessage=Agmpt&operatorGatewayId=mi_te_24024': > 2004-10-08 11:57:41 [4167] [9] DEBUG: Scheme: http:// > 2004-10-08 11:57:41 [4167] [9] DEBUG: Host: daisy.micel.com > 2004-10-08 11:57:41 [4167] [9] DEBUG: Port: 8080 > 2004-10-08 11:57:41 [4167] [9] DEBUG: Username: (null) > 2004-10-08 11:57:41 [4167] [9] DEBUG: Password: (null) > 2004-10-08 11:57:41 [4167] [9] DEBUG: Path: /gwin/ > 2004-10-08 11:57:41 [4167] [9] DEBUG: Query: > fromNumber=2351501572&toNumber=2665&rawInMessage=Agmpt&operatorGatewayId=mi_te_24024 > > > What is wrong here!? > > Can someone help me please !? > > Thanx in advance! > > == Oscar > OM MANI PEME HUM > > --------------------------------------------------------------------------- Peter Beckman Internet Guy [email protected] http://www.purplecow.com/ ---------------------------------------------------------------------------