[Serusers] Asterisks to ser to asterisk (voicemail)

GR S gr_sh2003 at yahoo.com
Thu Jul 29 03:01:04 CEST 2004


Dave,

--- Dave Bath <dave at fuuz.com> wrote:

> Hey Girish,

<snip> 

> Ser always pass it the format it's expecting... there must be  way to do
> a lookup(alias) and then re-write the URI with the alias before it gets
> forwarded.?

I am sorry. I haven't used 'aliases' and MSILO module. So my knowledge is very limited on using
these features. We also have a setup somewhat similer to what you had described, but we have a
plug-in for SER from which we fetch the records from the database, modify the uri and send it to
Asterisk. This works fine for us and as you said, the ${EXTEN} in Asterisk dialplan handles all
such numbers.

> Sorry if my explanation about the 404 is confusing... it's confusing for
> me too! Attached is the ser.cfg (I hope it retains the indentation!)
> 

>From your ser.cfg:
if ((method=="INVITE" || method=="ACK") && t_newtran() ) {
     t_reply("404", "Not Found");

I think this is why you get the 404 message failure route. Instead try this:

if ((method == ....
{
    t_on_failure("4");
    t_relay();
    break;
}

> 
> Dave
> 

Best Regards,

=====
Girish Gopinath  <gr_sh2003 at yahoo.com>


		
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.yahoo.com




More information about the sr-users mailing list