I have been trying to setup a small Asterisk system to try it out.
I do not have telephone hardware or a VoIP SIP provider. I am just trying to set up extensions between soft phones running on my Windows XP PCs. The soft phone software I am using is X-Lite Version 3.0 Build 56125.
I have installed and configured trixbox 2.8.0 with 2 extensions and I have enabled voice mail.
When I try to call the 201 extension from the 200 extension I get an message saying that the person at extension 201 is unavailable please leave a message.
I get the same thing when calling the other way (201 to 200).
I have turned off the firewall on both Windows systems.
Below is the debugging information I get from the asterisk console:
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Executing [201@from-internal:1] Macro("SIP/200-09813c88", "exten-vm,201,201") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/200-09813c88", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/200-09813c88", "AMPUSER=200") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/200-09813c88", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/200-09813c88", "1?Set(REALCALLERIDNUM=200)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/200-09813c88", "AMPUSER=200") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/200-09813c88", "AMPUSERCIDNAME=Rod Office") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/200-09813c88", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/200-09813c88", "AMPUSERCID=200") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/200-09813c88", "CALLERID(all)="Rod Office" ") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/200-09813c88", "REALCALLERIDNUM=200") in new stack
-- Executing [s@macro-user-callerid:10] ExecIf("SIP/200-09813c88", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/200-09813c88", "0?continue") in new stack
-- Executing [s@macro-user-callerid:12] Set("SIP/200-09813c88", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("SIP/200-09813c88", "1?continue") in new stack
-- Goto (macro-user-callerid,s,20)
-- Executing [s@macro-user-callerid:20] NoOp("SIP/200-09813c88", "Using CallerID "Rod Office" ") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/200-09813c88", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/200-09813c88", "VMBOX=201") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/200-09813c88", "EXTTOCALL=201") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/200-09813c88", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/200-09813c88", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/200-09813c88", "RT=15") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/200-09813c88", "record-enable,201,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/200-09813c88", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/200-09813c88", "recordingcheck,20100124-181614,1264374974.19") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck,20100124-181614,1264374974.19: Inbound recording not enabled
--
-- Executing [s@macro-record-enable:5] MacroExit("SIP/200-09813c88", "") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/200-09813c88", "dial,15,tr,201") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/200-09813c88", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/200-09813c88", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'Rod Office' number is '200'
> dialparties.agi: USE_CONFIRMATION: 'FALSE'
> dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 201 to extension map
-- dialparties.agi: Extension 201 cf is disabled
-- dialparties.agi: Extension 201 do not disturb is disabled
> dialparties.agi: extnum 201 has: cw: 1; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: ExtensionState: 0
-- dialparties.agi: dbset CALLTRACE/201 to 200
-- dialparties.agi: Filtered ARG3: 201
== Manager 'admin' logged off from 127.0.0.1
--
-- Executing [s@macro-dial:7] Dial("SIP/200-09813c88", "SIP/201,15,tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dial:8] Set("SIP/200-09813c88", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-dial:9] GosubIf("SIP/200-09813c88", "0?CHANUNAVAIL,1") in new stack
-- Executing [s@macro-exten-vm:10] GotoIf("SIP/200-09813c88", "0?exit,return") in new stack
-- Executing [s@macro-exten-vm:11] Set("SIP/200-09813c88", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:12] GosubIf("SIP/200-09813c88", "0?docfu,1") in new stack
-- Executing [s@macro-exten-vm:13] GosubIf("SIP/200-09813c88", "0?docfb,1") in new stack
-- Executing [s@macro-exten-vm:14] Set("SIP/200-09813c88", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:15] NoOp("SIP/200-09813c88", "Voicemail is '201'") in new stack
-- Executing [s@macro-exten-vm:16] GotoIf("SIP/200-09813c88", "0?s-CHANUNAVAIL,1") in new stack
-- Executing [s@macro-exten-vm:17] NoOp("SIP/200-09813c88", "Sending to Voicemail box 201") in new stack
-- Executing [s@macro-exten-vm:18] Macro("SIP/200-09813c88", "vm,201,CHANUNAVAIL,") in new stack
-- Executing [s@macro-vm:1] Macro("SIP/200-09813c88", "user-callerid,SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/200-09813c88", "AMPUSER=200") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/200-09813c88", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/200-09813c88", "0?Set(REALCALLERIDNUM=200)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/200-09813c88", "AMPUSER=200") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/200-09813c88", "AMPUSERCIDNAME=Rod Office") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/200-09813c88", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/200-09813c88", "AMPUSERCID=200") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/200-09813c88", "CALLERID(all)="Rod Office" ") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/200-09813c88", "REALCALLERIDNUM=200") in new stack
-- Executing [s@macro-user-callerid:10] ExecIf("SIP/200-09813c88", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/200-09813c88", "1?continue") in new stack
-- Goto (macro-user-callerid,s,20)
-- Executing [s@macro-user-callerid:20] NoOp("SIP/200-09813c88", "Using CallerID "Rod Office" ") in new stack
-- Executing [s@macro-vm:2] Set("SIP/200-09813c88", "VMGAIN=""") in new stack
-- Executing [s@macro-vm:3] GotoIf("SIP/200-09813c88", "1?vmx,1") in new stack
-- Goto (macro-vm,vmx,1)
-- Executing [vmx@macro-vm:1] GotoIf("SIP/200-09813c88", "0?s-CHANUNAVAIL,1") in new stack
-- Executing [vmx@macro-vm:2] Set("SIP/200-09813c88", "MODE=unavail") in new stack
-- Executing [vmx@macro-vm:3] GotoIf("SIP/200-09813c88", "1?notdirect") in new stack
-- Goto (macro-vm,vmx,5)
-- Executing [vmx@macro-vm:5] NoOp("SIP/200-09813c88", "Checking if ext 201 is enabled: ") in new stack
-- Executing [vmx@macro-vm:6] GotoIf("SIP/200-09813c88", "1?s-CHANUNAVAIL,1") in new stack
-- Goto (macro-vm,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-vm:1] Macro("SIP/200-09813c88", "get-vmcontext,201") in new stack
-- Executing [s@macro-get-vmcontext:1] Set("SIP/200-09813c88", "VMCONTEXT=default") in new stack
-- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/200-09813c88", "0?200:300") in new stack
-- Goto (macro-get-vmcontext,s,300)
-- Executing [s@macro-get-vmcontext:300] NoOp("SIP/200-09813c88", "") in new stack
-- Executing [s-CHANUNAVAIL@macro-vm:2] VoiceMail("SIP/200-09813c88", "201@default,u""") in new stack
--
--
--
--
--
--
--
-- Recording the message
-- x=0, open writing: /var/spool/asterisk/voicemail/default/201/tmp/oKPpLE format: wav49, 0x9aaeba0
-- x=1, open writing: /var/spool/asterisk/voicemail/default/201/tmp/oKPpLE format: gsm, 0x97ef300
-- x=2, open writing: /var/spool/asterisk/voicemail/default/201/tmp/oKPpLE format: wav, 0x96d8e20
-- User hung up
== Spawn extension (macro-vm, s-CHANUNAVAIL, 2) exited non-zero on 'SIP/200-09813c88' in macro 'vm'
== Spawn extension (macro-exten-vm, s, 18) exited non-zero on 'SIP/200-09813c88' in macro 'exten-vm'
== Spawn extension (from-internal, 201, 1) exited non-zero on 'SIP/200-09813c88'
-- Executing [h@from-internal:1] Macro("SIP/200-09813c88", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/200-09813c88", "vw") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/200-09813c88", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/200-09813c88", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/200-09813c88", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/200-09813c88", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/200-09813c88", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/200-09813c88' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/200-09813c88'
trixbox1*CLI>
Any help would be appreciated.
Thanks,
Rod

Member Since:
2010-01-23