[Serusers] voicemail (again)

Jan Janak jan at iptel.org
Mon Jan 26 12:50:21 CET 2004


You can't make it to pick up after 10 rings. Rings are generated localy
by your phone. You can make to pick it up after some timeout.

  Jan.

On 25-01 22:10, Atle Samuelsen wrote:
> 
> 
> 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