i tried dlg_bridge, but found some problems. first, if i didn't define
tm module param fr_inv_timer_avp, i got these kind of errors to syslog:
Jul 22 10:28:53 localhost /usr/sbin/sip-router[15075]: INFO: INVITE <sip:jh@test.fi>
by untrusted <sip:controller@kamailio.org> from <192.98.101.10>
Jul 22 10:28:53 localhost /usr/sbin/sip-router[15073]: INFO: <core>
[tcp_main.c:1919]: tcp_send: quick connect for 0xb3331098
Jul 22 10:28:53 localhost /usr/sbin/sip-router[15075]: ERROR: <core>
[usr_avp.c:159]: ERROR:avp:add_avp: 0 ID or NULL NAME AVP!
Jul 22 10:28:53 localhost /usr/sbin/sip-router[15075]: ERROR: tm [t_serial.c:430]: setting
of fr_inv_timer_avp failed
Jul 22 10:28:53 localhost /usr/sbin/sip-router[15075]: ERROR: Cannot get contacts for
INVITE <sip:jh_test_fi@192.98.101.10:5074;transport=udp>!
nowhere in dialog module docs is mentioned that tm fr_inv_timer_avp
would need to be defined. is defining fr_inv_timer_avp mandatory in
order to make dlg_bridge to work?
after i defined this avp, and give command
mi dlg_bridge sip:jh@test.fi sip:test@test.fi sip:192.98.101.10:5060
sip:jh@test.fi rings, but when twinkle answers, it does not receive a
refer.
when sip:jh@test.fi then ends the call, by sending bye, i noticed that
bye goes to sip:kamailio.org:5060 (contact uri in invite) although i
have defined
modparam("dialog", "bridge_controller",
"sip:click2dial@192.98.101.10:5060")
finally, if these issues get solved, is it even in theory possible to
add an "extra headers" parameter to dlg_bridge mi command?
-- juha