[Kamailio-Users] TM module

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 27 12:03:36 CET 2010


sl tries to bind to tm for send_reply() function.

The function can detect whether transaction was created and uses 
t_relply() in that case instead of sl_send_reply() (of course, if sl can 
bind to tm module). sl will print a warning. Probably the message in tm 
should not be printed as error anymore and let the module that tries to 
bind to decide whether is error if it must bine, or warning if just 
disables some features.

Cheers,
Daniel

On 1/27/10 11:57 AM, Denis Putyato wrote:
>
> Daniel, I already discovered about milisec. Thank you.
>
> What about error:
>
> loadmodule "db_mysql.so"
>
> loadmodule "mi_fifo.so"
>
> loadmodule "sl.so"
>
> loadmodule "tm.so"
>
> loadmodule "tmx.so"
>
> loadmodule "rr.so"
>
> loadmodule "pv.so"
>
> loadmodule "textops.so"
>
> loadmodule "siputils.so"
>
> loadmodule "xlog.so"
>
> loadmodule "acc.so"
>
> loadmodule "avpops.so"
>
> loadmodule "siptrace.so"
>
> loadmodule "dialplan.so"
>
> loadmodule "lcr.so"
>
> loadmodule "sqlops.so"
>
> loadmodule "carrierroute.so"
>
> loadmodule "drouting.so"
>
> loadmodule "kex.so"
>
> *From:* Daniel-Constantin Mierla [mailto:miconda at gmail.com]
> *Sent:* Wednesday, January 27, 2010 1:46 PM
> *To:* Denis Putyato
> *Cc:* users at lists.kamailio.org
> *Subject:* Re: [Kamailio-Users] TM module
>
> Hello,
>
> On 1/27/10 9:37 AM, Denis Putyato wrote:
>
> Hello everybody!
>
> ERROR: tm [tm_load.c:47]: tm:load_tm: Module not initialized yet, make 
> sure that all modules that need tm module are loaded after tm in the 
> configuration file
>
> Kamailio 3.0 was installed from GIT.
>
> Kamailio starts success. But the error appears. I think because of 
> this  I have a problem with making a call through kamailio. Calls were 
> failed because kamailio send CANCEL or 487 code immediately after send 
> INVITE to some outgoing gateways (after t_relay() has been made).
>
> Is this really need load all modules for tm working properly? I read 
> documentation and fount that almost all modules that need tm loaded do 
> not need in my config.
>
> do you have #!KAMAILIO line at the beginning of your config? In 3.0.0 
> tm timeouts are in miliseconds, de directive I mentioned checks if you 
> have it too low, it increases it accordingly (case of updating the 
> config without paying attention to timeout value changes).
>
> If you list the modules that you load, I can spot which one depends on 
> tm and is loaded before.
>
> Cheers,
> Daniel
>
> -- 
> Daniel-Constantin Mierla
> *http://www.asipto.com/
>
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100127/820de22f/attachment.htm>


More information about the sr-users mailing list