man, 18.02.2008 kl. 11.50 +0100, skrev Massimo Cetra:
> Mikael Aleksander Bjerkeland wrote:
> > man, 18.02.2008 kl. 09.26 +0100, skrev CtRiX:
> >   
> >> Mikael Aleksander Bjerkeland wrote:
> >>     
> >>> I tried nat=never. No difference. The logs from this call can be found
> >>> here: http://openpbx.pastebin.ca/908268
> >>>
> >>> I will try to do some regresssion testing to find out where it broke.
> >>>   
> >>>       
> >> Useless logs.
> >>
> >> Please:
> >> sip debug,
> >> set verbose 9
> >> set debug 9
> >> rtp debug
> >>
> >> and use the full log, not the console.
> >>     
> > Log: http://openpbx.pastebin.ca/908318
> >   
> There is some code like this:
> 
>         if ( option_debug > 5 )
>             opbx_log(LOG_DEBUG,"Nat is not needed (condition 1)\n");
> 
> 
I cannot find this code in chan_sip.c. This is 1.2 btw, not SVN. I
should have mentioned it earlier.

> that should match the nat condition logic and show which one is actually 
> choosen.
> I don't see any evidence of those logs so 2 causes here:
> 1) old version of chan_sip or
> 2) debug is not >5
Debug is >5, but the section in chan_sip you are referring to is not in
1.2 SVN 4015. It is in 4500 which I am using now.
> 
> I need to see how the code manages the conditions and here i don't see it.
> 
> More: what's your localnets options in sip.conf ?
externip = 78.24.88.22

localnet=192.168.0.0/255.255.0.0; All RFC 1918 addresses are local
networks
localnet=10.0.0.0/255.0.0.0     ; Also RFC1918

nat=route

I don't know why I have that IP in the SDP lines. I tried both nat=never
and nat=no, also nat=yes. The content of the logs may change slightly,
but the behaviour is the same.

The logs can be found here:  http://openpbx.pastebin.ca/index.php

This time I used nat=no on both server1 and server2.

> 
> CW is using what i believe is the external IP (78.24.88.22) so most 
> probably you have a configuration problem.
This is the correct external IP.
> 
> How can you use nat=never and have such an IP in the SDP lines ?
I have no clue. Is there a difference in the logs now?
> 
> Max
> 
> 

_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to