[Serusers] consume_credentials() bug!?

Andrei Pelinescu-Onciul andrei at iptel.org
Mon Jul 25 12:27:28 CEST 2005


On Jul 22, 2005 at 15:28, Rodrigo P. Telles <telles at devel.it> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Iqbal,
> 
> Thanks for your idea.
> 
> Jan,
> 
> As you asked follow the dumps plus ser.cfg.
> http://pastebin.ca/18291
> http://pastebin.ca/18292
> http://pastebin.ca/18293
> http://pastebin.ca/18294

Your subst() regular expression is wrong. It will match and substitute
 also the uri in Proxy-Authorization leading to problems with
 consume_credentials.

Instead of subst('/sip:3324([0-9]+ at .*)$/sip:\1/g');
try using subst('/^(To[  ]*:.*sip:)3324([0-9]+@[^>]*)/\1\2/g');


Andrei




More information about the sr-users mailing list