[Sofia-sip-devel] XML parsing readily available?

2007-01-29 Thread Jan Van den bosch

Hi,

Does Sofia-SIP provide functionality to parse an incoming XML payload (say,
an open/closed presence event) or do I have to use an other library to
accomplish this?

Thanks in advance,
Jan
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] setting the IP TOS for SIP messages and RTP packets.

2007-01-29 Thread Armin03
hello,
I have installed sofsip_cli-0-12 and sofia_sip-1.12.1 on my linux System. 
I'm looking at implementing setting the IP TOS for SIP messages and RTP packets.

1) for sip transfer i set the socket option in tport_udp_init_primary() so

 #if HAVE_IP_RECVERR
 if (ai->ai_family == AF_INET || ai->ai_family == AF_INET6) {
int const one = 1;
   if (setsockopt(s, SOL_IP, IP_RECVERR, &one, sizeof(one)) < 0) {
 if (ai->ai_family == AF_INET)
SU_DEBUG_3(("setsockopt(IPVRECVERR): %s\n", su_strerror(su_errno(;
   }
   if(setsockopt(s,SOL_IP,IP_TOS,(char*)&ipTos2,sizeof(ipTos2)) < 0){
fprintf(stderr, "setsockopt error IP_TOS :%s\n",
su_strerror(su_errno()));
   }
events |= SU_WAIT_ERR;
  }

2)for Rtp transfer, i dont have found wo sent the RTP-Packet.

./sofiasip sip:[EMAIL PROTECTED] --media-impl=gstreamer 
.
.
.
.
.
  i sip:[EMAIL PROTECTED]

  The Media port in SDP(invite) is 16384  

  l_sdp 

   v=0
   o=- 337979164353731645 2945412118993712508 IN IP4149.15.16.17
s=-
c=IN IP4 179.15.16.17
t=0 0
m=audio 16384 RTP/AVP 0
a=rtpmap:0 PCMU/8000

SDP receve 
r_sdp is 

  v=0
o=root 2663 2663 IN IP4 149.15.19.19
s=session
c=IN IP4 149.15.19.19
t=0 0
m=audio 17990 RTP/AVP 3 0 8
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=silenceSupp:off - - - -

 but in Wireshark i see 

 >Internet Protocol, Src: 139.6.19.139 (149.15.19.17), Dst: 
149.15.19.19 (139.6.16.109)
>User Datagram Protocol, Src Port: 34286 (34286), Dst Port: 10944 
(17990)
>Real-Time Transport Protocol

can me explaine someone please as rtp packete transported.

thanks.



-- 
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] XML parsing readily available?

2007-01-29 Thread Michael Jerris
In freeswitch (www.freeswitch.org  ) we use
a modified version of ez-xml (ezxml.sf.net).  it is a very lightweight
single C file non validating parser (MIT License).  I do not believe
there is an xml parser in sofia-sip itself.

 

Mike

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jan
Van den bosch
Sent: Monday, January 29, 2007 10:17 AM
To: sofia-sip-devel@lists.sourceforge.net
Subject: [Sofia-sip-devel] XML parsing readily available?

 

Hi,

Does Sofia-SIP provide functionality to parse an incoming XML payload
(say, an open/closed presence event) or do I have to use an other
library to accomplish this?

Thanks in advance,
Jan

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] XML parsing readily available?

2007-01-29 Thread Kai Vehmanen
Hi,

On Mon, 29 Jan 2007, Jan Van den bosch wrote:

> Does Sofia-SIP provide functionality to parse an incoming XML payload (say,
> an open/closed presence event) or do I have to use an other library to
> accomplish this?

there's no XML parser in Sofia, so you'll have to use an external library. 
There are plenty of alternatives to choose from: libxml is one, provides a 
C API, and has similar licensing terms as sofia-sip...

-- 
  under work: Sofia-SIP at http://sofia-sip.sf.net

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] Quality

2007-01-29 Thread Jerry Richards
Hello,

I'm new to sofia-sip and considering using it for embedded SIP phone
development.  Can anyone tell me the quality of the software?  Is it well
structured?  Does it have memory leaks?  Is it stable?

Jerry


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] setting the IP TOS for SIP messages and RTP packets.

2007-01-29 Thread Kai Vehmanen
Hi,

On Mon, 29 Jan 2007, [EMAIL PROTECTED] wrote:

> I have installed sofsip_cli-0-12 and sofia_sip-1.12.1 on my linux System.
> I'm looking at implementing setting the IP TOS for SIP messages and RTP 
> packets.
[...]
> 2)for Rtp transfer, i dont have found wo sent the RTP-Packet.
>
> ./sofiasip sip:[EMAIL PROTECTED] --media-impl=gstreamer

all the RTP stuff is handled by gstreamer, so you have to modify the code 
in gstreamer elements. Specifically, you need to modify gstudpsrc.c 
(receiving) and gstdynudpsink.c (sending) in gst-plugins-good package:

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-plugin-udp.html

One thing to watch out for that "--media-impl=gstreamer" uses gstudpsink 
for sending, while "--media-impl=fsgst" uses gstdynudpsink.

-- 
  under work: Sofia-SIP at http://sofia-sip.sf.net

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] [ sofia-sip-Feature Requests-1647274 ] NOTIFY refer should terminate automatically

2007-01-29 Thread SourceForge.net
Feature Requests item #1647274, was opened at 2007-01-29 19:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=756079&aid=1647274&group_id=143636

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Pekka Pessi (ppessi)
Assigned to: Nobody/Anonymous (nobody)
Summary: NOTIFY refer should terminate automatically

Initial Comment:
When a NOTIFY with refer event is sent, the notifier should terminate the 
subscription automatically if the sipfrag payload contains a final response 
code.

Proposed by Anthony Minnessale.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=756079&aid=1647274&group_id=143636

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] [ sofia-sip-Bugs-1647277 ] cnonce used in md5 and sent in header different

2007-01-29 Thread SourceForge.net
Bugs item #1647277, was opened at 2007-01-29 19:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=756076&aid=1647277&group_id=143636

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: Pekka Pessi (ppessi)
Assigned to: Pekka Pessi (ppessi)
Summary: cnonce used in md5 and sent in header different

Initial Comment:
The cnonce has trailing == when md5sum is calculated, but when it is sent, it 
does not.


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=756076&aid=1647277&group_id=143636

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] preparing for 1.12.5 release

2007-01-29 Thread Kai Vehmanen
Hello all,

it's again time to start preparing for a stable release. I'll be handling 
the release manager duties this time. The plan would be to get 1.12.5 out 
on week 6, i.e. next week.

In other words, please test the current development version in darcs
and report any regressions and other problems you notice.

The major changes since 1.12.4 are:
   - nua-glib has been dropped from libsofia-sip-ua-glib, and this
 also means the library ABI was changed (-> libsofia-sip-ua-glib.so.3)
-> note: main library ABI is still backwards compatible
   - nua has been refactored to get rid of static stack timers,
 and to allow multiple concurrent requests
   - severe bug with timer accuracy when running sofia-sip under
 glib mainloop (via libsofia-sip-ua-glib)
   - various bug fixes

Current draft release notes at:

  - http://sofia-sip.org/repos/sofia-sip/RELEASE

-- 
  under work: Sofia-SIP at http://sofia-sip.sf.net

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] Sofia-SIP Footprint

2007-01-29 Thread Jerry Richards
Hello,

Can anyone provide a rough memory footprint for the Sofia-SIP stack?  I am
beginning development on porting it for an embedded MIPS environment.

Thanks.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] Embedded Suitability

2007-01-29 Thread Jerry Richards
Is the Sofia-SIP stack suitable for an embedded MIPS/Linux environment?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] Embedded Suitability

2007-01-29 Thread Nickolay V. Shmyrev
>Is the Sofia-SIP stack suitable for an embedded MIPS/Linux environment?
>

Yes, it's suitable. Sofia-sip is stable at least it satisfies our expectation 
and works exactly on embedded MIPS device under Linux.

About memory footprint you can read this thread:

http://sourceforge.net/mailarchive/forum.php?thread_id=31401173&forum_id=45790

and there were earlier threads also.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel