[Asterisk-Users] hang up when going to voicemail

Matthew Simpson matthew at txlink.net
Fri Jul 23 08:33:32 MST 2004


I have a little menu set up where hitting 1, 2, or 3 places the call through
to a cellular phone over IAX.  That works.  However, if caller hits 4 to go
into voicemail, the system hangs up.  Am I doing something wrong in the dial
plan, or is this a CVS change?  I had no trouble with this until I upgraded
to about 07/21 CVS, and I'm on 07/23 [latest] now with same results.

My dial plan:
[txlink]
exten => s,1,Answer
exten => s,2,Background(/txlink/txlink-main)
exten => 1,1,Dial(IAX2/####:####@####/12149490280)
exten => 1,2,Hangup
exten => 2,1,Dial(IAX2/####:####@####/14693373687)
exten => 2,2,Hangup
exten => 3,1,Dial(IAX2/####:####@####/18174017579)
exten => 3,2,Hangup
exten => 4,1,VoiceMail(s2147649296)
exten => 4,2,Hangup
exten => t,1,Goto(txlink,s,2)
exten => i,1,Playback(invalid)

[didin]
exten => 2147649296,1,Dial(SIP/2147649296,15)
exten => 2147649296,2,Goto(txlink,s,1)
exten => 2147649296,3,Hangup

Here is console output:

    -- Executing Goto("SIP/2147649296-fb41", "txlink|s|1") in new stack
    -- Goto (txlink,s,1)
    -- Executing Answer("SIP/2147649296-fb41", "") in new stack
    -- Executing BackGround("SIP/2147649296-fb41", "/txlink/txlink-main") in
new stack
    -- Playing '/txlink/txlink-main' (language 'en')
  == CDR updated on SIP/2147649296-fb41
    -- Executing VoiceMail("SIP/2147649296-fb41", "s2147649296") in new
stack
    -- Executing Hangup("SIP/2147649296-fb41", "") in new stack
  == Spawn extension (txlink, 4, 2) exited non-zero on 'SIP/2147649296-fb41'




More information about the asterisk-users mailing list