[Sofia-sip-devel] how to ignore 302 redirect responses (NUA)

2009-02-26 Thread techsgin
Hi All Many thanks in advance. We would like to know how to ignore 302 redirect responses. This is what we are trying to do. 1) Wait for nua_r_invite event. 2) Check that the status is 302. 3) Destroy the handle. But this is what actually happens: 1) When we check the status i

Re: [Sofia-sip-devel] No BYE sent after error in re-INVITE

2009-02-26 Thread Fabio Margarido
On Mon, Feb 23, 2009 at 12:30, Pekka Pessi wrote: > When you return 480 to re-INVITE, nua considers the dialog terminated and > clears its state. I wonder why re-INVITEs are treated different (if indeed they are). I believe this could cause other problems, as section 12.2.2 of the RFC states: "

Re: [Sofia-sip-devel] nua_prack() Not Including RAck and RSeq

2009-02-26 Thread Jerry Richards
Hello All, Another issue related to nua_prack(): The RAck and RSeq headers are missing in the outbound PRACK message. Do you know why? Best Regards, Jerry -Original Message- From: Jerry Richards [mailto:jer...@tonecommander.com] Sent: Wednesday, February 25, 2009 10:34 AM To: 'sofia

Re: [Sofia-sip-devel] nua_prack() Not Including RAck and RSeq

2009-02-26 Thread Fabio Margarido
On Thu, Feb 26, 2009 at 14:10, Jerry Richards wrote: > Another issue related to nua_prack(): The RAck and RSeq headers are > missing > in the outbound PRACK message. > Hi Jerry, about your last issue, you have to include RAck in your PRACK manually. Quoting the answer I got from Pekka back when

[Sofia-sip-devel] TCP Source Port 3072?

2009-02-26 Thread Jerry Richards
Hello All, When I configure the sofia transport=udp, then I see SIP UDP packets sent with source port 5060 and destination port 5060. When the only change I make is transport=tcp, then I see SIP TCP packets sent with source port 3072 and destination port 5060. Has anyone seen this? Maybe I'm mi

[Sofia-sip-devel] Loop through all headers in a message

2009-02-26 Thread Fabio Margarido
Hi there, I'd like to know what's the best way to check if a header is present (and get its contents) in a sip_t (or msg_t) structure by name (as a string) or if there is a way to loop through all the headers in a sip_t structure, checking if each one's name matches an arbitrary string the user of

[Sofia-sip-devel] sofia-sip changes (2009-02-26)

2009-02-26 Thread Sofia-SIP Darcs Changes
This posting was generated automatically from darcs repo . Thu Feb 26 19:05:33 EET 2009 Pekka Pessi * open_c: added sres_sip.[hc] Ignore-this: 61c5ac3ce4149b23ff98faedb412cec7 M ./open_c/group/bld.inf +1 M ./open_c/group/libsofia-sip-ua.mmp +1

Re: [Sofia-sip-devel] TCP Source Port 3072?

2009-02-26 Thread Pekka Pessi
2009/2/26 Jerry Richards : > Hello All, > > When I configure the sofia transport=udp, then I see SIP UDP packets sent > with source port 5060 and destination port 5060. When the only change I > make is transport=tcp, then I see SIP TCP packets sent with source port 3072 > and destination port 5060

Re: [Sofia-sip-devel] TCP Source Port 3072?

2009-02-26 Thread Jerry Richards
Okay, thank you. By the way, if I wanted to temporarily patch the source port, do you know a good place (i.e. function) to do it? I just want to confirm that the source port is not an issue with a SIP server I'm interfacing with. Best Regards, Jerry -Original Message- From: Pekka Pess

Re: [Sofia-sip-devel] TCP Source Port 3072?

2009-02-26 Thread Pekka Pessi
2009/2/26 Jerry Richards : > Okay, thank you.  By the way, if I wanted to temporarily patch the source > port, do you know a good place (i.e. function) to do it?  I just want to > confirm that the source port is not an issue with a SIP server I'm > interfacing with. It might be a bit hard, you can

Re: [Sofia-sip-devel] Loop through all headers in a message

2009-02-26 Thread Pekka Pessi
2009/2/26 Fabio Margarido : > I'd like to know what's the best way to check if a header is present (and > get its contents) in a sip_t (or msg_t) structure by name (as a string) or > if there is a way to loop through all the headers in a sip_t structure, > checking if each one's name matches an arb

Re: [Sofia-sip-devel] TCP Source Port 3072?

2009-02-26 Thread Jerry Richards
Hi Pekka, Do you mean that you don't want to bind the TCP connection to port 5060, because some other program might be using it? Or some other program might close that port? We have a hard-phone and I know nothing else except sofia-sip would use that port number. Jerry -Original Message

Re: [Sofia-sip-devel] TCP Source Port 3072?

2009-02-26 Thread Pekka Pessi
2009/2/26 Jerry Richards : > Do you mean that you don't want to bind the TCP connection to port 5060, > because some other program might be using it?  Or some other program might > close that port?  We have a hard-phone and I know nothing else except > sofia-sip would use that port number. The por

[Sofia-sip-devel] [ sofia-sip-Bugs-2625814 ] Assertion "b == bend" when calling nua_invite

2009-02-26 Thread SourceForge.net
Bugs item #2625814, was opened at 2009-02-22 01:52 Message generated for change (Comment added) made by ppessi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=756076&aid=2625814&group_id=143636 Please note that this message will contain a full copy of the comment th

[Sofia-sip-devel] Ordering of SDP Fields

2009-02-26 Thread Jerry Richards
Hello All, When my application specifies the SDP in the SOATAG_USER_SDP(), I noticed sofia-sip sometimes reorders the lines of the SDP in the message that is actually transmitted. Do you know why this is? Does the order matter? Best Regards, Jerry -