Hello Henning,
That is the only error that shows up.
Openser version is 1.3.2 running on Fedora. I installed it with 'yum' (Fedora
package manager).
I've just restarted openser and made a test call, these are all the messages:
Jun 13 11:56:23 fedora /usr/sbin/openser[7042]: INFO:core:sig_usr: signal 15 received
Jun 13 11:56:23 fedora /usr/sbin/openser[7039]: INFO:core:sig_usr: signal 15 received
Jun 13 11:56:23 fedora /usr/sbin/openser[7017]: INFO:core:sig_usr: signal 15 received
Jun 13 11:56:23 fedora /usr/sbin/openser[7020]: INFO:core:sig_usr: signal 15 received
Jun 13 11:56:23 fedora /usr/sbin/openser[7026]: INFO:core:sig_usr: signal 15 received
Jun 13 11:56:23 fedora /usr/sbin/openser[7023]: INFO:core:sig_usr: signal 15 received
Jun 13 11:56:23 fedora /usr/sbin/openser[7036]: INFO:core:sig_usr: signal 15 received
Jun 13 11:56:23 fedora /usr/sbin/openser[7033]: INFO:core:sig_usr: signal 15 received
Jun 13 11:56:23 fedora /usr/sbin/openser[7014]: INFO:core:sig_usr: signal 15 received
Jun 13 11:56:23 fedora /usr/sbin/openser[7030]: INFO:core:sig_usr: signal 15 received
Jun 13 11:56:23 fedora /usr/sbin/openser[7027]: INFO:core:sig_usr: signal 15 received
Jun 13 11:56:23 fedora /usr/sbin/openser[7011]: INFO:core:sig_usr: signal 15 received
Jun 13 11:56:23 fedora /usr/sbin/openser[7005]: INFO:core:sig_usr: signal 15 received
Jun 13 11:56:23 fedora /usr/sbin/openser[7008]: INFO:core:sig_usr: signal 15 received
Jun 13 11:56:23 fedora /usr/sbin/openser[7002]: INFO:core:sig_usr: signal 15 received
Jun 13 11:56:25 fedora openser: INFO:core:init_tcp: using epoll_lt as the TCP io watch
method (auto detected)
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: NOTICE:core:main: version: openser
1.3.2-tls (i386/linux)
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:core:main: using 32 Mb shared memory
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:core:main: using 1 Mb private memory
per process
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:sl:mod_init: Initializing StateLess
engine
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:tm:mod_init: TM - initializing...
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:maxfwd:mod_init: initializing...
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:usrloc:ul_init_locks: locks array
size 512
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:registrar:mod_init: initializing...
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:textops:mod_init: initializing...
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:xlog:mod_init: initializing...
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:acc:mod_init: initializing...
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:auth:mod_init: initializing...
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:auth_db:mod_init: initializing...
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:bind_data_loader: use
database as configuration source
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:load_route_data:
add_carrier: name default, id 0, trees: 1
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:add_carrier_tree: add
carrier default
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:add_carrier_tree:
carrier default not found, add it
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:add_tree: tree default
has internal id 0
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:add_carrier_tree:
created carrier tree: default, with id 0 and 1 t
rees
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:add_route: adding prefix
1760, prob 1.000000
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:get_route_tree: domain 0
not found, add it
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:add_domain: domain 0 has
id 0
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:add_route_tree: tree
default has 1 trees
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:get_route_tree: created
route tree: 0, 0
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:add_route: found route,
now adding
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:add_route_rule: no
backed up rules
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:add_route: adding prefix
1305, prob 1.000000
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:get_route_tree: found
domain 0
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:add_route: found route,
now adding
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:add_route_rule: no
backed up rules
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:add_route: adding prefix
, prob 1.000000
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:get_route_tree: found
domain 0
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:add_route: found route,
now adding
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:add_route_rule: no
backed up rules
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:rule_fixup: fixing tree
0
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:rule_fixup_recursor:
hashless rule with host 70.165.183.36 hash ha
sh_index 1
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:rule_fixup_recursor:
hashless rule with host hash hash_index 1
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:rule_fixup_recursor:
hashless rule with host 70.165.183.36 hash ha
sh_index 1
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:mod_init: module
initialized, pid [9254]
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:carrierroute:route_fixup: domain 0
has id 0
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:core:probe_max_receive_buffer: using
a UDP receive buffer of 218 kb
Jun 13 11:56:25 fedora /usr/sbin/openser[9254]: INFO:core:probe_max_receive_buffer: using
a UDP receive buffer of 218 kb
Jun 13 11:57:01 fedora /usr/sbin/openser[9271]: ERROR:carrierroute:carrier_rewrite_msg:
during rewrite_uri_recursor, uri 13054941522
, carrier 0, domain 0
Henning Westerholt <henning.westerholt(a)1und1.de> wrote: On Friday 13 June 2008,
Pablo Bertuzzi wrote:
Hello everyone, i am testing the carrierroute module
to do the following:
-If destination starts with 1760, the call is sent to PSTN GW.
-If destination starts with 1305, the call is blocked.
The lab works as desired, however i am getting this error:
ERROR:carrierroute:carrier_rewrite_msg: during rewrite_uri_recursor, uri
13054941522 , carrier 0, domain 0
Hi Pablo,
what version of OpenSER do you use? And can you perhaps quote a little bit
more of the log messages, there should be some others around this error.
Cheers,
Henning