asterisk 1.4.18
freepbx 2.4.0.0
In extension config if I set "Record Outgoing=Always"
it’s everything ok with calls to external numbers through trunk
they are recorded
but if i dial to another local extension there is no recording
in first case in debug output I see than calling extension recording settings are checked (232 is my ext, 400898 ext number)
-- Executing [400898@from-internal:3] Macro("SIP/232-09c37720", "record-enable|232|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/232-09c37720", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/232-09c37720", "recordingcheck|20080307-155718|1204873038.31") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080307-155718|1204873038.31: Outbound recording enabled.
recordingcheck|20080307-155718|1204873038.31: CALLFILENAME=OUT232-20080307-155718-1204873038.31
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:999] MixMonitor("SIP/232-09c37720", "OUT232-20080307-155718-1204873038.31.wav") in new stack
-- Executing [400898@from-internal:4] Macro("SIP/232-09c37720", "dialout-trunk|3|400898||") in new stack
in second only called ext recording settings are checked resulting no recording (my ext 232 i’m calling 202)
-- Executing [s@macro-exten-vm:8] Macro("SIP/232-09c82ae0", "record-enable|202|IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/232-09c82ae0", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/232-09c82ae0", "recordingcheck|20080307-160218|1204873338.33") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080307-160218|1204873338.33: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("SIP/232-09c82ae0", "No recording needed") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/232-09c82ae0", "dial||tr|202") in new stack
have no time right now to seek for cause of such strange behavior in guts of dialplan
may be later next week
any ideas?