Hi,
I would like to make a SIPTrunk with kamailio to redirect to a 9xx numbers in Cisco Call manager, can you help me please. Here's what I did but it does not work.
if (uri=~"sip:9[0-9][0-9]@ccm-ipv6.crihan.fr") { log(1, "Matched Cisco Call Manager"); route(4); };
route(4) { log(1, "In route[4]");
rewritehostport("195.221.29.145.fr:5060");
append_hf("P-hint: Forwarded to CCM\r\n");
xlog("L_INFO", "$rm from $fu to $tu"); t_on_failure("2");
if (!t_relay()) { sl_reply_error();
}; exit; }