On Tuesday 11 June 2013 11:51:23 sipatse@in.gr wrote:
I have added the below configuration lines and I got a parsing error.
if(!lookup("location")) && if(is_method("INVITE")) {$uac_req(method)="INVITE"; $uac_req(ruri) = "sip:$rU@sip.test.com:5062"; $uac_req(furi) = "sip:$fU@sip.test.com"; $uac_req(turi) = "sip:$tU@sip.test.com"; $uac_req(hdrs) = "Content-Type: text/plain\r\n"; uac_send_req();}
"cfg. parser: failed to find command uac_send_req"
My guess is you are looking at old documentation http://kamailio.org/docs/modules/stable/modules/uac.html#idp1686632 it's uac_req_send() nowadays.
But I don't get your reminder logic. If $rU isn't logged in and it is INVITE- ed, your are going to send INVITES to it?