Hey Girish,
Thanks for swift reply!
I had come to same conclusion about dialplan too... however, I am not sure the best way of proceeding. In our network, most users will have both alphanumeric usernames and 4-digit traditional style extension numbers - both for those with 12-key phones and for easy mapping to external numbers. For this reason, it seemed easiest to base the Asterisk VM boxes on those 4-digit extension numbers... then rather than add an extension for every user in *, I just have a single rule using the {exten} variable. Otherwise I need some way of mapping alphanumeric and digit codes to the same mailbox in *... very confusing... I thought that it would be a lot easier to let * handle the simplest one, and make 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.?
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!)
Many thanks again,
Dave
-----Original Message----- From: GR S [mailto:gr_sh2003@yahoo.com] Sent: 28 July 2004 22:04 To: Dave Bath Cc: serusers@lists.iptel.org Subject: RE: [Serusers] Asterisks to ser to asterisk (voicemail)
Hello,
--- Dave Bath dave@fuuz.com wrote:
<snip>
(1) If a user is called with their alphanumeric ID instead of their numerical alias, * does not pick up the call. This is as expected, as the dial pattern in * is _[1-9] [0-9] [0-9] [0-9]. However, it must
be
fairly common to call people with their email addresses for example... so how can I make ser pass the alias to * instead of the alpha URI?
I think the problem is in your dialplan. Try adding something like this: exten => _.,1,Dial(SIP/....
(2) If a user is offline, I get a 404 immediately, instead of anything else - for example diverting immediately to vm. I don't quite understand this at the moment.. as I have the t_on_failure set up
before
the location lookups... does the t_on_failure not catch 404 failures?
Sorry, I dont understand this problem. Looks to me as a misconfiguration in the config file. Please post your ser.cfg. There are many in this forum who can tell you about the problem after verifying the config file. I saw your previous post and excerpts from the config file, but did not quite understand that.
Thanks again everyone,
Dave
Best Regards,
===== Girish Gopinath gr_sh2003@yahoo.com
__________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail