[Users] Re: proxy authorization required sent to the wrong port

Benko benkokakao at gmail.com
Thu Sep 28 10:28:24 CEST 2006


Ah! Cool! Thanks a lot for your answer, that was unobviously obvious(at
least for me) ;-) working now...
guess i need more openser dialplan training till i get the logic...

thx
christian


On Thu, 28 Sep 2006 09:21:12 +0200
samuel <samu60 at gmail.com> wrote:

> In the  old version you've got the next lines:
> 
> if( nat_uac_test( "19" ) ) {
> 		fix_nated_contact();
> 		if ( ! search( "^Content-Length:\ 0" ) ) {
> 			fix_nated_sdp( "3" );
> 		};
> 		force_rport();
> 		setflag( 6 );
> 	};
> 
> BEFORE the proxy_authorize call which means that you will use rport in
> the challenge and returned the reply to the port the request came
> from.
> 
> In the new version, you moved these lines AFTER the proxy_authorize
> and therefore there is no rport/fix_* in the digest authorization
> message exchange.
> 
> 
> So:
> 
> Reorder the NAT detection&solution BEFORE the proxy_authorize call.
> 
> Samuel.
> 
> 2006/9/27, Benko <benkokakao at gmail.com>:
> > sorry for the attachments, here they are as txt-files...
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at openser.org
> > http://openser.org/cgi-bin/mailman/listinfo/users
> >
> >
> >
> >




More information about the Users mailing list