Hello Alexander,

I would like to thank you for sending me that patch. I installed it using your 
directions and now routing works fine

Thanks everyone, keep up the good work

Kind regards

Dinos

-----Original Message-----
From: Alexander Malysh [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 02, 2007 2:02 PM
To: [email protected]
Subject: RE: [PATCH] Re: XML post and routing problems

step by step:
1) save attached patch
2) cd /where-you-kannel-cvs-sources-located/
3) patch -p0 < /location-to-saved-patch
4) make && make install
5) test it again :)


???????????? ???????? wrote:

> Maybe this will sound a stupid question for you guys, but how will I run
> the patch you send me?
> 
> Thank you very much in advance
> 
> Kind regards
> Dinos
> 
> -----Original Message-----
> From: Alexander Malysh [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 02, 2007 1:01 AM
> To: [email protected]
> Cc: [EMAIL PROTECTED]
> Subject: [PATCH] Re: XML post and routing problems
> 
> Hi,
> 
> I think there is a bug in smsbox code and userguide is also wrong.
> Please try attached patch and let me know whether it helps.
> 
> Please note that you need <to>smsc-id</to> in your xml request.
> 
> ???????????? ???????? wrote:
> 
>> Hello,
>> 
>>  
>> 
>> This is the second time I will make a post about the same problem.
>> 
>>  
>> 
>> I am posting XML to kannel and works fine with 1 smsc defined.
>> 
>>  
>> 
>> If multiple smsc are defined I have no control over which smsc
>> messages are sent.
>> 
>>  
>> 
>> I have tried many combinations using allowed, denied and everything
>> that is written on the user guide but I always get Not routable. Do
>> not try again
>> 
>>  
>> 
>> I believe that <to>smsc-id here</to> is not taken into consideration
>> by kannel, but I cannot solve it. I am using the CVS version of Kannel
>> 
>>  
>> 
>> ANYBODY KNOWS HOW CAN I FIX THIS?
>> 
>>  
>> 
>> Thank you in advance
>> 
>>  
>> 
>> My kannel.log says the following
>> 
>> 2007-08-01 16:35:12 [1743] [14] WARNING: Cannot find SMSCConn for
>> message to <mynumber here>, rejected.
>> 
>> 2007-08-01 16:35:12 [1743] [14] WARNING: Message rejected by
>> bearerbox, no router!
>> 
>>  
>> 
>> And my access.log says the following:
>> 
>> 2007-08-01 16:35:12 DISCARDED SMS [SMSC:] [SVC:tester]
>> [ACT:account+info] [BINF:billing+info] [from:dinos] [to:mynumber here]
>> [flags:-1:1:-1:-1:31]
>>
>
[msg:45:746573742020313233343536373839302041421310455A4819494B144D4E1A4F1650
>> 185459121A17150D0A0D0A] [udh:0:]
>> 
>>  
>> 
>> The xml I use to send sms is the following
>> 
>>  
>> 
>> <message>
>> 
>> <submit>
>> 
>> <da><number>mynumber</number></da>
>> 
>> <oa><number>sender here</number></oa>
>> 
>>
>
<ud>test%20%201234567890%20AB%13%10EZH%19IK%14MN%1AO%16P%18TY%12%1A%17%15</u
>> d>
>> 
>> <udh></udh>
>> 
>> <dcs>
>> 
>> <coding>1</coding>
>> 
>> </dcs>
>> 
>> <statusrequest>
>> 
>> <dlr-mask>31</dlr-mask>
>> 
>>
>
<dlr-url>http://myserver/kannel/kannel_callback.asp?smsbody=%a&smsdatetime=%
>>
>
t&sender=%p&receiver=%P&smscid=%i&sms_id=%I&dlr=%d&dlr_reply=%A&user_id=%n&b
>> illing_id=%B&account_id=%o</dlr-url>
>> 
>> </statusrequest>
>> 
>> <from>
>> 
>> <user>tester</user>
>> 
>> <pass>foobar</pass>
>> 
>> <account>account+info</account>
>> 
>> <binfo>billing+info</binfo>
>> 
>> </from>
>> 
>> <to>smsc-id here</to>
>> 
>> </submit>
>> 
>> </message>
>> 
>>  
>> 
>> As far as my config is concerned here it is
>> 
>>  
>> 
>> # SMSC SMPP
>> 
>> group = smsc
>> 
>> smsc = smpp
>> 
>> smsc-id = smsc-id here
>> 
>> host = XXX.XXX.XXX.XXX
>> 
>> port = XXXX
>> 
>> receive-port = XXXX
>> 
>> smsc-username = XXXXXXXX
>> 
>> smsc-password = XXXXXXXXXX
>> 
>> system-type = VMA
>> 
>> transceiver-mode = TRUE
>> 
>> #address-range =
>> 
>> source-addr-ton = 5
>> 
>> source-addr-npi = 1
>> 
>> dest-addr-ton = 0
>> 
>> dest-addr-npi = 1
>> 
>> #alt-charset = iso-8859-1
>> 
>> allowed-smsc-id = smsc-id here
>> 
>> #denied-smsc-id = smsc-id here
>> 
>> 
>> No virus found in this outgoing message.
>> Checked by AVG Free Edition.
>> Version: 7.5.476 / Virus Database: 269.11.0/929 - Release Date:
>> 31/7/2007
>> 5:26 ??
> 
> --
> Thanks,
> Alex
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.11.0/929 - Release Date: 31/7/2007
> 5:26 ìì
>  
>   
> 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.11.2/931 - Release Date: 1/8/2007
> 4:53 ìì

-- 
Thanks,
Alex



No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.11.2/931 - Release Date: 1/8/2007 4:53 ìì
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.11.2/931 - Release Date: 1/8/2007 4:53 ìì
 


Reply via email to