RE: Problems connecting to a new SMSC

2003-08-14 Thread Jarrod Hermer
Attached are my bearerbox (kannel.conf) and smsbox (VodacomMGA1.conf)
config files.


kannel.conf
Description: Binary data


VodacomMGA1.conf
Description: Binary data


Re: [RFC] Number portability hooks

2003-08-14 Thread Stipe Tolj
 An HTTP 'callback' sounds good as an initial implementation. Generic and
 flexible.

yep. I'm also in a favor of this. Where API should be very simplified
like:

earerbox calls http://www.foob.com/?msisdn=msisdn and that HTTP
server replies with either an smsc-id as body/header(?!) or nothing
(indicating he doesn't know where to route).

The question is would we do some kind of internal caching for this?
This would speed up things drastically. Maybe using a *huge* Dict
hash?

Has anyone used huge Dict hashs?

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are



Re: binary sms

2003-08-14 Thread Benjamin Lee
Robin,

In both cases, it looks as if you have not URL encoded your 'text' values.

As Shridhar Raju wrote recently, you need something like:

(Ringtone)
http://198.198.1.150:13013/cgi-bin/sendsms?username=testerpassword=foobart
o=91234567udh=%06%05%04%15%81%15%81text=%02%4A%3A%51%D1%95%CD%D0%04%00%1B%
20%55%05%90%61%05%60%55%85%50%54%85%40%82%08%49%90%00%00

And yes, you need the UDH.

On Wednesday, 2003-08-06 at 07:04:24 PM, Robin scribbled:
 Hi All,
 
 How do I send concatenated Nokia RTTTL ringtones after I've converted using
 ringtonetools?
 I've already enable concatenated sms in kannel. I tried sending just one
 sms, kannel automatically split into 2 sms. Although I've receive the
 ringtone, it's without sound.
 
 Here's how I send it:
 
 http://localhost:13131/cgi-bin/sendsms?username=xxxpassword=xxxto=65988604
 11udh=%06%05%04%15%81%00%00text=024A3A596199A5B195CC04007B1CCAE55071069071
 0A26849C29001541C41A41C428AA1270A400A3082E82A82682A849C290028C20BA0AA09A0BA1
 270A400550710690710A26849C29001541C41A41C428AA1270A400A2A849C28000
 
 The above send out the ringtone but it came without sound. Probably
 something is wrong.
 
 But if I tried this:
 
 http://localhost:13131/cgi-bin/sendsms?username=xxxpassword=xxxto=65988604
 11text=%2F%2FSCKL1581010201+024A3A596199A5B195CC04007B1CCAE550710690710
 A26849C29001541C41A41C428AA1270A400A3082E82A82682A849C290028C20BA0AA09A0BA1
 
 http://www.etxx.com:13131/cgi-bin/sendsms?username=netrixf00barpassword=net
 rixf00barto=6593807904text=%2F%2FSCKL1581010202+270A400550710690710A26
 849C29001541C41A41C428AA1270A400A2A849C28000
 
 This works! But I do not need to put udh parameter in the URL as it is
 already within text data.
 
 Can anyone tell me how to make it work if I want to insert UDH header into
 the URL(like the topmost example) and also how to define the UDH in URL in
 order to send concatenated sms? Is it also a must to insert % in the text
 field (example: text=%02%4A%3A.) ?
 
 Hope someone here can enlighten me on this.
 
 Regards
 Robin
 
 
 

-- 
Benjamin Lee
Melbourne, Australia Always real.http://www.realthought.net/

__
And now for something completely the same.



[RFC] get rid of --with-dlr option

2003-08-14 Thread Alexander Malysh
Hi there,

I would like to propose to get rid of --with-dlr option. I do not see any 
sense in this option. If a user say --enable-mysql (for example) then we can 
enable mysql dlr storage per default, because the dependency on the mysql 
client lib already here (equals for other db's).

Votes and comments please...

-- 
Best regards / Mit besten Grüßen aus Düsseldorf

Dipl.-Ing.
Alexander Malysh
___

Centrium GmbH
Vogelsanger Weg 80
40470 Düsseldorf

Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109

email: a.malysh at centrium.de
web: www.centrium.de
msn: olek2002 at hotmail.com
icq: 98063111
___

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html




Re: openwave otap wap specifications

2003-08-14 Thread Angus M Wood
On Mon, 11 Aug 2003 14:27:25 +0200 (CEST), [EMAIL PROTECTED] 
wrote:

is there someone who knows the specifications of the openwave browser for 
OTA WAP provisioning messages?
How can i get them?
Last time I spoke to Openwave about this issue (admittedly, about 1.5 years 
ago) the official position was We only deal with tier-1 networks or ISPs, 
and would prefer that the Openwave specifications remain closed, since one 
of the products we sell for $$$ is an Openwave-format OTA configuration 
system (or something like that).

Someone out there may have been able to capture an OW-format SMS in a GSM 
modem, or you may be able to trick an operator in to giving you the 
specifications.

See 
http://www.openwave.com/products/mobile_services/provisioning_manager/mobile/ 
for the info on their product.

FWIW, I think that from reading between the lines of what the above product 
does, one reason that they might not be releasing the info is that you can 
do far more that simply configure WAP data connections using it - it could 
be an, err... interesting protocol to get hold of and play with.

Cheers,
_Gus


--
Angus M Wood
Chief Architect
Inspired Broadcast Networks
http://www.inspiredbroadcast.net/
Out of Home Pay to Play Networked Entertainment
1-7 Livonia Street, London,  W1F 8AD, UK
Tel: +44 (0)20 7478 8280
Mob: +44 (0)7767 393039
Fax: +44 (0)20 7287 0131



Re: Problems connecting to a new SMSC

2003-08-14 Thread Alexander Malysh
Hi,

if these two sms groups connected to the same telco then you have 4 
connections in your config (here you can try with transceiver mode). If it is 
not the case, then it's not possible that smpp driver will try to get more as 
2 connections at the same time...

On Thursday 14 August 2003 19:11, Jarrod Hermer wrote:
 Attached are my bearerbox (kannel.conf) and smsbox (VodacomMGA1.conf)
 config files.

-- 
Best regards / Mit besten Grüßen aus Düsseldorf

Dipl.-Ing.
Alexander Malysh
___

Centrium GmbH
Vogelsanger Weg 80
40470 Düsseldorf

Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109

email: a.malysh at centrium.de
web: www.centrium.de
msn: olek2002 at hotmail.com
icq: 98063111
___

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html




Changing SMSC on phone to use Kannel

2003-08-14 Thread Alex Kinch



Hi,

Can I change the SMSC on my mobile phone to use 
Kannel to send messages?

Alex


Re: [RFC] get rid of --with-dlr option

2003-08-14 Thread Alexander Malysh
On Friday 08 August 2003 16:51, Stipe Tolj wrote:
 David Tully wrote:
  +1
  Makes no sense to me to have to use 3 directives when you want to compile
  DLR mysql support..
  --with-dlr=mysql --enable-mysql --with-mysql=/usr/..
 
  Unless there is another reason for them all?!

 ok, from my perspektive --enable-mysql is useless.

nope... --with-mysql used _only_ if you have mysql installed in the 
nonstandard path. If you have mysql installed in the standard path, then 
--enable-mysql is enough...


 But if you want to have MySQL support for something other then DLR,
 you still need to have --with-mysql to tell where to look for it.

see above...


 So a ./configure --with-dlr=internal --with-mysql may be a reasonable
 approach if the mysql support is used somewhere else.

but why you need --with-dlr ??? internal will compiled in per default. mysql 
will be only compiled in if you have mysql libs installed and want use these. 


 Stipe

 [EMAIL PROTECTED]
 ---
 Wapme Systems AG

 Vogelsanger Weg 80
 40470 Düsseldorf

 Tel: +49-211-74845-0
 Fax: +49-211-74845-299

 E-Mail: [EMAIL PROTECTED]
 Internet: http://www.wapme-systems.de
 ---
 wapme.net - wherever you are

-- 
Best regards / Mit besten Grüßen aus Düsseldorf

Dipl.-Ing.
Alexander Malysh
___

Centrium GmbH
Vogelsanger Weg 80
40470 Düsseldorf

Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109

email: a.malysh at centrium.de
web: www.centrium.de
msn: olek2002 at hotmail.com
icq: 98063111
___

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html




Re: [RFC] get rid of --with-dlr option

2003-08-14 Thread Stipe Tolj
Alexander Malysh wrote:
 
 On Friday 08 August 2003 16:51, Stipe Tolj wrote:
  David Tully wrote:
   +1
   Makes no sense to me to have to use 3 directives when you want to compile
   DLR mysql support..
   --with-dlr=mysql --enable-mysql --with-mysql=/usr/..
  
   Unless there is another reason for them all?!
 
  ok, from my perspektive --enable-mysql is useless.
 
 nope... --with-mysql used _only_ if you have mysql installed in the
 nonstandard path. If you have mysql installed in the standard path, then
 --enable-mysql is enough...

but that's semantically not how autoconf treat --enable-foobar and
--with-foobar. 

--enable-foobar is for activiating components that are inside the
configurable package and --with-foobar is for adding functionality
from a 3rd party package (hence mysql in this case).

  So a ./configure --with-dlr=internal --with-mysql may be a reasonable
  approach if the mysql support is used somewhere else.
 
 but why you need --with-dlr ??? internal will compiled in per default. mysql
 will be only compiled in if you have mysql libs installed and want use these.

ok, --with-dlr is definetly out of need, since we can configure which
storage type to use in the config file itself. I agree.

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are



RE: Anam and Kannel

2003-08-14 Thread Paul Keogh
   does anyone know what version of Kannel the Anam 
 WirelessWindow gateway is
   built off?
 
 how about asking Paul directly?! ;)
 
 

Mostly the current CVS, +/- a few features.



Re: Problems connecting to a new SMSC

2003-08-14 Thread Alexander Malysh
Hi,

please send us your config for bearerbox...

Thanks.

On Thursday 14 August 2003 18:44, Jarrod Hermer wrote:
 Hi All,

 Our operator upgraded to a new local developed SMSC and implemented a
 rule which does not allow more than 2 connections at any one time. Ever
 since I have been having hassles with Kannel cvs-20030310 running under
 cygwin.

 I am able to receive messages and send messages. According to the
 operator I have connected successfully but there is still another
 'thread' that is trying to connect again - which they do not allow
 because I am already connected as a transmitter and receiver. I am using
 SMPP v3.4.

 After a sufficient amount of time +-24 hours bearerbox dies buy shutting
 down.

 Any ideas?

 Here is an extraction from the log file:

 2003-08-14 12:05:23 [34] ERROR: Error reading from fd 125:
 2003-08-14 12:05:23 [33] ERROR: Error reading from fd 123:
 2003-08-14 12:05:24 [35] ERROR: Error reading from fd 122:
 2003-08-14 12:05:24 [32] ERROR: Error reading from fd 119:
 2003-08-14 12:05:26 [35] ERROR: connect failed
 2003-08-14 12:05:26 [35] ERROR: error connecting to server
 `196.xx.xxx.xx' at port `1060'
 2003-08-14 12:05:26 [35] ERROR: SMPP[MY_OPERATOR_SMSC]: Couldn't connect
 to server.
 2003-08-14 12:05:26 [35] ERROR: SMPP[MY_OPERATOR_SMSC]: Couldn't connect
 to SMS center (retrying in 10 seconds).
 2003-08-14 12:05:26 [32] ERROR: connect failed
 2003-08-14 12:05:26 [32] ERROR: error connecting to server
 `196.xx.xxx.xx' at port `1060'
 2003-08-14 12:05:26 [32] ERROR: SMPP[ANOTHER_OPERATOR_SMSC]: Couldn't
 connect to server.
 2003-08-14 12:05:26 [32] ERROR: SMPP[ANOTHER_OPERATOR_SMSC]: Couldn't
 connect to SMS center (retrying in 10 seconds).
 2003-08-14 14:29:35 [34] ERROR: Error reading from fd 125:
 2003-08-14 14:29:39 [34] WARNING: SMPP: PDU NUL terminated string has no
 NUL.
 2003-08-14 14:29:39 [34] ERROR: SMPP[MY_OPERATOR_SMSC]: SMSC rejected
 login to transmit, code 0x000d.
 2003-08-14 14:29:39 [34] ERROR: SMPP[MY_OPERATOR_SMSC]: I/O error or
 other error. Re-connecting.
 2003-08-14 14:29:39 [34] WARNING: SMPP: PDU NUL terminated string has no
 NUL.
 2003-08-14 14:29:39 [34] ERROR: SMPP[MY_OPERATOR_SMSC]: SMSC rejected
 login to transmit, code 0x000d.
 2003-08-14 14:29:39 [34] WARNING: SMPP: PDU NUL terminated string has no
 NUL.
 2003-08-14 14:29:39 [34] ERROR: SMPP[MY_OPERATOR_SMSC]: SMSC rejected
 login to transmit, code 0x000d.

-- 
Best regards / Mit besten Grüßen aus Düsseldorf

Dipl.-Ing.
Alexander Malysh
___

Centrium GmbH
Vogelsanger Weg 80
40470 Düsseldorf

Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109

email: a.malysh at centrium.de
web: www.centrium.de
msn: olek2002 at hotmail.com
icq: 98063111
___

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html




Re: Problems connecting to a new SMSC

2003-08-14 Thread Alex Judd
Jarrod

Having not seen this error before can you attach your config file as well?



Re: Problems receiving @ symbol in cvs-20030811

2003-08-14 Thread Alexander Malysh
Hi,

can you please try to define: alt-charset = LATIN1 within your smsc group for 
this connection...


On Thursday 14 August 2003 19:04, Bill Brigden wrote:
 Hi,

 Using kannel cvs-20030811, I have sent a mobile originating message that
 comes in via smpp 3.4:

 This is bill's test... @ ? 

 But smsbox posts it to me like:

 This+is+bill's+test...+%A1+%3F+%22

 And the bearerbox log says:

 2003-08-14 18:01:03 [8] DEBUG: SMPP PDU 0x81e04c8 dump:
 2003-08-14 18:01:03 [8] DEBUG:   type_name: deliver_sm
 2003-08-14 18:01:03 [8] DEBUG:   command_id: 5 = 0x0005
 2003-08-14 18:01:03 [8] DEBUG:   command_status: 0 = 0x
 2003-08-14 18:01:03 [8] DEBUG:   sequence_number: 2876 = 0x0b3c
 2003-08-14 18:01:03 [8] DEBUG:   service_type: x
 2003-08-14 18:01:03 [8] DEBUG:   source_addr_ton: 0 = 0x
 2003-08-14 18:01:03 [8] DEBUG:   source_addr_npi: 0 = 0x
 2003-08-14 18:01:03 [8] DEBUG:   source_addr: 447789xx
 2003-08-14 18:01:03 [8] DEBUG:   dest_addr_ton: 0 = 0x
 2003-08-14 18:01:03 [8] DEBUG:   dest_addr_npi: 0 = 0x
 2003-08-14 18:01:03 [8] DEBUG:   destination_addr: 447797xx
 2003-08-14 18:01:03 [8] DEBUG:   esm_class: 0 = 0x
 2003-08-14 18:01:03 [8] DEBUG:   protocol_id: 0 = 0x
 2003-08-14 18:01:03 [8] DEBUG:   priority_flag: 0 = 0x
 2003-08-14 18:01:03 [8] DEBUG:   schedule_delivery_time: NULL
 2003-08-14 18:01:03 [8] DEBUG:   validity_period: NULL
 2003-08-14 18:01:03 [8] DEBUG:   registered_delivery: 0 = 0x
 2003-08-14 18:01:03 [8] DEBUG:   replace_if_present_flag: 0 = 0x
 2003-08-14 18:01:03 [8] DEBUG:   data_coding: 0 = 0x
 2003-08-14 18:01:03 [8] DEBUG:   sm_default_msg_id: 0 = 0x
 2003-08-14 18:01:03 [8] DEBUG:   sm_length: 28 = 0x001c
 2003-08-14 18:01:03 [8] DEBUG:   short_message:
 2003-08-14 18:01:03 [8] DEBUG:Octet string at 0x840f038:
 2003-08-14 18:01:03 [8] DEBUG:  len:  28
 2003-08-14 18:01:03 [8] DEBUG:  size: 29
 2003-08-14 18:01:03 [8] DEBUG:  immutable: 0
 2003-08-14 18:01:03 [8] DEBUG:  data: 54 68 69 73 20 69 73 20 62 69 6c
 6c 27 73 20 74   This is bill's t
 2003-08-14 18:01:03 [8] DEBUG:  data: 65 73 74 2e 2e 2e 20 40 20 3f 20
 22   est... @ ? 
 2003-08-14 18:01:03 [8] DEBUG:Octet string dump ends.
 2003-08-14 18:01:03 [8] DEBUG: SMPP PDU dump ends.

 So why is smsbox taking the @ symbol as A1 and not 40?

 Whats happening here - Ive tried using mo-recode, but that makes no
 difference

 Cheers - Bill.

-- 
Best regards / Mit besten Grüßen aus Düsseldorf

Dipl.-Ing.
Alexander Malysh
___

Centrium GmbH
Vogelsanger Weg 80
40470 Düsseldorf

Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109

email: a.malysh at centrium.de
web: www.centrium.de
msn: olek2002 at hotmail.com
icq: 98063111
___

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html




Re: Patch: To add timeouts to SMPP connections

2003-08-14 Thread Aaron Brady
 Looks good, however I'd potentially make it more configurable so that the
X
 x wait is one of the default settings and can be configured should it need
 be.

If it's easy enough, then I don't see why not, but I'm not altogether
familiar with the internals of Kannel, so other than using your below code
as a starting point, I wouldn't know what to do. Personally, I think that
given enquire_link_interval is configurable that adds enough flexability -
this is similar to how IRC servers do things, with a configurable ping-time,
but if you miss two then you're disconnected, but if people think it needs
the extra option then I can try and add it.

 For example


 if (cfg_get_integer(enquire_link_interval, grp,
  octstr_imm(enquire-link-retry)) == -1)
 enquire_link_interval = SMPP_ENQUIRE_LINK_RETRY;

 other bits of code needed to map the parameter to the smpp structure

if(date_universal_now() - smpp-last_enquire_received
(smpp-enquire_link_retry * smpp-enquire_link_interval))
{

 etc.

 Also - would it make sense to send an extra send_enquire_link to make sure
 that the other end is not contacting?

I think that if the connection has gotten so far as to miss three pings,
it's not likely to recover, and manually sending another enquire_link would
complicate the code needlessly, but again, I'm sure there are people more
knowledgable about this than me and if they think different, then I can try
and implement it.

Aaron




Problems connecting to a new SMSC

2003-08-14 Thread Jarrod Hermer
Hi All,

Our operator upgraded to a new local developed SMSC and implemented a
rule which does not allow more than 2 connections at any one time. Ever
since I have been having hassles with Kannel cvs-20030310 running under
cygwin.

I am able to receive messages and send messages. According to the
operator I have connected successfully but there is still another
'thread' that is trying to connect again - which they do not allow
because I am already connected as a transmitter and receiver. I am using
SMPP v3.4.

After a sufficient amount of time +-24 hours bearerbox dies buy shutting
down.

Any ideas?

Here is an extraction from the log file:

2003-08-14 12:05:23 [34] ERROR: Error reading from fd 125:
2003-08-14 12:05:23 [33] ERROR: Error reading from fd 123:
2003-08-14 12:05:24 [35] ERROR: Error reading from fd 122:
2003-08-14 12:05:24 [32] ERROR: Error reading from fd 119:
2003-08-14 12:05:26 [35] ERROR: connect failed
2003-08-14 12:05:26 [35] ERROR: error connecting to server
`196.xx.xxx.xx' at port `1060'
2003-08-14 12:05:26 [35] ERROR: SMPP[MY_OPERATOR_SMSC]: Couldn't connect
to server.
2003-08-14 12:05:26 [35] ERROR: SMPP[MY_OPERATOR_SMSC]: Couldn't connect
to SMS center (retrying in 10 seconds).
2003-08-14 12:05:26 [32] ERROR: connect failed
2003-08-14 12:05:26 [32] ERROR: error connecting to server
`196.xx.xxx.xx' at port `1060'
2003-08-14 12:05:26 [32] ERROR: SMPP[ANOTHER_OPERATOR_SMSC]: Couldn't
connect to server.
2003-08-14 12:05:26 [32] ERROR: SMPP[ANOTHER_OPERATOR_SMSC]: Couldn't
connect to SMS center (retrying in 10 seconds).
2003-08-14 14:29:35 [34] ERROR: Error reading from fd 125:
2003-08-14 14:29:39 [34] WARNING: SMPP: PDU NUL terminated string has no
NUL.
2003-08-14 14:29:39 [34] ERROR: SMPP[MY_OPERATOR_SMSC]: SMSC rejected
login to transmit, code 0x000d.
2003-08-14 14:29:39 [34] ERROR: SMPP[MY_OPERATOR_SMSC]: I/O error or
other error. Re-connecting.
2003-08-14 14:29:39 [34] WARNING: SMPP: PDU NUL terminated string has no
NUL.
2003-08-14 14:29:39 [34] ERROR: SMPP[MY_OPERATOR_SMSC]: SMSC rejected
login to transmit, code 0x000d.
2003-08-14 14:29:39 [34] WARNING: SMPP: PDU NUL terminated string has no
NUL.
2003-08-14 14:29:39 [34] ERROR: SMPP[MY_OPERATOR_SMSC]: SMSC rejected
login to transmit, code 0x000d.




Re: [RFC] Number portability hooks

2003-08-14 Thread Steve Kennedy
On Mon, Aug 11, 2003 at 12:20:38PM +0200, Stipe Tolj wrote:

 as many countries deploy MSISDN number portability in their GSM
 networks, which means you as a end-customer can take your MSISDN to an
 other operator when you switch, makes things a bit more complicated on
 the SMS gateway side.

Unfortunately it's not too easy to get porting info, as it will be
stored in the HLR of the operator, and unless you have an SS7 connection
to them you'll never know the number's been ported.

i.e. say in UK you have 07775 123456, this is a Vodafone number
(allocated in a block by Oftel). If the user ports it, they will put an
entry into their HLR which points the number to another network, and
they put it in their HLR.


Maybe now they are opening up location based services, they'll also
allow other access to HLR's ???

Steve

-- 
NetTek Ltd Phone/Fax +44-(0)20 7483 2455
SMS steve-pager (at) gbnet.net [body] gpg 1024D/468952DB 2001-09-19



Problems receiving @ symbol in cvs-20030811

2003-08-14 Thread Bill Brigden
Hi,

Using kannel cvs-20030811, I have sent a mobile originating message that
comes in via smpp 3.4:

This is bill's test... @ ? 

But smsbox posts it to me like:

This+is+bill's+test...+%A1+%3F+%22

And the bearerbox log says:

2003-08-14 18:01:03 [8] DEBUG: SMPP PDU 0x81e04c8 dump:
2003-08-14 18:01:03 [8] DEBUG:   type_name: deliver_sm
2003-08-14 18:01:03 [8] DEBUG:   command_id: 5 = 0x0005
2003-08-14 18:01:03 [8] DEBUG:   command_status: 0 = 0x
2003-08-14 18:01:03 [8] DEBUG:   sequence_number: 2876 = 0x0b3c
2003-08-14 18:01:03 [8] DEBUG:   service_type: x
2003-08-14 18:01:03 [8] DEBUG:   source_addr_ton: 0 = 0x
2003-08-14 18:01:03 [8] DEBUG:   source_addr_npi: 0 = 0x
2003-08-14 18:01:03 [8] DEBUG:   source_addr: 447789xx
2003-08-14 18:01:03 [8] DEBUG:   dest_addr_ton: 0 = 0x
2003-08-14 18:01:03 [8] DEBUG:   dest_addr_npi: 0 = 0x
2003-08-14 18:01:03 [8] DEBUG:   destination_addr: 447797xx
2003-08-14 18:01:03 [8] DEBUG:   esm_class: 0 = 0x
2003-08-14 18:01:03 [8] DEBUG:   protocol_id: 0 = 0x
2003-08-14 18:01:03 [8] DEBUG:   priority_flag: 0 = 0x
2003-08-14 18:01:03 [8] DEBUG:   schedule_delivery_time: NULL
2003-08-14 18:01:03 [8] DEBUG:   validity_period: NULL
2003-08-14 18:01:03 [8] DEBUG:   registered_delivery: 0 = 0x
2003-08-14 18:01:03 [8] DEBUG:   replace_if_present_flag: 0 = 0x
2003-08-14 18:01:03 [8] DEBUG:   data_coding: 0 = 0x
2003-08-14 18:01:03 [8] DEBUG:   sm_default_msg_id: 0 = 0x
2003-08-14 18:01:03 [8] DEBUG:   sm_length: 28 = 0x001c
2003-08-14 18:01:03 [8] DEBUG:   short_message:
2003-08-14 18:01:03 [8] DEBUG:Octet string at 0x840f038:
2003-08-14 18:01:03 [8] DEBUG:  len:  28
2003-08-14 18:01:03 [8] DEBUG:  size: 29
2003-08-14 18:01:03 [8] DEBUG:  immutable: 0
2003-08-14 18:01:03 [8] DEBUG:  data: 54 68 69 73 20 69 73 20 62 69 6c
6c 27 73 20 74   This is bill's t
2003-08-14 18:01:03 [8] DEBUG:  data: 65 73 74 2e 2e 2e 20 40 20 3f 20
22   est... @ ? 
2003-08-14 18:01:03 [8] DEBUG:Octet string dump ends.
2003-08-14 18:01:03 [8] DEBUG: SMPP PDU dump ends.

So why is smsbox taking the @ symbol as A1 and not 40?

Whats happening here - Ive tried using mo-recode, but that makes no
difference

Cheers - Bill.




Re: [RFC] Number portability hooks

2003-08-14 Thread Steve Kennedy
On Mon, Aug 11, 2003 at 05:01:50PM +0200, Nisan Bloch wrote:

 I would prefer to see some sort of lookup interface.. Something like a 
 HLR box.
 Of more importance is how to implement the lookup and when (as this will 
 incur a msg cost)? Use some third party? Do some SS7 integration? Booktrout 
 have some nice APIs with their SS7 cards.
 Also of course if we keep the numbers in a hash table, when does one 
 refresh?

Od course this begs the question, how does one query an HLR using SS7,
the UK networks are extremely unlikely to allow any 3rd party that
hasn't signed roaming agreements/whatever.

Maybe a nice friendly foreign operator could be persuaded to offer such
a service, and maybe someone would like to sit a box somewhere to allow
3rd party queries ? h ... You'd need to implement MAP/SS7, but hey.


Steve

-- 
NetTek Ltd Phone/Fax +44-(0)20 7483 2455
SMS steve-pager (at) gbnet.net [body] gpg 1024D/468952DB 2001-09-19



phpmyadmin

2003-08-14 Thread Nisan Bloch
hi

very interesting.. i fiddled with this this weekend...

http://www.garvinhicking.de/tops/texte/mimetutorial?print=true

esp the schema, relationship setup stuff and the pdf generation.

we could even set up some relations and then let the support people use the 
relations in adhoc reports ..

nisan





RE: [RFC] Number portability hooks

2003-08-14 Thread Paul Keogh

 Ideally this would look like the SMSCConn abstraction layer itself for
 the resolving of the network.

 A first scratch may be an simple HTTP lookup to an resolving server
 which then answers with a given smsc-id we simply inject to the Msg
 struct and then route via this smsc-id.

 Any ideas and comments please?!


My experience is that some operators indicate this through either
additional proprietary SMPP error codes or through overloading existing
ones.

I would hazard a guess that not many operators will expose an interface
allowing you to query NP status. I think they are more likely to indicate NP
through in-protocol (eg. SMPP, MM7 etc) errors. Just MHO of course.

Does anyone know of any operator or 3rd party that provides NP status as
a service ?





RE: binary sms

2003-08-14 Thread Robin
Thanks. It works.

Just wondering if anyone here know if there's any php script for
rtttl-parser for sending it to kannel?
Knew that there's one for perl but not sure if there's any for php.

Regards
Robin


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Kwok Peng Tuck
Sent: Thursday, August 07, 2003 3:09 PM
To: [EMAIL PROTECTED]
Subject: Re: binary sms


Hmm, with kannel you don't need to do that, just  make sure that for the
sendsms user  tester ,
the attributes  concatenation and max-messages is set

Try :
concatenation=true
max-messages=10

HTH



Robin wrote:

Thanks.

How do i insert UDH in a way to send concatenated sms?

Regards
Robin


-Original Message-
From: Benjamin Lee [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 10:59 PM
To: Robin
Cc: [EMAIL PROTECTED]
Subject: Re: binary sms


Robin,

In both cases, it looks as if you have not URL encoded your 'text' values.

As Shridhar Raju wrote recently, you need something like:

(Ringtone)
http://198.198.1.150:13013/cgi-bin/sendsms?username=testerpassword=foobar;
t
o=91234567udh=%06%05%04%15%81%15%81text=%02%4A%3A%51%D1%95%CD%D0%04%00%1B
%
20%55%05%90%61%05%60%55%85%50%54%85%40%82%08%49%90%00%00

And yes, you need the UDH.

On Wednesday, 2003-08-06 at 07:04:24 PM, Robin scribbled:


Hi All,

How do I send concatenated Nokia RTTTL ringtones after I've converted


using


ringtonetools?
I've already enable concatenated sms in kannel. I tried sending just one
sms, kannel automatically split into 2 sms. Although I've receive the
ringtone, it's without sound.

Here's how I send it:




http://localhost:13131/cgi-bin/sendsms?username=xxxpassword=xxxto=6598860
4


11udh=%06%05%04%15%81%00%00text=024A3A596199A5B195CC04007B1CCAE5507106907
1


0A26849C29001541C41A41C428AA1270A400A3082E82A82682A849C290028C20BA0AA09A0BA
1


270A400550710690710A26849C29001541C41A41C428AA1270A400A2A849C28000

The above send out the ringtone but it came without sound. Probably
something is wrong.

But if I tried this:




http://localhost:13131/cgi-bin/sendsms?username=xxxpassword=xxxto=6598860
4


11text=%2F%2FSCKL1581010201+024A3A596199A5B195CC04007B1CCAE55071069071
0


A26849C29001541C41A41C428AA1270A400A3082E82A82682A849C290028C20BA0AA09A0BA1




http://www.etxx.com:13131/cgi-bin/sendsms?username=netrixf00barpassword=ne
t


rixf00barto=6593807904text=%2F%2FSCKL1581010202+270A400550710690710A2
6


849C29001541C41A41C428AA1270A400A2A849C28000

This works! But I do not need to put udh parameter in the URL as it is
already within text data.

Can anyone tell me how to make it work if I want to insert UDH header into
the URL(like the topmost example) and also how to define the UDH in URL in
order to send concatenated sms? Is it also a must to insert % in the text
field (example: text=%02%4A%3A.) ?

Hope someone here can enlighten me on this.

Regards
Robin






--
Benjamin Lee
Melbourne, Australia Always real.http://www.realthought.net/

__
And now for something completely the same.


















RE: [RFC] Number portability hooks

2003-08-14 Thread Paul Keogh
 now, in Germany we have an access to an centralized database which
 holds all ported numbers. So actually if you want to route messages to
 Operator SMSCs, you must resolve the MSISDN at that database to know
 if it has been ported to an other operator and hence route it to the
 new one instead of the prefix home.


That's impressive - is this something required by the regulatory authorities
or co-operation between the operators ? Is there a cost to access the
service ?

The Irish networks indicate NP through SMPP error codes which are
inconsistent
in both format and content across operators :-(.





Re: [RFC] Number portability hooks

2003-08-14 Thread Alex Kinch
We'd be interested - +1 from me.

Alex

- Original Message - 
From: Alexei [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 11, 2003 4:41 PM
Subject: Re: [RFC] Number portability hooks


 Sounds illegal to me to make this information public.
 But anyone with SS7 access can do lookup and instantly tell the MNC+MCC
 of operator.
 If there's enough interest, we might offer such public service with HTTP
 interface and instant results..
 Just my 2c.

 On Mon, 2003-08-11 at 17:42, Alex Kinch wrote:
  Steve,
 
  I've been following this thread with interest.
 
  We're planning to collect information on a user's mobile operator via
our
  soon-to-be-launched reverse billing operation. We also operate a bulk
SMS
  and business messaging site, so this sort of information would be useful
for
  least cost routing. I appreciate it'd take a rather long time to build
up a
  profile of even a small chunk of UK mobile users, but it's a start.
 
  I haven't looked into the legal / data protection implications, but
could a
  few of us get together to put information into a central database?
 
  Alex
 
  - Original Message - 
  From: Steve Kennedy [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, August 11, 2003 4:15 PM
  Subject: Re: [RFC] Number portability hooks
 
 
   On Mon, Aug 11, 2003 at 05:01:50PM +0200, Nisan Bloch wrote:
  
I would prefer to see some sort of lookup interface.. Something like
a
HLR box.
Of more importance is how to implement the lookup and when (as this
will
incur a msg cost)? Use some third party? Do some SS7 integration?
  Booktrout
have some nice APIs with their SS7 cards.
Also of course if we keep the numbers in a hash table, when does one
refresh?
  
   Od course this begs the question, how does one query an HLR using SS7,
   the UK networks are extremely unlikely to allow any 3rd party that
   hasn't signed roaming agreements/whatever.
  
   Maybe a nice friendly foreign operator could be persuaded to offer
such
   a service, and maybe someone would like to sit a box somewhere to
allow
   3rd party queries ? h ... You'd need to implement MAP/SS7, but
hey.
  
  
   Steve
  
   -- 
   NetTek Ltd Phone/Fax +44-(0)20 7483 2455
   SMS steve-pager (at) gbnet.net [body] gpg 1024D/468952DB 2001-09-19
  
  
  
 
 








Re: Problems receiving @ symbol in cvs-20030811

2003-08-14 Thread Benjamin Lee
Bill,

As Andreas says, it is indeed the SMPP provider. Is your provider
M081L3way? Many months ago, I pointed out to them the incorrect GSM
encoding of the @ character on MO messages... and they may not have
fixed it yet -- don't take my word for it though, I haven't retested
in a while.

Cheers,
Ben.

On Friday, 2003-08-15 at 03:38:40 AM, Andreas Fink scribbled:
*snip*
 
 2003-08-14 18:01:03 [8] DEBUG:Octet string at 0x840f038: 
 2003-08-14 18:01:03 [8] DEBUG:  len:  28 
 2003-08-14 18:01:03 [8] DEBUG:  size: 29 
 2003-08-14 18:01:03 [8] DEBUG:  immutable: 0 
 2003-08-14 18:01:03 [8] DEBUG:  data: 54 68 69 73 20 69 73 20 62 69 
 6c 
 6c 27 73 20 74   This is bill's t 
 2003-08-14 18:01:03 [8] DEBUG:  data: 65 73 74 2e 2e 2e 20 40 20 3f 
 20 
 22   est... @ ?  
 2003-08-14 18:01:03 [8] DEBUG:Octet string dump ends. 
 2003-08-14 18:01:03 [8] DEBUG: SMPP PDU dump ends. 
 
 this shows what you get on SMPP. 
 This is supposed to be 00 in SMPP as SMPP transports your data in GSM 
 character set. 
 I think your SMPP provider is screwing it up... 
 Maybe they use a Comverse SMSC (a good default for screwed up 
 SMSC's...) 
 
 Andreas Fink 
 Global Networks Switzerland AG 
 
 Tel: +41-61-333  Fax: +41-61-334   Mobile: +41-79-2457333 
 Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland 
 Web: http://www.global-networks.ch/  [EMAIL PROTECTED] 
 
  
 
 

-- 
Benjamin Lee
Melbourne, Australia Always real.http://www.realthought.net/

__
Jealousy is all the fun you think they have.



Re: [RFC] Number portability hooks

2003-08-14 Thread Dave White
 At 12:20 PM 8/11/03 +0200, you wrote:


 Any ideas and comments please?!


Yeah.

For interactive services, where an app responds to an MO SM with an MT 
SM within a timeframe of at most a few minutes, you can do most NP work 
very simply under certain conditions, namely when all bearerbox 
connections go to the operators directly, and not over a service aggregator.

In this case, the MO will only come from the operator who owns the 
handset, i.e. owns the GSM network in which the handset is present. If 
that handset gets ported, the MO will come from the new network's SMSC.

By remembering the smsc-id from whence an MO came, you will almost never 
go wrong sending it back to the same smsc-id for the MT replies. No 
nasty HLR lookups!

It's no good for strongly asynchronous MT-centric services 
(subscriptions, e-mail notifications, etc) but it will work like a charm 
for most other cases.

David WHITE
ONE GmbH
P.S. Sorry Nisan! I pressed send there before remembering the 
dev-list's handling of replies. Not enough coffee...




Re: [RFC] Number portability hooks

2003-08-14 Thread Alexei
Sounds illegal to me to make this information public.
But anyone with SS7 access can do lookup and instantly tell the MNC+MCC
of operator.
If there's enough interest, we might offer such public service with HTTP
interface and instant results..
Just my 2c.

On Mon, 2003-08-11 at 17:42, Alex Kinch wrote:
 Steve,
 
 I've been following this thread with interest.
 
 We're planning to collect information on a user's mobile operator via our
 soon-to-be-launched reverse billing operation. We also operate a bulk SMS
 and business messaging site, so this sort of information would be useful for
 least cost routing. I appreciate it'd take a rather long time to build up a
 profile of even a small chunk of UK mobile users, but it's a start.
 
 I haven't looked into the legal / data protection implications, but could a
 few of us get together to put information into a central database?
 
 Alex
 
 - Original Message - 
 From: Steve Kennedy [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, August 11, 2003 4:15 PM
 Subject: Re: [RFC] Number portability hooks
 
 
  On Mon, Aug 11, 2003 at 05:01:50PM +0200, Nisan Bloch wrote:
 
   I would prefer to see some sort of lookup interface.. Something like a
   HLR box.
   Of more importance is how to implement the lookup and when (as this will
   incur a msg cost)? Use some third party? Do some SS7 integration?
 Booktrout
   have some nice APIs with their SS7 cards.
   Also of course if we keep the numbers in a hash table, when does one
   refresh?
 
  Od course this begs the question, how does one query an HLR using SS7,
  the UK networks are extremely unlikely to allow any 3rd party that
  hasn't signed roaming agreements/whatever.
 
  Maybe a nice friendly foreign operator could be persuaded to offer such
  a service, and maybe someone would like to sit a box somewhere to allow
  3rd party queries ? h ... You'd need to implement MAP/SS7, but hey.
 
 
  Steve
 
  -- 
  NetTek Ltd Phone/Fax +44-(0)20 7483 2455
  SMS steve-pager (at) gbnet.net [body] gpg 1024D/468952DB 2001-09-19
 
 
 
 
 




Re: [RFC] Number portability hooks

2003-08-14 Thread Steve Kennedy
On Mon, Aug 11, 2003 at 12:51:16PM +0200, Stipe Tolj wrote:

 The question is would we do some kind of internal caching for this?
 This would speed up things drastically. Maybe using a *huge* Dict
 hash?
 Has anyone used huge Dict hashs?

Look at cdb, good for multiple reads, not so good for writes.


Steve

-- 
NetTek Ltd Phone/Fax +44-(0)20 7483 2455
SMS steve-pager (at) gbnet.net [body] gpg 1024D/468952DB 2001-09-19



Re: [RFC] Number portability hooks

2003-08-14 Thread Alex Kinch
Steve,

I've been following this thread with interest.

We're planning to collect information on a user's mobile operator via our
soon-to-be-launched reverse billing operation. We also operate a bulk SMS
and business messaging site, so this sort of information would be useful for
least cost routing. I appreciate it'd take a rather long time to build up a
profile of even a small chunk of UK mobile users, but it's a start.

I haven't looked into the legal / data protection implications, but could a
few of us get together to put information into a central database?

Alex

- Original Message - 
From: Steve Kennedy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 11, 2003 4:15 PM
Subject: Re: [RFC] Number portability hooks


 On Mon, Aug 11, 2003 at 05:01:50PM +0200, Nisan Bloch wrote:

  I would prefer to see some sort of lookup interface.. Something like a
  HLR box.
  Of more importance is how to implement the lookup and when (as this will
  incur a msg cost)? Use some third party? Do some SS7 integration?
Booktrout
  have some nice APIs with their SS7 cards.
  Also of course if we keep the numbers in a hash table, when does one
  refresh?

 Od course this begs the question, how does one query an HLR using SS7,
 the UK networks are extremely unlikely to allow any 3rd party that
 hasn't signed roaming agreements/whatever.

 Maybe a nice friendly foreign operator could be persuaded to offer such
 a service, and maybe someone would like to sit a box somewhere to allow
 3rd party queries ? h ... You'd need to implement MAP/SS7, but hey.


 Steve

 -- 
 NetTek Ltd Phone/Fax +44-(0)20 7483 2455
 SMS steve-pager (at) gbnet.net [body] gpg 1024D/468952DB 2001-09-19







Re: [RFC] Number portability hooks

2003-08-14 Thread Andreas Fink
On Montag, August 11, 2003, at 05:15  Uhr, Steve Kennedy wrote:

On Mon, Aug 11, 2003 at 05:01:50PM +0200, Nisan Bloch wrote:

I would prefer to see some sort of lookup interface.. Something like a
HLR box.
Of more importance is how to implement the lookup and when (as this 
will
incur a msg cost)? Use some third party? Do some SS7 integration? 
Booktrout
have some nice APIs with their SS7 cards.
Also of course if we keep the numbers in a hash table, when does one
refresh?
Od course this begs the question, how does one query an HLR using SS7,
This is pretty simple. you ask the HLR about the location of a user to 
deliver SMS and you will get back its IMSI number which starts with the 
mobile network country code and then the mobile network code.

We're doing it on our SS7 system but so far no one has shown interest 
to use it so we didnt develop this functionality further.



Andreas Fink
Global Networks Switzerland AG
--
Tel: +41-61-333  Fax: +41-61-334   Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/  [EMAIL PROTECTED]
--



[PATCH] WSP Encoding-Version support

2003-08-14 Thread Stipe Tolj
Hi list,

attached patch adds the WSP Encoding-Version handling properly?! to
the WSP session state machine et all.

Please review. This patch is against cvs-20030625, so beware if you
try to apply to current cvs head tree.

Here is a summary:

  * wap/wsp.h: added WSP_1_x enumeration values to identify which WSP
Encoding-Version is used within a session.
  * wap/wsp_headers.h: re-declare wsp_headers_pack() function to add
required WSP version.
  * wap/wsp_server_session_machine.def: added
INTEGER(encoding_version) to hold the version within the WSPMachine.
  * wap/wsp_server_session_states.def: populates the aboe
sm-encoding_version with the appropriate version parsed our of the
request WSP headers.
  * wap/wsp_session.c: added WSP encoding-version mapping functions
wsp_encoding_string_to_version(Octstr *enc) and
wsp_encoding_version_to_string(int version)
  * wap/wsp_strings.c: added VSTRING() define for versioned STRING
and VASSIGN() for versioned ASSIGN of the .def values.
  * wap/wsp_strings.def: added WSP enumeration values to the
definition tables
  * all other files: addopted calling to wsp_headers_pack() with the
version.

Please review and vote for commit. This has been tested on our MMSC
WAP GW and it works as expected.

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you arediff -ur --exclude=CVS* old/gateway/test/test_headers.c gateway/test/test_headers.c
--- old/gateway/test/test_headers.c Fri Apr  4 13:51:04 2003
+++ gateway/test/test_headers.c Thu Aug  7 16:59:52 2003
@@ -119,7 +119,7 @@
 filename = octstr_create(argv[1]);
 headers = octstr_read_file(octstr_get_cstr(filename));
 split_headers(headers, split, expected);
-packed = wsp_headers_pack(split, 0);
+packed = wsp_headers_pack(split, 0, WSP_1_2);
 unpacked = wsp_headers_unpack(packed, 0);
 
 if (list_len(unpacked) != list_len(expected)) {
diff -ur --exclude=CVS* old/gateway/wap/wsp.h gateway/wap/wsp.h
--- old/gateway/wap/wsp.h   Mon Apr 22 17:24:14 2002
+++ gateway/wap/wsp.h   Thu Aug  7 15:33:22 2003
@@ -10,6 +10,14 @@
  * int WSP_accepted_header_code_pages[] = { -1 };
  */
 
+typedef enum {
+   WSP_1_1 = 1, 
+WSP_1_2 = 2, 
+WSP_1_3 = 3, 
+WSP_1_4 = 4,
+WSP_1_5 = 5,
+} wsp_encoding;
+
 /* See Table 35 of the WSP standard */
 enum wsp_abort_values {
WSP_ABORT_PROTOERR = 0xe0,
diff -ur --exclude=CVS* old/gateway/wap/wsp_headers.c gateway/wap/wsp_headers.c
--- old/gateway/wap/wsp_headers.c   Thu Jun 19 13:49:12 2003
+++ gateway/wap/wsp_headers.c   Thu Aug  7 17:00:51 2003
@@ -1808,7 +1757,10 @@
 start = octstr_len(packed);
 
 /* Parameter = Typed-parameter | Untyped-parameter */
-keytoken = wsp_string_to_parameter(parm-key);
+/* keytoken = wsp_string_to_parameter(parm-key); */
+/* XXX this should obey what kind of WSP Encoding-Version the client is using */
+keytoken = wsp_string_to_versioned_parameter(parm-key, WSP_1_2);
+   
 if (keytoken = 0) {
 /* Typed-parameter = Well-known-parameter-token Typed-value */
 /* Well-known-parameter-token = Integer-value */
@@ -2123,8 +2075,11 @@
 
 static int pack_field_name(Octstr *packed, Octstr *value)
 {
+/* XXX we need to obey which WSP encoding-version to use */
+/* return pack_constrained_value(packed, value,
+  wsp_string_to_header(value)); */
 return pack_constrained_value(packed, value,
-  wsp_string_to_header(value));
+  wsp_string_to_versioned_header(value, WSP_1_2));
 }
 
 static int pack_language(Octstr *packed, Octstr *value)
@@ -2232,7 +2187,9 @@
 long media;
 
 parms = strip_parameters(value);
-media = wsp_string_to_content_type(value);
+/* XXX we need to obey which WSP encoding-version to use */
+/* media = wsp_string_to_content_type(value); */
+media = wsp_string_to_versioned_content_type(value, WSP_1_2);
 
 /* See if we can fit this in a Constrained-media encoding */
 if (parms == NULL  media = MAX_SHORT_INTEGER) {
@@ -2877,7 +2835,9 @@
 long fieldnum;
 
 http_header_get(headers, i, fieldname, value);
-fieldnum = wsp_string_to_header(fieldname);
+/* XXX we need to obey which WSP encoding-version to use */
+/* fieldnum = wsp_string_to_header(fieldname); */
+fieldnum = wsp_string_to_versioned_header(fieldname, wsp_version);
 
 errors = 0;
 
diff -ur --exclude=CVS* old/gateway/wap/wsp_headers.h gateway/wap/wsp_headers.h
--- old/gateway/wap/wsp_headers.h   Mon Nov 20 20:55:54 2000
+++ gateway/wap/wsp_headers.h   Thu Aug  7 17:05:41 2003
@@ -21,6 +76,6 @@
  * and return the encoded 

[FYI] Oracle dbpool/dlr support commited

2003-08-14 Thread Alexander Malysh
Hi there,

just to keep all informed ;) I have just commited Oracle 8i/9i support for 
dbpool and dlr storage. So all , who make use of libsdb for Oracle, please 
test it and report your success/fail stories!

P.S. Oracle support based on OCI library and was tested with 9i and 8i. Oracle 
version 7 will not work, due to api changes from v7 to v8. 

P.S2. Please avoid used OCI 9i-rc2 client libraries on linux, due to strange 
memory problems in the library itself. 

-- 
Best regards / Mit besten Grüßen aus Düsseldorf

Dipl.-Ing.
Alexander Malysh
___

Centrium GmbH
Vogelsanger Weg 80
40470 Düsseldorf

Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109

email: a.malysh at centrium.de
web: www.centrium.de
msn: olek2002 at hotmail.com
icq: 98063111
___

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html




Re: binary sms

2003-08-14 Thread Kwok Peng Tuck
Hmm, with kannel you don't need to do that, just  make sure that for the 
sendsms user  tester ,
the attributes  concatenation and max-messages is set

Try :
concatenation=true
max-messages=10
HTH



Robin wrote:

Thanks.

How do i insert UDH in a way to send concatenated sms?

Regards
Robin
-Original Message-
From: Benjamin Lee [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 10:59 PM
To: Robin
Cc: [EMAIL PROTECTED]
Subject: Re: binary sms
Robin,

In both cases, it looks as if you have not URL encoded your 'text' values.

As Shridhar Raju wrote recently, you need something like:

(Ringtone)
http://198.198.1.150:13013/cgi-bin/sendsms?username=testerpassword=foobart
o=91234567udh=%06%05%04%15%81%15%81text=%02%4A%3A%51%D1%95%CD%D0%04%00%1B%
20%55%05%90%61%05%60%55%85%50%54%85%40%82%08%49%90%00%00
And yes, you need the UDH.

On Wednesday, 2003-08-06 at 07:04:24 PM, Robin scribbled:
 

Hi All,

How do I send concatenated Nokia RTTTL ringtones after I've converted
   

using
 

ringtonetools?
I've already enable concatenated sms in kannel. I tried sending just one
sms, kannel automatically split into 2 sms. Although I've receive the
ringtone, it's without sound.
Here's how I send it:

   

http://localhost:13131/cgi-bin/sendsms?username=xxxpassword=xxxto=65988604
 

11udh=%06%05%04%15%81%00%00text=024A3A596199A5B195CC04007B1CCAE55071069071
 

0A26849C29001541C41A41C428AA1270A400A3082E82A82682A849C290028C20BA0AA09A0BA1
 

270A400550710690710A26849C29001541C41A41C428AA1270A400A2A849C28000

The above send out the ringtone but it came without sound. Probably
something is wrong.
But if I tried this:

   

http://localhost:13131/cgi-bin/sendsms?username=xxxpassword=xxxto=65988604
 

11text=%2F%2FSCKL1581010201+024A3A596199A5B195CC04007B1CCAE550710690710
 

A26849C29001541C41A41C428AA1270A400A3082E82A82682A849C290028C20BA0AA09A0BA1
 

   

http://www.etxx.com:13131/cgi-bin/sendsms?username=netrixf00barpassword=net
 

rixf00barto=6593807904text=%2F%2FSCKL1581010202+270A400550710690710A26
 

849C29001541C41A41C428AA1270A400A2A849C28000

This works! But I do not need to put udh parameter in the URL as it is
already within text data.
Can anyone tell me how to make it work if I want to insert UDH header into
the URL(like the topmost example) and also how to define the UDH in URL in
order to send concatenated sms? Is it also a must to insert % in the text
field (example: text=%02%4A%3A.) ?
Hope someone here can enlighten me on this.

Regards
Robin


   

--
Benjamin Lee
Melbourne, Australia Always real.http://www.realthought.net/
__
And now for something completely the same.






 





MMS : Kannel support

2003-08-14 Thread Rory Campbell-Lange
I have spent some time looking on the archive for examples of sending
MMS messages. 

I gather that one needs to send an MMS notification to the handset,
which then picks up the actual MMS message from a server supporting wap
push.

Has anyone documented this procedure completely? Any specific examples
would be warmly received! I promise to summarise my findings to the
list.

Kind regards,
Rory

-- 
Rory Campbell-Lange 
[EMAIL PROTECTED]
www.campbell-lange.net



Problems with DLR

2003-08-14 Thread Hitokiri Batousai
Hi!

I'm having problems with Kannel 1.2.1 when I use postgresql via libSDB
to store DLRs. When Kannel receives delivery reports from the SMSC
(EMI), it crashes.

I'm attaching some parts of my log files, the table for the dlr on
postgresql, and part of my configuration.

#SMS Kannel Configuration

group = core
CUT
dlr-storage = sdb


group = sdb-connection
id = mydlr
url = postgres:host=CUT:db=CUT:port=CUT:user=CUT


group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-source = source
field-destination = destination
field-service = service
field-url = url
field-mask = mask
field-status = status


group = smsc
smsc = emi2
CUT

group = smsbox
CUT

group = sms-service
keyword = default
text = testing.
max-messages = 3
assume-plain-text = true

group = sendsms-user
CUT
2003-08-12 14:36:10 [6] DEBUG: EMI2[CUT]: Got packet from the main socket
2003-08-12 14:36:10 [6] DEBUG: EMI2[CUT]: emi2 parsing packet: 
^B00/00299/O/53/2242/CUT68^C
2003-08-12 14:36:10 [6] DEBUG: Row has wrong length 1
2003-08-12 14:36:10 [6] PANIC: gwlib/list.c:425: lock: Assertion `list != NULL' failed.
CREATE TABLE dlr (
 smsc varchar(40),
 ts varchar(40),
 source varchar(40),
 destination varchar(40),
 service varchar(40),
 url varchar(255),
 mask int,
 status int
);