callweaver/asterisk questions
Tzafrir Cohen
tzafrir at cohens.org.il
Wed Jan 6 14:09:29 IST 2010
On Wed, Jan 06, 2010 at 01:44:36PM +0200, geoffrey mendelson wrote:
> I have a few asterisk/callweaver questions. Callweaver docs seem to be
> very rudimentary, so I've looked at asterisk docs, but still can't find
> the answers I need.
>
> Here are my questions, any help would be appreciated. I've tried to do a
> web search and looked at the Oreily book with no luck.
>
> 1. How do you force an invalid extension directly dialed to voicemail.
> For example, if you have a menu, you can use the i extension, but what
> if someone dials it directly from an external (SIP) phone? For example
> if I don't have an extension 1234, if you dial it, you get the beep-
> beep-beep the ... is unavailable message.
An invalid extension still goes somewhere in the dialplan. Use that
fallback. In some cases this is as simple as providing a catch-all
extension - _X. and such. Patterns have lower matching priority than
actual extensions.
>
> I want it to go to a voicemail box. The i extension does not work.
exten => 1234,1,Dial(SIP/geoffreymendelson)
exten => _X.,1,Voicemail(geoffreymendelson)
>
> 2. How do you force the context for an external SIP device or system. I
> have an X-Lite softphone and I want to FORCE the calls to a context. It
> always uses the context of the domain name. The context= setting in
> sip.conf does not work. Note, I want this to work no matter what is in
> the context setting, if there is one in X-Lite itself.
in sip.conf:
[xlite]
...
context = the-context-you-want-to-force
If this does not work, you messed something with the authentication.
Also - disable guest login.
>
> 3. Does anyone have a talking clock that works under Callweaver? I found
> a PERL program for asterisk, but the beeps keep disappearing. I ended up
> writing one in extensions.conf, but it's not very accurate, and has to be
> IMHO the worst abuse of a config file I have every heard of. :-)
exten => 1235,1,SayUnixTime()
--
Tzafrir Cohen | tzafrir at jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir at cohens.org.il | | best
ICQ# 16849754 | | friend
More information about the Linux-il
mailing list