Hello,
while playing around with the pseudo variables whithin openser 1.2.1 I got a strange behavior. I tried to check if the from-header-name of an invite message is set to (A|a)nonymous with an simple if-clause.
if($fn =~"(A|a)nonymous") { ...do something ; }
It works fine while the from-name variable is not empty. If the from-header-name in the INVITE message is not given openser crashes exactly on that comparison.
After that I started playing around using other comparisons, for example 'if($fn=~"foo")' or ' if($fn == "foo")' , with the same set-up. Openser crashed each time processing that if-clause.
I tested this with openser-1.2.1-notls on i386 openSUSE 10.2 with MySQL 5.0.26 and gcc 4.1.2
Can anybody confirm this problem ?
Debuggin informations are available and can be send additional if necessary.
Regards.
Rainer Strobel
---------------------------------------------------------------------
HFO Telecom AG Network Management Bahnhofstraße 18 95028 Hof
Tel.: + 49 (0) 92 81 / 14 48 132 Fax: + 49 (0) 92 81 / 14 48 52 132 E-Mail: strobel@hfo-telecom.de Internet: www.hfo-telecom.de
Hello,
can you take the latest SVN version of branch 1.2 and test. It was another report and I hope I fixed. Of not, please let me know, I will investigate again.
Cheers, Daniel
On 07/26/07 12:07, Rainer Strobel wrote:
Hello,
while playing around with the pseudo variables whithin openser 1.2.1 I got a strange behavior. I tried to check if the from-header-name of an invite message is set to (A|a)nonymous with an simple if-clause.
if($fn =~"(A|a)nonymous") { ...do something ; }
It works fine while the from-name variable is not empty. If the from-header-name in the INVITE message is not given openser crashes exactly on that comparison.
After that I started playing around using other comparisons, for example 'if($fn=~"foo")' or ' if($fn == "foo")' , with the same set-up. Openser crashed each time processing that if-clause.
I tested this with openser-1.2.1-notls on i386 openSUSE 10.2 with MySQL 5.0.26 and gcc 4.1.2
Can anybody confirm this problem ?
Debuggin informations are available and can be send additional if necessary.
Regards.
Rainer Strobel
HFO Telecom AG Network Management Bahnhofstraße 18 95028 Hof
Tel.: + 49 (0) 92 81 / 14 48 132 Fax: + 49 (0) 92 81 / 14 48 52 132 E-Mail: strobel@hfo-telecom.de Internet: www.hfo-telecom.de
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users