Hey folks,
I've got a bit of a problem with my asterisk installation. I've had to move
from a dedicated P4 (dell!) desktop that was running one of the last versions
of AAH, and I'm now running asterisk ( 1.2.7.1 from apt ) on my Ubuntu 64 bit
server.
Both systems had a tdm-400 board in them with one incoming and one outgoing
line - both boards have been set up the same. I can dial out locally any to the
UK with no problem.
However, incoming calls are a bit different! I have it set up so that all
incoming calls are directed to the real phone, and they get redirected to that
extension. I can see that's working fine. However, this extension is always
marked as busy. I've tried swapping phones, and that's no help.
On the hardware side, I've checked that the external power is connected to the
board, and on the software side,
Ext 202 is configured in the [ext-local] block of extensions_additional.conf as
exten => 202,1,Macro(exten-vm,202,202)
exten => 202,hint,ZAP/1
exten => ${VM_PREFIX}202,1,Macro(vm,202)
I've also tried a different phone on the extension.
Dialling out form the 'real' phone.
-- Starting simple switch on 'Zap/1-1'
-- Executing Macro("Zap/1-1", "dialout-trunk|1|xxxxxxx|") in new stack
-- Executing GotoIf("Zap/1-1", "1?3:2") in new stack
-- Goto (macro-dialout-trunk,s,3)
-- Executing Macro("Zap/1-1", "user-callerid") in new stack
-- Executing Set("Zap/1-1", "AMPUSER=") in new stack
-- Executing Set("Zap/1-1", "EMERGENCYCID=") in new stack
-- Executing Set("Zap/1-1", "AMPUSERCIDNAME=") in new stack
-- Executing GotoIf("Zap/1-1", "1?6") in new stack
-- Goto (macro-user-callerid,s,6)
-- Executing NoOp("Zap/1-1", "Using CallerID "Fixed" <202>") in new stack
-- Executing Macro("Zap/1-1", "record-enable|202|OUT") in new stack
-- Executing GotoIf("Zap/1-1", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("Zap/1-1", "recordingcheck|20061021-191603|1161411357.5")
in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("Zap/1-1", "No recording needed") in new stack
-- Executing Macro("Zap/1-1", "outbound-callerid|1") in new stack
-- Executing Set("Zap/1-1", "USEROUTCID=") in new stack
-- Executing GotoIf("Zap/1-1", "0?4") in new stack
-- Executing Set("Zap/1-1", "CALLERID(all)=03xxxxxxx") in new stack
-- Executing GotoIf("Zap/1-1", "1?6") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing GotoIf("Zap/1-1", "1?8") in new stack
-- Goto (macro-outbound-callerid,s,8)
-- Executing NoOp("Zap/1-1", "CallerID set to "" <03xxxxxxx>") in new stack
-- Executing Set("Zap/1-1", "GROUP()=OUT_1") in new stack
-- Executing GotoIf("Zap/1-1", "0?108") in new stack
-- Executing Set("Zap/1-1", "DIAL_NUMBER=xxxxxxx") in new stack
-- Executing Set("Zap/1-1", "DIAL_TRUNK=1") in new stack
-- Executing AGI("Zap/1-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("Zap/1-1", "OUTNUM=xxxxxxx") in new stack
-- Executing Set("Zap/1-1", "custom=ZAP/4") in new stack
-- Executing GotoIf("Zap/1-1", "0?16") in new stack
-- Executing Dial("Zap/1-1", "ZAP/4/xxxxxxx|120|W") in new stack
-- Called 4/xxxxxxx
-- Zap/4-1 answered Zap/1-1
-- Attempting native bridge of Zap/1-1 and Zap/4-1
-- Hungup 'Zap/4-1'
... Works a treat.
Incoming call...
-- Starting simple switch on 'Zap/4-1'
-- Executing Set("Zap/4-1", "FROM_DID=s") in new stack
-- Executing Set("Zap/4-1", "FAX_RX=system") in new stack
-- Executing Set("Zap/4-1", "[EMAIL PROTECTED]") in new stack
-- Executing Goto("Zap/4-1", "ext-local|202|1") in new stack
-- Goto (ext-local,202,1)
-- Executing Macro("Zap/4-1", "exten-vm|202|202") in new stack
-- Executing Macro("Zap/4-1", "user-callerid") in new stack
-- Executing Set("Zap/4-1", "AMPUSER=") in new stack
-- Executing Set("Zap/4-1", "EMERGENCYCID=") in new stack
-- Executing Set("Zap/4-1", "AMPUSERCIDNAME=") in new stack
-- Executing GotoIf("Zap/4-1", "1?6") in new stack
-- Goto (macro-user-callerid,s,6)
-- Executing NoOp("Zap/4-1", "Using CallerID "" <>") in new stack
-- Executing Set("Zap/4-1", "FROMCONTEXT=exten-vm") in new stack
-- Executing Macro("Zap/4-1", "record-enable|202|IN") in new stack
-- Executing GotoIf("Zap/4-1", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("Zap/4-1", "recordingcheck|20061021-191843|1161411521.7")
in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("Zap/4-1", "No recording needed") in new stack
-- Executing Macro("Zap/4-1", "dial|15|tr|202") in new stack
-- Executing AGI("Zap/4-1", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
-- AGI Script dialparties.agi completed, returning 0
-- Executing NoOp("Zap/4-1", "Returned from dialparties with no extensions
to call") in new stack
-- Executing Set("Zap/4-1", "DIALSTATUS=BUSY") in new stack
-- Executing GotoIf("Zap/4-1", "0?s-BUSY|1") in new stack
-- Executing GotoIf("Zap/4-1", "0?s-BUSY|1") in new stack
-- Executing NoOp("Zap/4-1", "Sending to Voicemail box 202") in new stack
-- Executing Macro("Zap/4-1", "vm|202|BUSY") in new stack
-- Executing Macro("Zap/4-1", "user-callerid") in new stack
-- Executing Set("Zap/4-1", "AMPUSER=") in new stack
-- Executing Set("Zap/4-1", "EMERGENCYCID=") in new stack
-- Executing Set("Zap/4-1", "AMPUSERCIDNAME=") in new stack
-- Executing GotoIf("Zap/4-1", "1?6") in new stack
-- Goto (macro-user-callerid,s,6)
-- Executing NoOp("Zap/4-1", "Using CallerID "" <>") in new stack
-- Executing Goto("Zap/4-1", "s-BUSY|1") in new stack
-- Goto (macro-vm,s-BUSY,1)
-- Executing Macro("Zap/4-1", "get-vmcontext|202") in new stack
-- Executing Set("Zap/4-1", "VMCONTEXT=") in new stack
-- Executing GotoIf("Zap/4-1", "1?200:300") in new stack
-- Goto (macro-get-vmcontext,s,200)
-- Executing Set("Zap/4-1", "VMCONTEXT=default") in new stack
-- Executing VoiceMail("Zap/4-1", "[EMAIL PROTECTED]") in new stack
-- Playing 'vm-theperson' (language 'en')
-- Playing 'digits/2' (language 'en')
-- Playing 'digits/0' (language 'en')
-- Playing 'digits/2' (language 'en')
-- Playing 'vm-isonphone' (language 'en')
-- Playing 'vm-intro' (language 'en')
-- Playing 'beep' (language 'en')
-- Recording the message
-- x=0, open writing:
/var/spool/asterisk/voicemail/default/202/INBOX/msg0004 format: wav49, 0x743ed0
-- x=1, open writing:
/var/spool/asterisk/voicemail/default/202/INBOX/msg0004 format: wav, 0x744330
-- Recording automatically stopped after a silence of 5 seconds
-- Playing 'auth-thankyou' (language 'en')
-- Playing 'vm-review' (language 'en')
-- Playing 'vm-reachoper' (language 'en')
Has anyone any ideas what might be wrong???
Cheers,
Steve