>Peter L�fman wrote: >> >> Hi, >> >> well I solved the problem by re-compiling with the ton set to 0. >> It might be possible that 1 (international) will work also, I have >>not tested yet. >> But with 2 (national) it did not work. > >so, how about setting this ton variable by a configuration directive >within the smsc group?!
well TON usually have to be set to specific values for specific types of numbers. The current code does set it to 1 for international numbers (the ones who start with +) and 2 for others (assuming they are national) and to 0 for alphanumeric ones. The point is that in kannel there's no representation for TON so we have to assume something. Setting it to a fixed value only makes sense if we always send international numbers or always nationals etc. In my case, I'm always sending international but I might reply to national ones when I get them from the SMSC as such (polling). So its not just adding a configuration directive to say TON=value because in some cases you need to set it. Its more like a behaviour. So in the mentioned case it might work out ok if a + is added to the number (the code removes it afterwards). -- Andreas Fink Fink-Consulting ------------------------------------------------------------------ Tel: +41-61-6932730 Fax: +41-61-6932729 Mobile: +41-79-2457333 Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland E-Mail: [EMAIL PROTECTED] Homepage: http://www.finkconsulting.com ------------------------------------------------------------------ Something urgent? Try http://www.smsrelay.com/ Nickname afink
