RE: How to connect sends and receives (statefulness)

2007-07-30 Thread Paul Keogh
Title: RE: How to connect sends and receives (statefulness)







The only successful way I have seen of doing this is to use a big enough bank of
recycleable MSISDNS for the source address. That way you can match the originating message
to the response within a reasonable time window and reuse the MSISDN subsequently.

Unfortunately, big banks of MSISDNs tend be a scarce, operator controlled resource so you
need some clout and a viable business model.


-Original Message-
From: Matthew Wilson [mailto:[EMAIL PROTECTED]]
Sent: Mon 30/07/2007 15:09
To: users@kannel.org
Subject: How to connect sends and receives (statefulness)

I want to send out lots of different riddles and then track the replies
coming in and check if the answer is correct.

I need some way of connecting the riddle ID to the answer coming in. I can
use ersatz methods like guessing based on the time I sent the message and
the replying phone number, but I hope that something exists inside the SMPP
protocol.

More generally, any information on how to maintain statefulness across
numerous messages would be helpful.

TIA

Matt

--
I'm starting a blog. http://blog.tplus1.com









RE: Siemens MC35i: send command status: -1

2006-02-20 Thread Paul Keogh
 
 ###snip#
 group = modems
 id = siemens_mc35
 name = Siemens MC35
 detect-string = SIEMENS
 detect-string2 = MC35
 init-string = AT+CNMI=1,2,0,0,1
 speed = 57600
 enable-hwhs = AT\\Q3
 need-sleep = true # uncomment this line if needed
 ###/snip#
 
I would always add the

alt-dcs=1

Parameter to the SMSC group definition when using a Siemens modem.

Its worth a try.



RE: HTTP with WAP 2.0?

2006-01-06 Thread Paul Keogh
 I have successfully setup Kannel 1.4.0 on Fedora Core 4 with 
 a single wapbox running. I can connect from my PC with 
 Klondike 1.5 and browse WML pages successfully. The mobile I 
 am trying to use, however, only supports the HTTP in WAP2.0, 
 not WSP from WAP1.x. I have not seen anything in the Kannel 
 documentation that suggests that Kannel can function as a 
 regular HTTP proxy as well as a WAP Gateway.
 
 Is this understanding correct, or have I overlooked some 
 information regarding the support for HTTP connections in 
 addition to WSP?

Its correct. Kannel has no HTTP proxy support

You could look at Apache and its various plug-ins to build
WAP 2.0 functionality.



RE: Upgrade from stable 1.4.0 to cvsversion

2006-01-04 Thread Paul Keogh
 I try to upgrade my kannel from stable 1.4.0 (which is not 
 really stable on rh 9 linux) to version cvs-20051226
 
 I found that this cvs version is more stable :), great
 
 however i found this error, i don't know what is it
 
 2006-01-04 13:00:05 [9489] [0] INFO: Loading store file `store-tmp'
 2006-01-04 13:00:05 [9489] [0] INFO: Store-file size 5911, 
 starting to unpack
 2006-01-04 13:00:05 [9489] [0] PANIC: Internal error: unknown message
 type: 808461616

This suggests that the Msg struct has changed between 1.4.0 and CVS.

There are no tools for migration.

Delete your store file and restart the bearerbox (or write your own tool
to migrate the store file).



RE: WTLS

2005-12-13 Thread Paul Keogh
Title: RE: WTLS








How do we go about ensuring that our clients use WTLS to connect to our application? Can we force them to have to use WTLS?


I'd guess it depends on the WAP client implementation;

At least I'd expect a https:// scheme in the URL to indicate to the
WAP client that a secure session is required.








RE: WTLS

2005-12-09 Thread Paul Keogh





  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Brent 
  GoldspringSent: 09 December 2005 00:31To: 
  users@kannel.orgSubject: OT: WTLS
  
  
  Hi,
  
  This is off-topic for the list, 
  but I figured it would be a worth my while posing my query here. 
  
  
  What is involved in developing 
  WAP-based applications that use WTLS?
  
  I presumethat you're 
  talking about WAP 1.x here and not WAP 2.0 as WAP 2.0 is SSL/TLS 
  through
  a HTTP proxy from a security 
  perspective.
  
  I also presume you're talking 
  about server sideapplications rather than client side 
  ?
  
  On the server, your applications 
  should be unaware that WTLS isused as it is below the WTP 
  layer.
  However, the WAP gateway may have 
  a policy to enforce SSL/TLS towards the web server if 
  WTLS
  is 
  used.
  
  Is it simply a matter of 
  throwing an SSL certificate on our web server and going from there?
  
  No. WTLS is between the WAP 
  client and the WAP gateway. The security policy between 
  the
  HTTP client in the WAP gateway 
  andyour web server is a separate 
  issue.
  
  Do we have to deploy our own 
  WAP gateway and have our clients reconfigure their devices when they wish to 
  use our application?
  
  No. Usually the carrier will 
  support WTLS.
  
  Do we require the cooperation 
  of our clients mobile-carrier WAP gateways?
  
  Only if you get into 
  PKItrust issues. Bestcase is that the carriers certificate is 
  issued by one of the trusted roots in
  the device. If not, then you'll 
  need to talk to the carrier (or suffer the customer care issues of subscribers 
  being prompted
  as to whether they trust a 
  certificate or not)
  
  Do we have to buy another 
  certificate for WTLS?
  
  Only if you're running your own 
  WAP gateway. Even then it depends on whether its an open or closed user 
  group,
  from a security policy 
  perspective.
  
  Regards,
  Brent


RE: Kannel refuses to get-url

2005-09-28 Thread Paul Keogh
Title: RE: Kannel refuses to get-url








 The logfile states the normal startup lines and on an incoming sms:
 2005-09-28 21:39:23 [8] DEBUG: smscconn
 (CIMD2:194.165.79.73:9972:Infospace): new message received
 After that it restarts and that's it...


It restarts ? restarts what ? the bearerbox ?

If so, sounds like the incoming CIMD MO message is causing the
bearerbox to core, which causes the smsbox to exit and
explains why your URL is never invoked...












RE: Modify CIMD2 protocol in Kannel

2005-09-27 Thread Paul Keogh
 When an SMS comes in the Kannel log shows:
 CIMD2 packet contains unknown parameter 70
 CIMD2 packet contains unknown parameter 71
 CIMD2 packet contains unknown parameter 100
 
 Does anyone know how I can make modifications so these 
 parameters are  
 read and can be used in the http-get url as a variable?

You'll need to write some code.

Modify the smsc/smsc_cimd.c driver to parse the CIMD parameters
into the Msg struct, preferably using existing fields or adding
new ones if there is no good fit.

If you need new fields in the Msg struct, you'll need to modify
gw/urltrans.[ch] to expose them in a URL.



RE: How to deal with multithreading

2005-09-14 Thread Paul Keogh
 
 I'm running Kannel cvs-20050615 and when sending many SMSs at 
 almost the same time using multithreading Kannel starts to 
 spawn more bearerboxes. The command ps -auxwww|grep kannel , 
 shows me more than one bearerbox.
 
 I'm concerned how to prevent Kannel trying to connect twice 
 to the same SMSC as I only have one allowed instance. How can 
 you set in the configuration files how many instances are 
 allowed when multithreading.

Are you running on a Linux 2.4.x kernel ?

If so, ps shows you the threads within the process as separate
entries.



RE: How to resolve SMS/WAP/MMS/VoIP gateways on a shoestring?

2005-09-01 Thread Paul Keogh
Title: RE: How to resolve SMS/WAP/MMS/VoIP gateways on a shoestring?







Interesting question.

Here is a link that discusses an ENUM based approach towards PSTN-IP
gatewaying for SMS and MMS...

http://www.google.ie/url?sa=t=res=25="">

















RE: cimd2_get_packet: read failed

2005-07-26 Thread Paul Keogh
 Why is it everytime I send sms to SMSC  using the built in 
 sendsms I got  ERROR:
 cimd2_get_packet: read failed?
 

You need to talk to whoever is hosting the CIMD system.

The trace suggests (to me) that the CIMD login succeeds, but that
the remote peer subsequently closes the connection, and hence any
further I/O operations on that socket fail.

You could verify this by doing an ethereal trace on the connection.




RE: Run WAPBox on non-standard port

2005-07-01 Thread Paul Keogh

You'd need to make a change in the Bearer Box src code.

Search for 9200 and see where its used.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ross Cawston-Grant
 Sent: 01 July 2005 07:50
 To: users@kannel.org
 Subject: Run WAPBox on non-standard port
 
 
 I am attempting to set up a WAP Gateway, which is capable of 
 receiving 
 requests on 9002, rather then the standard 9200-9208.
 
 I am running in a cygwin enviroment under Windows XP Pro, and 
 have the 
 gateway setup and working fine (although not on the custom port).
 
 Does anyone have any suggestions as to how I could configure 
 WAPBox to 
 open port 9002 for WAP Push?
 
 Cheers,
 -phzi
 
 



RE: FW: WTLS and Kannel 1.4 - Query - Does it Work?

2005-06-21 Thread Paul Keogh

I'm pretty sure this does'nt work. Check the user and dev archives
for similar questions.

As far as I recall, the implementation was never finished and no-one
has picked it up.





RE: Positional info.

2005-04-18 Thread Paul Keogh
Title: Message





  
  
  Bit off topic this one but here 
goes.
  Does anyone know if it's possible using the 
  standard SMPP protocol to a UK SMSC to request positional information 
  regarding the location of a cell phone (even if it's just the cell it's 
  currently in) - I believe that phones announce themselves to the cell they are 
  currently in and that onfo gets update in a DB somewhere - also I guess the 
  cell that previously had the phone needs to be told?
  Any info. on the above topic is most 
  gratefully accepted.
  
  There is nothing that I am aware of in SMPP 3.x that supports 
  locational queries. Maybe in the newer SMPP specification from 
  the
  SMPP Forum - check their 
  website.
  
  Thats not to say that an operator has'nt overloaded an SMPP 
  protocol operation to do it, though.
  


RE: Optional SMPP parameters

2004-08-25 Thread Paul Keogh

 
 One of my SMSCs asks me to include the optional SMPP 
 parameter user_message_reference to get back a delivery 
 report, but I dont find a way of doing this through the 
 configuration file. Should I modify the source code?
 

Yes. There is no way of doing this from the configuration.

What SMSC is this as a matter of interest ?



RE: fakesmsc

2004-08-11 Thread Paul Keogh
 
 Willy Mularto wrote:
 
  guys,
  how realible does the fakesmsc for development?
 
 fakesmsc has been _designed_ for development, so that you don't need 
 to fire hundred of thousands of msg over the air.
 
 We consider fakesmsc as very reliable, since we use it for 
 performance, regression and stress tests.
 

It does not allow you to test delivery report scenarios because it
does'nt generate them. Apart from that, its great.



RE: Problems with SMPP optionnal Parameters

2004-07-08 Thread Paul Keogh
 
 get-url = 
 http://myserver/sys_getGatewixMo.php?from=%pto=%Pmessage=%b
k=%kr=%ra=%
ab=%bt=%tq=%qQ=%Qi=%id=%dn=%nc=%cC=%C

What parameters should I add to this line to get the smpp optionnal
paremeters ?



You can't get SMPP optional parameters to an SMS box sms service.

You'll need to write code to extract the MO parameters and map them into
one
or more of the existing Msg struct fields. 

A subset of the Msg struct fields can be exposed via the % style
formatters
for the get-url argument.





RE: Decoding MMS PDUs

2004-02-23 Thread Paul Keogh
 
 If anyone could point me to a useful discussion, worked 
 example, or specification for this, I would be grateful.
 

Look at the WSP multipart encoding specification.




RE: UDH in the USA

2003-11-20 Thread Paul Keogh





  I installed a kannel (snapshot version)in a 
  cygwin environment. I'm using an Ericsson T68i with an ATT SIM. 
  
  When I receive SMS messages with UDH, it seems 
  that the UDH is not in X-Kannel-UDH, but is rather prepended to the message 
  itself. 
  When sending SMS messages with UDH through the 
  kannel, I receive weird character before the actual message (which suggests 
  that the UDH is prepended here as well).
  The messages are sent to / received from a 
  different network (from outside the US).
  
  Anyone has any insight on this?
  
  Yes. 
  I've experienced problems trying to send any SMSs containing UDH into the US. 
  I'm not
  sure 
  if the network is ATT, I'll check. The symptoms are exactly as you 
  describe.
  
  Best 
  guess is that the interop node is broken somewhere, 
  somehow.