mira esta es la consola, y la verdad no veo la ejecucion de comando monitor
yo llamo de extension 501 a la 500 y quiero que la 500
sea la que grabe
[root@VoIP root]# asterisk -r
Asterisk 1.0.9, Copyright (C) 1999-2004 Digium.
Connected to Asterisk 1.0.9 currently running on VoIP (pid = 2258)
Verbosity is at least 3
VoIPCLI>
VoIPCLI>
-- Executing Macro("SIP/501-8426", "exten-vm|500@default|500") in new stack
-- Executing SetVar("SIP/501-8426", "FROMCONTEXT=exten-vm") in new stack
-- Executing Macro("SIP/501-8426", "record-enable|500|IN") in new stack
-- Executing GotoIf("SIP/501-8426", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing GotoIf("SIP/501-8426", "0?5:8") in new stack
-- Goto (macro-record-enable,s,8)
-- Executing GotoIf("SIP/501-8426", "0?9:12") in new stack
-- Goto (macro-record-enable,s,12)
-- Executing DBget("SIP/501-8426", "RecEnable=RECORD-IN/500") in new stack
-- DBget: varname=RecEnable, family=RECORD-IN, key=500
-- DBget: Value not found in database.
-- Executing SetVar("SIP/501-8426", "CALLFILENAME=20050923-174223-1127511743
.23") in new stack
-- Executing GotoIf("SIP/501-8426", "0?15:99") in new stack
-- Goto (macro-record-enable,s,99)
-- Executing NoOp("SIP/501-8426", "NO RECORDING NEEDED") in new stack
-- Executing Macro("SIP/501-8426", "dial|15|tr|500") in new stack
-- Executing GotoIf("SIP/501-8426", "0?4:2") in new stack
-- Goto (macro-dial,s,2)
-- Executing GotoIf("SIP/501-8426", "0?4:3") in new stack
-- Goto (macro-dial,s,3)
-- Executing SetCIDName("SIP/501-8426", "SIP_SOS(5.1)") in new stack
-- Executing AGI("SIP/501-8426", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
-- dialparties.agi: request = dialparties.agi
-- dialparties.agi: priority = 4
-- dialparties.agi: extension = s
-- dialparties.agi: language = en
-- dialparties.agi: accountcode =
-- dialparties.agi: uniqueid = 1127511743.23
-- dialparties.agi: channel = SIP/501-8426
-- dialparties.agi: callerid = SIP_SOS(5.1) <501>
-- dialparties.agi: context = macro-dial
-- dialparties.agi: type = SIP
-- dialparties.agi: rdnis = unknown
-- dialparties.agi: enhanced = 0.0
-- dialparties.agi: dnid = 500
dialparties.agi: Caller ID name is 'SIP_SOS(5.1)' number is '501'
-- dialparties.agi: Added extension 500 to extension map
-- dialparties.agi: Extension 500 cf is disabled
-- dialparties.agi: Extension 500 do not disturb is disabled
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
== Manager 'admin' logged off from 127.0.0.1
dialparties.agi: Extension 500 has call waiting disabled
-- dialparties.agi: DbSet CALLTRACE/500 to 501
dialparties.agi: Dial string is SIP/500|15|tr
-- AGI Script dialparties.agi completed, returning 0
-- Executing Dial("SIP/501-8426", "SIP/500|15|tr") in new stack
-- Called 500
-- SIP/500-485e is ringing
-- SIP/500-485e answered SIP/501-8426
-- Attempting native bridge of SIP/501-8426 and SIP/500-485e
-- Attempting native bridge of SIP/501-8426 and SIP/500-485e
-- Attempting native bridge of SIP/501-8426 and SIP/500-485e
-- Attempting native bridge of SIP/501-8426 and SIP/500-485e
== Spawn extension (macro-dial, s, 10) exited non-zero on 'SIP/501-8426' in ma
cro 'dial'
== Spawn extension (macro-exten-vm, s, 3) exited non-zero on 'SIP/501-8426' in
macro 'exten-vm'
== Spawn extension (from-internal, 500, 1) exited non-zero on 'SIP/501-8426'
-- Executing Macro("SIP/501-8426", "hangupcall") in new stack
-- Executing ResetCDR("SIP/501-8426", "w") in new stack
-- Executing NoCDR("SIP/501-8426", "") in new stack
-- Executing Wait("SIP/501-8426", "5") in new stack
-- Executing Hangup("SIP/501-8426", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/501-8426'
in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/501-8426'
VoIPCLI>
VoIPCLI>