[Serusers] voicemail (again)
Raphael Coeffic
rco at iptel.org
Sun Jan 25 23:18:22 CET 2004
Hi Atle,
take a look at the confuration file within [ser]/examples/vm_proxy.cfg.
Then you can change the redirection part within 'failure_route' block to
redirect to voicemail.
That's it !
-Raphael.
----- Original Message -----
From: "Atle Samuelsen" <clona at cyberhouse.no>
To: <serusers at lists.iptel.org>
Sent: Sunday, January 25, 2004 10:10 PM
Subject: [Serusers] voicemail (again)
>
>
> Hey guys,
>
> Im playing with the voicemail .. again..and wondering on how I can make
> my voicemail service take the phone after ~10 rings.
>
> this is the if I'v got now..
>
>
> - Atle
>
> # Voicemail specific configuration - begin
>
> if(method=="ACK" || method=="INVITE" || method=="BYE"){
>
> if(t_newtran()){
>
> t_reply("100","Trying -- just wait a
minute !");
>
> if(method=="INVITE"){
> log("**************** vm start -
begin ******************\n");
>
if(!vm("/tmp/am_fifo","voicemail")){
> log("could not contact the
answer machine\n");
> t_reply("500","could not
contact the answer machine");
> };
> log("**************** vm start -
end ******************\n");
> break;
> };
>
> if(method=="BYE"){
> log("**************** vm end -
begin ******************\n");
> if(!vm("/tmp/am_fifo","bye")){
> log("could not contact the
answer machine\n");
> t_reply("500","could not
contact the answer machine");
> };
> log("**************** vm end - end
******************\n");
> break;
> };
> }
> else {
> log("could not create new transaction\n");
> sl_send_reply("500","could not create new
transaction");
> };
> };
>
> # Voicemail specific configuration - end
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list