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:$r...@sip.test.com:5062";
$uac_req(furi) = "sip:$f...@sip.test.com";
$uac_req(turi) = "sip:$t...@sip.test.com";
$uac_req(hdrs) = "Content-Type: text/plain\r\n";
uac_send_req();}
"cfg. parser: failed to find command uac_send_req"
uac module is inserted
tm module is inserted
rr module is inserted
Do I need another module on an extra uac modparam?
Best regards.
----- Αρχικό μήνυμα -----
Από: mico...@gmail.com
Ημ/νία: Δευτέρα, 10 Ιουνίου 2013 10:05 πμ
Πρός: Kamailio (SER) - Users Mailing List
Θέμα: Re: [SR-Users] Missed calls notification supporting
Hello, On 6/7/13 10:42 PM, sipa...@in.gr wrote: > Dear All, > > Does kamailio support sending instant messages to subscribers that > they will contain their missed calls? > If yes, do we need to install a relevant module? > Is there any documentation for that? you can send a SIP message from configuration file using uac module and uac_req_send() function: - http://www.kamailio.org/wiki/cookbooks/4.0.x/pseudovariables#uac_req_key You have to set the body of the variable: - http://kamailio.org/docs/modules/stable/modules/uac.html#idp1686632 Also, be sure you don't authenticate sip requests that are looped back to server. Cheers, Daniel -- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013 * http://asipto.com/u/katu * _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users