[OpenSIPS-Users] UAC module crashing SVN Trunk Version.

David J. david at styleflare.com
Tue Aug 31 12:15:50 CEST 2010


  Razvan,

Sorry about the trouble; here is the casue.

Aug 31 10:16:46 [5315] ERROR:uac:mod_init: 'append_fromtag' RR param is 
not enabled! - required by AUTO restore mode
Aug 31 10:16:46 [5315] ERROR:core:init_mod: failed to initialize module uac
Aug 31 10:16:46 [5315] ERROR:core:main: error while initializing modules

I had append_fromtag set to 0;



On 8/31/10 3:54 AM, Razvan Crainea wrote:
>    David,
>
> Something went wrong because the new log should contain extra
> information. Please make sure you don't rewrite the debug level
> somewhere else and double check you are using the correct configuration
> file.
>
> Regards,
> Razvan
>
> On 08/30/2010 07:44 PM, David J. wrote:
>>     Razvan,
>>
>> I have set beug to 6 but the logs are just as verbose. It seems to
>> output the same information.
>>
>> Does it matter that the loadmodule "uac.so" is the last line of the load
>> modules? Maybe it should be before some other module?
>>
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: INFO:core:main: using 32 Mb
>> shared memory
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: INFO:core:main: using 1 Mb
>> private memory per process
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: NOTICE:signaling:mod_init:
>> initializing module ...
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: INFO:sl:mod_init: Initializing
>> StateLess engine
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: INFO:tm:mod_init: TM -
>> initializing...
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: INFO:maxfwd:mod_init:
>> initializing...
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: INFO:usrloc:ul_init_locks:
>> locks array size 512
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: INFO:registrar:mod_init:
>> initializing...
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: INFO:textops:mod_init:
>> initializing...
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: INFO:acc:mod_init: initializing...
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: INFO:auth:mod_init: initializing...
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: INFO:auth_db:mod_init:
>> initializing...
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: INFO:alias_db:mod_init:
>> initializing...
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: INFO:drouting:dr_init:
>> Dynamic-Routing - initializing
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: INFO:dialog:mod_init: Dialog
>> module - initializing
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: INFO:avpops:avpops_init:
>> initializing...
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: INFO:dialplan:mod_init:
>> initializing module...
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: NOTICE:presence:mod_init:
>> initializing module ...
>> Aug 30 16:46:45 rs /sbin/opensips[2249]:
>> WARNING:permissions:parse_config_file: file not found:
>> //etc/opensips/permissions.allow
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: WARNING:permissions:mod_init:
>> default allow file (//etc/opensips/permissions.allow) not found =>   empty
>> rule set
>> Aug 30 16:46:45 rs /sbin/opensips[2249]:
>> WARNING:permissions:parse_config_file: file not found:
>> //etc/opensips/permissions.deny
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: WARNING:permissions:mod_init:
>> default deny file (//etc/opensips/permissions.deny) not found =>   empty
>> rule set
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: INFO:uac:mod_init: initializing...
>> Aug 30 16:46:45 rs /sbin/opensips[2249]: NOTICE:presence:destroy:
>> destroy module ...
>>
>>
>> On 8/30/10 11:58 AM, Razvan Crainea wrote:
>>>      Hi David,
>>>
>>> Please start OpenSIPS with debug level 6 to get more debugging
>>> information and then reply the new log.
>>>
>>> Regards,
>>>
>>> On 08/30/2010 01:21 AM, David J. wrote:
>>>>       I saw a post today regarding setting callerid to Anonymous, I was
>>>> interested in testing the code; so I loaded the UAC module in and
>>>> restarted opensips;
>>>>
>>>> Not much information why it crashed...
>>>>
>>>> The only thing I added to my existing opensips.cfg is include "uac.so";
>>>>
>>>> Then restarted. (If I remove loadmodule "uac.so" then no-problem
>>>> opensips starts fine)
>>>>
>>>> Here is what is in messages.log
>>>>
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: INFO:core:main: using 32 Mb
>>>> shared memory
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: INFO:core:main: using 1 Mb
>>>> private memory per process
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: NOTICE:signaling:mod_init:
>>>> initializing module ...
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: INFO:sl:mod_init: Initializing
>>>> StateLess engine
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: INFO:tm:mod_init: TM -
>>>> initializing...
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: INFO:maxfwd:mod_init:
>>>> initializing...
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: INFO:usrloc:ul_init_locks:
>>>> locks array size 512
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: INFO:registrar:mod_init:
>>>> initializing...
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: INFO:textops:mod_init:
>>>> initializing...
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: INFO:acc:mod_init: initializing...
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: INFO:auth:mod_init:
>>>> initializing...
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: INFO:auth_db:mod_init:
>>>> initializing...
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: INFO:alias_db:mod_init:
>>>> initializing...
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: INFO:drouting:dr_init:
>>>> Dynamic-Routing - initializing
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: INFO:dialog:mod_init: Dialog
>>>> module - initializing
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: INFO:avpops:avpops_init:
>>>> initializing...
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: INFO:dialplan:mod_init:
>>>> initializing module...
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: NOTICE:presence:mod_init:
>>>> initializing module ...
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]:
>>>> WARNING:permissions:parse_config_file: file not found:
>>>> //etc/opensips/permissions.allow
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: WARNING:permissions:mod_init:
>>>> default allow file (//etc/opensips/permissions.allow) not found =>     empty
>>>> rule set
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]:
>>>> WARNING:permissions:parse_config_file: file not found:
>>>> //etc/opensips/permissions.deny
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: WARNING:permissions:mod_init:
>>>> default deny file (//etc/opensips/permissions.deny) not found =>     empty
>>>> rule set
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: INFO:uac:mod_init: initializing...
>>>> Aug 29 22:23:21 rs /sbin/opensips[32346]: NOTICE:presence:destroy:
>>>> destroy module ...
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>




More information about the Users mailing list