Hi everyone,
We have set “always” (record incoming and outgoing calls) on extension 300, and “on demmand” (incoming and outgoing calls)on extension 301.
When we make a call to an outside number or it get a call from an outside number it records the call.
When extensions 300 get a call from extension 301 the call it’s also recorded, but, when 300 calls to 301 that call is not recorded.
It’s possible to record thats calls having “on demmand” set on extension 301.
We don’t need any other records on ext 301, except calls from ext 300
I attach part of cli output.
-- Executing [s@macro-exten-vm:6] Set("SIP/300-b63b36b0", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/300-b63b36b0", "RT=50") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/300-b63b36b0", "record-enable|301|IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/300-b63b36b0", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/300-b63b36b0", "recordingcheck|20100421-115131|1271843491.43436") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20100421-115131|1271843491.43436: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/300-b63b36b0", "") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/300-b63b36b0", "dial|50|TWtwr|301") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/300-b63b36b0", "1?dial") in new stack
Sorry for my english,
Regards / Salut!