[OpenSIPS-Users] UAC module crashing SVN Trunk Version.
Razvan Crainea
razvancrainea at opensips.org
Tue Aug 31 12:50:25 CEST 2010
David,
The 'append_fromtag' RR param is not required any more if you are using
uac module with 'force_dialog' param enabled. I have just fixed this check.
If you do not set the 'force_dialog' param in uac module, you must set
the 'append_fromtag' parameter in rr module.
Regards,
Razvan
On 08/31/2010 01:15 PM, David J. wrote:
> 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
>>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
Razvan Crainea
www.voice-system.ro
More information about the Users
mailing list