Trying to set up trixbox with just sip extentions

hamgoomer
Posts: 3
Member Since:
2010-01-23

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
-- AGI Script recordingcheck completed, returning 0
-- 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
-- AGI Script dialparties.agi completed, returning 0
-- 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
-- Playing 'vm-theperson.gsm' (language 'en')
-- Playing 'digits/2.gsm' (language 'en')
-- Playing 'digits/0.gsm' (language 'en')
-- Playing 'digits/1.gsm' (language 'en')
-- Playing 'vm-isunavail.gsm' (language 'en')
-- Playing 'vm-intro.gsm' (language 'en')
-- Playing 'beep.gsm' (language 'en')
-- 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



SkykingOH
Posts: 9678
Member Since:
2007-12-17
Are the softphones and the

Are the softphones and the trixbox on the same network?

Are the phones registered (sip show peers)?

If the phones are not on the same network have you setup NAT and your firewall correctly?

I suggest you read the thread entitled "we are not dentists" and "how to ask for help"

--

Scott

aka "Skyking"



hamgoomer
Posts: 3
Member Since:
2010-01-23
They are on the same

They are on the same network.

trixbox1*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
210 (Unspecified) D N A 5060 UNKNOWN
201 (Unspecified) D N A 5060 UNKNOWN
200 (Unspecified) D N A 5060 UNKNOWN
3 sip peers [Monitored: 0 online, 3 offline Unmonitored: 0 online, 0 offline]
trixbox1*CLI>

I notice that it says 0 online even though I have the soft phone for extension 201 up and running on this machine right now.

I tried doing the above command while I was attempting to call another extension, but it still showed 0 online.

How can it be offline if it is the process of making a call?

I will check out those other posts you mentioned.

Thanks,
Rod



SkykingOH
Posts: 9678
Member Since:
2007-12-17
What are your settings on

What are your settings on the account settings of the soft phone?

--

Scott

aka "Skyking"



hamgoomer
Posts: 3
Member Since:
2010-01-23
Scott, " Thanks for your

Scott,
"
Thanks for your help. My problem was that I didn't have the "register with domain" button clicked on the soft phone. When I saw the word "domain" I thought they were talking about Windows domain controller.

I am fixed and working now. Thanks so much for your help.

Rod



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.