I just ran into a bit of a challenge about voicemail forwarding, so I thought I'd share.
First, you need the modparam as indicated. Note, all timers on this ser server will be set to the seconds you specify. That is, you can't have different duration timers for different things. No problem. Anyway...
Second, a section loosely like this:
if(lookup ("location")) { t_on_failure ("1"); record_route(); if(!t_relay()) { sl_reply_error(); } }
finally, a failure route:
failure_route[1] { revert_uri ();
rewritehostport ("VMIP:VMPORT"); append_branch (); t_relay (); }
I specifically note the revert_uri()! Especially if it is going through a b2bua, you need to get the NAME back in: sip:NAME@domain.com
Anyway, I don't think the revert_uri() will hurt, and it may save you the hours and hours I spent on it yesterday! I left out the revert_uri(), and the voicemail server was getting a request uri:
sip:PPC1234@voicemail.com.
To which it replied (404 not found), which I forward to the signalling PSTN gateway, which then said 'YOU HAVE REACHED A DISCONNECTED NUMBER...'.
---greg
followed by your routing, in my case:
On Jun 10, 2004, at 9:57 AM, Ezequiel Colombo wrote:
Hi Gary, the ring timer for no-answer in SER is: # Set the time for wait a sucessful reply on 6 seconds modparam("tm", "fr_inv_timer", 6) ----- Original Message ----- From: gc To: serusers@lists.iptel.org Sent: Thursday, June 10, 2004 11:24 AM Subject: [Serusers] control number of rings
If a phone ring about 6 seconds and nobody answer, ser will forward it to a voicemail system (like Asterisk). Can somebody show me how to do it in ser.cfg. I remember saw the ser.cfg somewhere in the archive for this but I have dificulty to find it again. Gary
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers _______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Greg Fausak www.AddaBrand.com (US) 469-546-1265