Dear Daniel,<br />
<br />
Initially I would like to thank you for your response.<br />
Actually  $uac_req(method)="INVITE"; it was a typo the right is $uac_req(method)="MESSAGE";.<br />
What I would like to do is :<br />
1)An invite comes Towards a local subscriber<br />
2)Perform a location lookup<br />
3)this sub is not registered so location info was not found<br />
4)Use function uac_req_(key) to build a message<br />
5)Use function uac_req_send to send a message informing him about missed calls<br />
6)Because this sub is offline, this message will be stored in silo table<br />
7)when he will be registered again this message will be sent to him <br />
<br />
Is this the correct way to do that or not?<br />
<br />
Best regards.<br />
<br />
----- Αρχικü μÞνυμα ----- <br />
Απü: daniel@pocos.nl<br />
Ημ/νßα: Τρßτη, 11 Ιουνßου 2013 06:39 μμ<br />
Πρüς: sr-users@lists.sip-router.org<br />
CC: sipatse@in.gr<br />
ΘÝμα: Re: [SR-Users] Missed calls notification supporting<br />
<br />
<pre>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?

-- 

POCOS B.V. - Croy 9c - 5653 LC Eindhoven
Telefoon: 040 293 8661 - Fax: 040 293 8658
http://www.pocos.nl/   - http://www.sipo.nl/
K.v.K. Eindhoven 17097024</pre>