Re: [Sofia-sip-devel] Wrong answer from sofia-sip

2009-08-26 Thread Michael Jerris
Can you paste the actual sip trace here.

Mike

On Aug 26, 2009, at 6:45 AM, Bernhard Suttner wrote:

 Hi,

 I have the following problem (using sofia sip 1.12.9):

 A (non sofia-sip) sends INVITE to B (user agent with sofia-sip)
 B send back a Trying
 B send Ringing and then a 200 OK

 Most important data for the INVITE from A:
 Src IP: 10.251.0.1
 Dest IP: 10.251.0.101
 Contact: 10.27.0.60

 The Trying generated from sofia-sip has the data:
 Src IP: 10.251.0.101
 Dest IP: 10.251.0.1
 VIA: SIP/2.0/UDP 10.27.0.60;branch=ydfasfasfsf;received=10.251.0.1

 The problem is, that B use the IP 10.251.0.1 as destination and not  
 the
 contact of the INVITE (that would be 10.27.0.60). Also in the RINGING
 and 200 OK sofia-sip will use the Src-IP and not the Contact addr.

 Can I somehow configure sofia-sip in that way, that it will use the
 CONTACT addr instead of the Src IP?

 Thanks in advance!

 Best regards,
 Bernhard Suttner

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
 30-Day
 trial. Simplify your report design, integration and deployment - and  
 focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Sofia-sip-devel mailing list
 Sofia-sip-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] RFC 2198 ( RTP Payload for Redundant Audio Data)

2009-08-26 Thread Steve Underwood
On 08/14/2009 10:44 PM, Gilles Depatie wrote:

 Hi

 Has anyone considered or attempted to implement this piece of 
 functionality on the Sophia Sip stack?

 As part of contract work for a customer using FreeSwitch, we have been 
 asked to enhance FS to support this RFC.

 Any help or comments would be appreciated.

 Thanks

 Gilles


RFC2198 is an RTP spec, so it has little to do with Sofia. Sofia already 
recognises the RED data type which RFC2198 intoduces into the SDP.

Steve


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] Wrong answer from sofia-sip

2009-08-26 Thread Bernhard Suttner
Hi,

attached the network trace. You have to decode the first paket as SIP in 
Wireshark (destination ip).

BR,
Bernhard

-Ursprüngliche Nachricht-
Von: Michael Jerris [mailto:m...@jerris.com] 
Gesendet: Mittwoch, 26. August 2009 16:53
An: sofia-sip-devel
Betreff: Re: [Sofia-sip-devel] Wrong answer from sofia-sip

Can you paste the actual sip trace here.

Mike

On Aug 26, 2009, at 6:45 AM, Bernhard Suttner wrote:

 Hi,

 I have the following problem (using sofia sip 1.12.9):

 A (non sofia-sip) sends INVITE to B (user agent with sofia-sip)
 B send back a Trying
 B send Ringing and then a 200 OK

 Most important data for the INVITE from A:
 Src IP: 10.251.0.1
 Dest IP: 10.251.0.101
 Contact: 10.27.0.60

 The Trying generated from sofia-sip has the data:
 Src IP: 10.251.0.101
 Dest IP: 10.251.0.1
 VIA: SIP/2.0/UDP 10.27.0.60;branch=ydfasfasfsf;received=10.251.0.1

 The problem is, that B use the IP 10.251.0.1 as destination and not  
 the
 contact of the INVITE (that would be 10.27.0.60). Also in the RINGING
 and 200 OK sofia-sip will use the Src-IP and not the Contact addr.

 Can I somehow configure sofia-sip in that way, that it will use the
 CONTACT addr instead of the Src IP?

 Thanks in advance!

 Best regards,
 Bernhard Suttner

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
 30-Day
 trial. Simplify your report design, integration and deployment - and  
 focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Sofia-sip-devel mailing list
 Sofia-sip-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


wrong_ip.pcap
Description: wrong_ip.pcap
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] Making sofia request type AAAA in DNS Query

2009-08-26 Thread Jerry Richards
Hello,

I am cross-compiling sofia-sip and I'm wondering if anyone has gotten
sofia-sip to request type  addresses in its DNS query?  Right now I only
see it do a type A request and if that fails, it gives up.  I would like it
to attempt type A and if that fails, attempt type .

I can see the RES_OPTIONS and SRES_OPTIONS in the documentation.  Are these
compile-time environment variables?  Or are they runtime environment
variables.  This makes a big difference when cross-compiling.

Thanks and Best Regards,
Jerry


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel