[Devel] uac module & t_newtran error

openser-devel at list.coretech.ro openser-devel at list.coretech.ro
Fri Aug 11 12:28:43 CEST 2006


hello,

I am sorry to retransmit this message but I am only interested in a 
short answer, I do not use the uac module correctly, this is the 
intended functionality or it is a bug.

I am using the uac module (in auto restoring mode) to alter the from 
header to ensure that my users are using the correct information.
for every retransmission I get the error "ERROR: t_newtran: transaction 
already in process"

I have compiled a short test case to illustrate the problem:
openser-1.1.0-notls build from source

===openser.cfg===
debug=2
fork=yes
log_stderror=no
log_facility=LOG_LOCAL5

port=5060
children=8
listen=192.168.2.1

mpath="/usr/local/lib/openser/modules"
loadmodule "sl.so"
loadmodule "tm.so"
loadmodule "rr.so"
loadmodule "uac.so"

alias="192.168.2.1"

route {
       loose_route();
       log(1, "T_RELAY EXEC\n");
       if(!t_relay()) {
               log(1, "T_RELAY EXECUTION FAILED\n");
               sl_reply_error();
       }
       exit;
}
===openser.cfg===

===sip-msg===
BYE sip:99903 at 192.168.0.102:5060 SIP/2.0
Via: SIP/2.0/UDP 
192.168.0.102:27234;branch=z9hG4bK-d87543-d62bf124e540b40a-1--d87543-;rport
Max-Forwards: 70
Route: 
<sip:192.168.2.1;lr;ftag=9735324217235;vsf=Y3NzYyklKCYzVCs+MjVsNiQwU11C>
Contact: <sip:99904 at 192.168.0.102:27234>
To: <sip:my-sip-proxy.com>;tag=9735324217235
From: <sip:99904 at 192.168.2.1>;tag=4b196b44
Call-ID: 3DBD8C6C-410E-4232-B237-2F3BE7BF00F1 at 192.168.0.102
CSeq: 2 BYE
User-Agent: X-Lite release 1003l stamp 30942
Reason: SIP;description="User Hung Up"
Content-Length: 0

===sip-msg===

===simulate===
twice in less than 15secs
cat sip-msg | nc -u -w 1 192.168.2.1 5060
===simulate===

===logs===
21:38:46 /usr/local/sbin/openser[20789]: T_RELAY EXEC
21:38:50 /usr/local/sbin/openser[20785]: T_RELAY EXEC
21:38:50 /usr/local/sbin/openser[20785]: ERROR: t_newtran: transaction 
already in process 0x2aaaab42a790
21:38:50 /usr/local/sbin/openser[20785]: T_RELAY EXECUTION FAILED
===logs===

thanks for your time,
razvan radu





More information about the Devel mailing list