Re: [Sofia-sip-devel] Getting started: parsing a message

2011-03-24 Thread Pekka Pessi
Hi Bendan,

2011/3/21 Brendan Loudermilk bren...@apwit.com:
 As a weekend project I've begun to play around with Sofia-SIP. I'm using FFI
 to build a simple Ruby interface to some of the lower-level functions in the
 library. My first goal is to be able to parse arbitrary strings from a Ruby
 networking library. I saw the example on this page for parsing memory, but
 I'm wondering if theres a simpler way.

What kind of strings you want to parse? Something like Contact:
sip:192.168.1.2:5060?

 As a secondary question, what options are there for those of us who are
 interested in the SIP/SDP protocol behavior implementations, but want to
 implement our own networking? Are we forced to re-implement the various
 behavioral RFCs in our implementation? Or is there an event-based hook
 portion of Sofia that I have yet to discover?

I'm a bit loss what you want to do by yourself? Interface towards the
sockets and network? Something else?

-- 
Pekka.Pessi mail at nokia.com

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] Getting started: parsing a message

2011-03-21 Thread Brendan Loudermilk
As a weekend project I've begun to play around with Sofia-SIP. I'm using FFI to 
build a simple Ruby interface to some of the lower-level functions in the 
library. My first goal is to be able to parse arbitrary strings from a Ruby 
networking library. I saw the example on this page for parsing memory, but I'm 
wondering if theres a simpler way.

As a secondary question, what options are there for those of us who are 
interested in the SIP/SDP protocol behavior implementations, but want to 
implement our own networking? Are we forced to re-implement the various 
behavioral RFCs in our implementation? Or is there an event-based hook portion 
of Sofia that I have yet to discover?

Thanks in advance!--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel