It's been a while.. but anyway I've got the start of the log file for an incoming call.
To recap, I'm trying to record calls - it works fine for outgoing and stores them in /var/spool/asterisk/monout as wav files, but no sign of the incoming calls. I have the Call Recording System Default set to BOTH and all extensions and call groups have the recording option set to default.
== Parsing '/etc/asterisk/asterisk.conf': == Found
[0;37m[1;30m == [0mParsing '/etc/asterisk/extconfig.conf': [1;30m == [0mFound
[0mConnected to Asterisk 1.8.7.0 currently running on voip01 (pid = 4068)
voip01*CLI>
[0KVerbosity is at least 28
[Kvoip01*CLI>
[0K -- Accepting call from '07760278491' to '741389' on channel 0/1, span 1
-- Executing [741389@from-pstn:1] [1;36mAGI[0m("[1;35mDAHDI/i1/07760278491-363[0m", "[1;35msarkhpe,Inbound,741389,,[0m") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/sarkhpe
[Kvoip01*CLI>
[0K -- AGI Script Executing Application: (Set) Options: (CDR(userfield)=741389)
[Kvoip01*CLI>
[0K -- AGI Script Executing Application: (Wait) Options: (1)
[Kvoip01*CLI>
[0K -- Playing 'usergreeting0001' (escape_digits=123) (sample_offset 0)
[Kvoip01*CLI>
[0K -- <DAHDI/i1/07760278491-363>AGI Script sarkhpe completed, returning 0
-- Executing [1002@extensions:1] [1;36mAGI[0m("[1;35mDAHDI/i1/07760278491-363[0m", "[1;35msarkhpe,Alias,SIP/6001 SIP/6002 SIP/6003 SIP/6005 SIP/6006 SIP/6007 SIP/6051,1002,[0m") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/sarkhpe
[Kvoip01*CLI>
[0K -- AGI Script Executing Application: (Set) Options: (CALLERID(rdnis)=1002)
[Kvoip01*CLI>
[0K -- AGI Script Executing Application: (Set) Options: (__filename=1409829441-1002-07760278491.wav)
[Kvoip01*CLI>
[0K -- AGI Script Executing Application: (Set) Options: (__channame=DAHDI/i1/07760278491-363)
[Kvoip01*CLI>
[0K -- AGI Script Executing Application: (Monitor) Options: (wav,1409829441-1002-07760278491,mb)
[Kvoip01*CLI>
[0K -- AGI Script Executing Application: (Dial) Options: (SIP/6001&SIP/6002&SIP/6003&SIP/6005&SIP/6006&SIP/6007&SIP/6051,40,ctI)
== Using SIP RTP CoS mark 5
-- Called SIP/6001
== Using SIP RTP CoS mark 5
-- Called SIP/6002
== Using SIP RTP CoS mark 5
-- Called SIP/6003
== Using SIP RTP CoS mark 5
-- Called SIP/6005
== Using SIP RTP CoS mark 5
-- Called SIP/6006
== Using SIP RTP CoS mark 5
-- Called SIP/6007
== Using SIP RTP CoS mark 5
-- Called SIP/6051
-- Connected line update to DAHDI/i1/07760278491-363 prevented.
-- Connected line update to DAHDI/i1/07760278491-363 prevented.
-- Connected line update to DAHDI/i1/07760278491-363 prevented.
-- Connected line update to DAHDI/i1/07760278491-363 prevented.
-- Connected line update to DAHDI/i1/07760278491-363 prevented.
-- Connected line update to DAHDI/i1/07760278491-363 prevented.
-- Connected line update to DAHDI/i1/07760278491-363 prevented.
[Kvoip01*CLI>
[0K
[Sep 4 12:17:21] [1;31mWARNING[0m[29883]: [1;37mchan_sip.c[0m:[1;37m6343[0m [1;37msip_write[0m: Asked to transmit frame type alaw, while native formats is 0x100 (g729) read/write = 0x100 (g729)/0x100 (g729)