Intermittint busy

jeffik

Joined
Feb 17, 2009
Messages
43
Likes
0
Points
0
#1
Hello, I have an SPA942, it has two exts on the same phone on the same server. Both are programmed exactly the same. the primary ext is ok. The second one works from time to time. But some times it goes to busy VM.

Here is the CLI. Any thoughts?

'SIP/250-b7b03090'' (type 'help == Spawn' for other possible commands)
-- Executing [422@from-internal:1] Macro("SIP/250-b7b07b48", "exten-vm|422|422") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/250-b7b07b48", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/250-b7b07b48", "AMPUSER=250") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/250-b7b07b48", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/250-b7b07b48", "1|Set|REALCALLERIDNUM=250") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/250-b7b07b48", "AMPUSER=250") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/250-b7b07b48", "AMPUSERCIDNAME=Jeff") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/250-b7b07b48", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/250-b7b07b48", "AMPUSERCID=250") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/250-b7b07b48", "CALLERID(all)="Jeff" <250>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/250-b7b07b48", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/250-b7b07b48", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/250-b7b07b48", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/250-b7b07b48", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/250-b7b07b48", "Using CallerID "Jeff" <250>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/250-b7b07b48", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/250-b7b07b48", "VMBOX=422") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/250-b7b07b48", "EXTTOCALL=422") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/250-b7b07b48", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/250-b7b07b48", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/250-b7b07b48", "RT=15") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/250-b7b07b48", "record-enable|422|IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/250-b7b07b48", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/250-b7b07b48", "recordingcheck|20100112-104432|1263311072.1072") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20100112-104432|1263311072.1072: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/250-b7b07b48", "") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/250-b7b07b48", "dial|15|tr|422") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/250-b7b07b48", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/250-b7b07b48", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'Jeff' number is '250'
dialparties.agi: USE_CONFIRMATION: 'FALSE'
dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 422 to extension map
-- dialparties.agi: Extension 422 cf is disabled
-- dialparties.agi: Extension 422 do not disturb is disabled
> dialparties.agi: extnum 422 has: cw: 1; hascfb: 0 [] hascfu: 0 []
dialparties.agi: ExtensionState: 0
-- dialparties.agi: dbset CALLTRACE/422 to 250
-- dialparties.agi: Filtered ARG3: 422
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/250-b7b07b48", "SIP/422|15|tr") in new stack
-- Called 422
-- Got SIP response 486 "Busy Here" back from 192.168.0.126
-- SIP/422-09f2f408 is busy
== Everyone is busy/congested at this time (1:1/0/0)
-- Executing [s@macro-dial:8] Set("SIP/250-b7b07b48", "DIALSTATUS=BUSY") in new stack
-- Executing [s@macro-dial:9] GosubIf("SIP/250-b7b07b48", "0?BUSY|1") in new stack
-- Executing [s@macro-exten-vm:10] GotoIf("SIP/250-b7b07b48", "0?exit|return") in new stack
-- Executing [s@macro-exten-vm:11] Set("SIP/250-b7b07b48", "SV_DIALSTATUS=BUSY") in new stack
-- Executing [s@macro-exten-vm:12] GosubIf("SIP/250-b7b07b48", "0?docfu|1") in new stack
-- Executing [s@macro-exten-vm:13] GosubIf("SIP/250-b7b07b48", "0?docfb|1") in new stack
-- Executing [s@macro-exten-vm:14] Set("SIP/250-b7b07b48", "DIALSTATUS=BUSY") in new stack
-- Executing [s@macro-exten-vm:15] NoOp("SIP/250-b7b07b48", "Voicemail is 422") in new stack
-- Executing [s@macro-exten-vm:16] GotoIf("SIP/250-b7b07b48", "0?s-BUSY|1") in new stack
-- Executing [s@macro-exten-vm:17] NoOp("SIP/250-b7b07b48", "Sending to Voicemail box 422") in new stack
-- Executing [s@macro-exten-vm:18] Macro("SIP/250-b7b07b48", "vm|422|BUSY|") in new stack
-- Executing [s@macro-vm:1] Macro("SIP/250-b7b07b48", "user-callerid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/250-b7b07b48", "AMPUSER=250") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/250-b7b07b48", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/250-b7b07b48", "0|Set|REALCALLERIDNUM=250") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/250-b7b07b48", "AMPUSER=250") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/250-b7b07b48", "AMPUSERCIDNAME=Jeff") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/250-b7b07b48", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/250-b7b07b48", "AMPUSERCID=250") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/250-b7b07b48", "CALLERID(all)="Jeff" <250>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/250-b7b07b48", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/250-b7b07b48", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/250-b7b07b48", "Using CallerID "Jeff" <250>") in new stack
-- Executing [s@macro-vm:2] Set("SIP/250-b7b07b48", "VMGAIN=""") in new stack
-- Executing [s@macro-vm:3] GotoIf("SIP/250-b7b07b48", "1?vmx|1") in new stack
-- Goto (macro-vm,vmx,1)
-- Executing [vmx@macro-vm:1] GotoIf("SIP/250-b7b07b48", "0?s-BUSY|1") in new stack
-- Executing [vmx@macro-vm:2] Set("SIP/250-b7b07b48", "MODE=busy") in new stack
-- Executing [vmx@macro-vm:3] GotoIf("SIP/250-b7b07b48", "1?notdirect") in new stack
-- Goto (macro-vm,vmx,5)
-- Executing [vmx@macro-vm:5] NoOp("SIP/250-b7b07b48", "Checking if ext 422 is enabled: ") in new stack
-- Executing [vmx@macro-vm:6] GotoIf("SIP/250-b7b07b48", "1?s-BUSY|1") in new stack
-- Goto (macro-vm,s-BUSY,1)
-- Executing [s-BUSY@macro-vm:1] NoOp("SIP/250-b7b07b48", "BUSY voicemail") in new stack
-- Executing [s-BUSY@macro-vm:2] Macro("SIP/250-b7b07b48", "get-vmcontext|422") in new stack
-- Executing [s@macro-get-vmcontext:1] Set("SIP/250-b7b07b48", "VMCONTEXT=default") in new stack
-- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/250-b7b07b48", "0?200:300") in new stack
-- Goto (macro-get-vmcontext,s,300)
-- Executing [s@macro-get-vmcontext:300] NoOp("SIP/250-b7b07b48", "") in new stack
-- Executing [s-BUSY@macro-vm:3] VoiceMail("SIP/250-b7b07b48", "422@default|b") in new stack
-- <SIP/250-b7b07b48> Playing '/var/spool/asterisk/voicemail/default/422/busy' (language 'en')
== Spawn extension (macro-vm, s-BUSY, 3) exited non-zero on 'SIP/250-b7b07b48' in macro 'vm'
== Spawn extension (macro-exten-vm, s, 18) exited non-zero on 'SIP/250-b7b07b48' in macro 'exten-vm'
== Spawn extension (from-internal, 422, 1) exited non-zero on 'SIP/250-b7b07b48'
-- Executing [h@from-internal:1] Macro("SIP/250-b7b07b48", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/250-b7b07b48", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/250-b7b07b48", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/250-b7b07b48", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/250-b7b07b48", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/250-b7b07b48' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#2
you say

. . . Both are programmed exactly the same . . .

this might be a problem as the invite is to ipaddress/port and basically "how would it know" which one to send it to, you need to use different SIP ports for each extension e.g. 5060 for one and 5061 for the other.
 

jeffik

Joined
Feb 17, 2009
Messages
43
Likes
0
Points
0
#3
Hi dicko, thanks for the reply, the first ext is 5060 and the second is 5061 also set in ext in elastix. Phone is on LAN with elastix.
 

jeffik

Joined
Feb 17, 2009
Messages
43
Likes
0
Points
0
#4
Now i am really confused. I just did a sip show peers and it's on port 5062.
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#5
Provided each different line button has a different sip port (all 4 if registering as individul extensions, no matter to which server they are registered) then it should just work It does for me anyway :)
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,900
Messages
130,884
Members
17,561
Latest member
marouen
Top