Hi Lorenzo,

I would say the STUN fails - STUN is used to discover both the IP and 
PORT, so if the port is wrong, STUN failed.

There is no issue with your cfg, simply stun did not manage to discover 
the correct port - note that STUN does not work with symmetrical NATs.

Regards,
Bogdan

lorenzo wrote:
> On 09/12/09 18:09, Bogdan-Andrei Iancu wrote:
>   
>> Hi Lorenzo,
>>
>> check with "opensipsctl ul show" how your phone is registered - what is 
>> important are the "contact" and "received" fields - which is present and 
>> which contains private IPs.
>>     
>
>
> Hi Bogdan!
>
> first of all, thanks for the very late reply, been very busy lately!
>
> i've checked with "opensipsctl ul show", and what shows up is that my
> app is recorded with the wrong port! i.e. not the one in the ip header,
> but the one in the sip header.! it's as if rport was ignored!
>
>         AOR:: asymmetric
>                 Contact::
> sip:asymmet...@151.16.109.231:62560;transport=udp Q=
>                         Expires:: 3565
>                         Callid:: 445710225...@151.16.109.231
>                         Cseq:: 1
>                         User-agent:: mjsip stack 1.6
>                         State:: CS_NEW
>                         Flags:: 0
>                         Cflag:: 0
>                         Socket:: udp:88.149.188.29:5060
>                         Methods:: 4294967295
>
> 62560 is wrong, while the ip is correct (which means that stun works
> correctly)
>
> i probably misconfigured opensips.cfg, could you give me some advice?
>
> here's mine, in all its glory ;)
> http://paste2.org/p/623910
>
> btw, i'm running a very basic setup with no db, is that a problem?
>
> thanks a lot,
> lorenzo
>
>   
>> Regards,
>> Bogdan
>>     
>
>
>
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to