[Spce-user] NCOS Levels - Web Error "(en) Please come back later"

Pedro Guillem pedro.guillem at gmail.com
Thu Apr 11 15:43:57 EDT 2013


Dear Jon
Excellent project you got here.


Kindly refer to post:
http://lists.sipwise.com/pipermail/spce-user/2013-January/002867.html
I´m experimenting the same error message as Leonardo, but while creating
new NCOS Levels.

*(en) Please come back later
(fr) SVP veuillez revenir plus tard
(de) Bitte versuchen sie es spaeter nocheinmal
(at) Konnten's bitt'schoen spaeter nochmal reinschauen
(no) Vennligst prov igjen senere
(dk) Venligst prov igen senere
(pl) Prosze sprobowac pozniej
(pt) Por favor volte mais tarde
(ru) Попробуйте еще раз позже
(ua) Спробуйте ще раз пізніше*


This happens whenever i try to create a new NCOS Level, or editing the
first creation attempt of an existing Level.

The output of OSS.log (note the last line) is:


Apr 11 14:17:07 provisioning: Sipwise::Provisioning::_log_xmldata:
get_ncos_level called with: {'authentication' => {'password' =>
'********','type' => 'admin','username' =>
'administrator'},'parameters' => {'level' => 'UK'}}

Apr 11 14:17:07 provisioning: Sipwise::Provisioning::handle_request:
calling function 'get_ncos_level' for admin 'administrator'
Apr 11 14:17:07 provisioning: Sipwise::Provisioning::_log_xmldata:
get_ncos_level returned with: {'description' => 'UK','level' =>
'UK','local_ac' => '0','mode' => 'whitelist'}
Apr 11 14:17:07 provisioning: Sipwise::Provisioning::_log_xmldata:
get_ncos_pattern_list called with: {'authentication' => {'password' =>
'********','type' => 'admin','username' =>
'administrator'},'parameters' => {'level' => 'UK'}}
Apr 11 14:17:07 provisioning: Sipwise::Provisioning::handle_request:
calling function 'get_ncos_pattern_list' for admin 'administrator'
Apr 11 14:17:07 provisioning: Sipwise::Provisioning::_log_xmldata:
get_ncos_pattern_list returned with: [{'description' => 'UK','pattern'
=> "\x{2c6}442"}]
Apr 11 14:17:07 /usr/sbin/apache2: ***Provisioning::call_prov calling
'billing::get_ncos_level'
Apr 11 14:17:07 /usr/sbin/apache2: ***Provisioning::call_prov calling
'billing::get_ncos_pattern_list'
Apr 11 14:17:07 /usr/sbin/apache2: Caught exception in
admin::Controller::ncos->lists "Can't escape \x{02C6}, try
uri_escape_utf8() instead at
/usr/share/ngcp-www-admin/lib/admin/Controller/ncos.pm line 192



I think it has to do with trying to escape the circumflex character inside
the regex pattern.. Should i use "\" before the regex to avoid this? or
shiuld i change the function at the mentioned line?

Best regards
Pedro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20130411/2148bc8c/attachment.html>


More information about the Spce-user mailing list