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