2009/2/11 Bengt Werstén <bengt.wers...@enea.com>:
> We have got sofia-SIP to work when no NAT is involved but now we need a NAT
> solution using STUN. So far I have added the STUN define and changed my
> register from:
>....

I think the STUN code was never really polished, the most of the
implementation is from pre-bis era. I'm afraid the way Sofia SIP uses
STUN is not really valid and fails in most cases (I think it mostly
assumes NATs are full-cone).

> Even if the STUN server
> is responding with a correct IP the REGISTER sent with a strange contact
> header "<sip:DBDaDaacBBDaBcDc.is.invalid:5060;transport=udp>". Sofia SIP
> prints out this during the process:
>
> stun: Timeout no. 1, retransmitting.
>
> tport_stun_bind_cb: stun_discovery_done
>
> stun: Timeout no. 1, retransmitting.
>
> tport_stun_bind_cb: stun_discovery_done
>
> stun: Timeout no. 2, retransmitting.
>
> stun: Timeout no. 3, retransmitting.
>
> stun: Timeout no. 4, retransmitting.

> Is there any examples on how to enable STUN since it seems that I do
> something wrong but I cannot figure out what. Any help is very much
> appreciated.

Your wireshark message traces would be very helpful trying to figure
out what goes wrong there...

-- 
Pekka.Pessi mail at nokia.com

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to