[Asterisk-Users] Just getting started with Asterisk

Jesper Dalberg dalberg at cybercity.dk
Tue Oct 5 01:53:28 MST 2004


Hi list,

I have been looking around for a while now, and cant seem to get to the
bottom of my problem.

My setup is that I have a separate SIP server that servers my SIP
subscribers, and I want to use Asterisk purely for voicemail for now. 

So I set up a common SIP extension at my SIP server, and made Asterisk
register it, so that normal users can forward calls to that common
extension, and Asterisk can analyse B-numbers to figure out which
mailbox to enter. That's the basic idea.

I have never used Asterisk before, and have (well had) no clue where or
how to start, so I started in sip.conf, and just wanted to get the demo
first. So I registered as ...

register =>
mygenericforwardextension:password at legacy.sipserver.com:5060/9999


.. and then set up the 9999 extension in extensions.conf as shown ...

exten => 9999,1,Goto(default,s,1)

When I place a call to "mygenericforwardextension", the SIP signalling
(INVITE) comes through to Asterisk just fine, but at the end I get a
busy tone, and asterisk (with debug switches) gives me...


    -- Executing Goto("SIP/-08363000", "default|s|1") in new stack
    -- Goto (default,s,1)
    -- Executing Wait("SIP/-08363000", "1") in new stack
    -- Executing Answer("SIP/-08363000", "") in new stack
    -- Executing DigitTimeout("SIP/-08363000", "5") in new stack
    -- Set Digit Timeout to 5
    -- Executing ResponseTimeout("SIP/-08363000", "10") in new stack
    -- Set Response Timeout to 10
    -- Executing BackGround("SIP/-08363000", "demo-congrats") in new
stack
    -- Playing 'demo-congrats' (language 'en')
Oct  5 09:58:17 WARNING[137733120]: file.c:537 ast_readaudio_callback:
Failed to write frame
    -- Executing BackGround("SIP/-08363000", "demo-instruct") in new
stack
Oct  5 09:58:17 WARNING[137733120]: file.c:537 ast_readaudio_callback:
Failed to write frame
    -- Playing 'demo-instruct' (language 'en')


I have no clue as to what might be the problem. Can anyone help a poor
newbie?

Regards,
Jesper Dalberg



More information about the asterisk-users mailing list