[asterisk-users] Newbie One-touch Recording: Does not work (more info)

Lee, John (Sydney) John.Lee at compuware.com
Wed Mar 12 23:59:00 CDT 2008


I thought it was quite easy to implement but I cannot get one-touch
recording to work.  Here are the changes what I did:

I restarted Asterisk after the change (because reload does not work for
changes in features.conf).
I press *1 on the Polycom IP600 phone to record a conversation but no
new wav file appear in /var/spool/asterisk/monitor or elsewhere.

Test A: Outside line calling in
===============================
1) No matter how many times I press "*1", no recording can be made.

Test B: Internal extension calling each other
=============================================
1) Have to press many times before a recording beep sound is heard
2) wav files are separated into in and out
3) There is msg saying " nice: soxmix: No such file or directory"
   I think soxmix is used to combine in and out together.

Any suggestions?

console log (Test A) - Outside line calling in
==============================================
-- Accepting call from '298741000' to '98553166' on channel 0/10, span 1
-- Executing [98553166 at default:1] Macro("Zap/10-1",
"stdexten|5166|5166") in new stack
-- Executing [s at macro-stdexten:1] SetMusicOnHold("Zap/10-1", "cpwr") in
new stack
-- Executing [s at macro-stdexten:2] Set("Zap/10-1",
"DYNAMIC_FEATURES=automon") in new stack
-- Executing [s at macro-stdexten:3] Dial("Zap/10-1", "SIP/5166|20|wW") in
new stack
-- Called 5166
-- SIP/5166-0930f2d0 is ringing
-- SIP/5166-0930f2d0 answered Zap/10-1
== Spawn extension (macro-stdexten, s, 3) exited non-zero on 'Zap/10-1'
in macro 'stdexten'
== Spawn extension (macro-stdexten, s, 3) exited non-zero on 'Zap/10-1'
-- Hungup 'Zap/10-1'

console log (Test B) - Internal extension calling each other
============================================================
*CLI>     -- Executing [5143 at default:1] Macro("SIP/5166-08e78508",
"stdexten|5143|5143") in new stack
-- Executing [s at macro-stdexten:1] SetMusicOnHold("SIP/5166-08e78508",
"cpwr") in new stack
-- Executing [s at macro-stdexten:2] Set("SIP/5166-08e78508",
"DYNAMIC_FEATURES=automon") in new stack
-- Executing [s at macro-stdexten:3] Dial("SIP/5166-08e78508",
"SIP/5143|20|wW") in new stack
    -- Called 5143
    -- SIP/5143-08e744f8 is ringing
    -- SIP/5143-08e744f8 answered SIP/5166-08e78508
    -- Packet2Packet bridging SIP/5166-08e78508 and SIP/5143-08e744f8
    -- Packet2Packet bridging SIP/5166-08e78508 and SIP/5143-08e744f8
    -- Packet2Packet bridging SIP/5166-08e78508 and SIP/5143-08e744f8
    -- Packet2Packet bridging SIP/5166-08e78508 and SIP/5143-08e744f8
    -- Packet2Packet bridging SIP/5166-08e78508 and SIP/5143-08e744f8
    -- Packet2Packet bridging SIP/5166-08e78508 and SIP/5143-08e744f8
    -- <SIP/5166-08e78508> Playing 'beep' (language 'en')
    -- User hit '*1' to record call. filename:
wav|auto-1205383934-5166-5143|m
== Spawn extension (macro-stdexten, s, 3) exited non-zero on
'SIP/5166-08e78508' in macro 'stdexten'
== Spawn extension (macro-stdexten, s, 3) exited non-zero on
'SIP/5166-08e78508'
nice: soxmix: No such file or directory

extensions.conf
===============
[macro-stdexten];
; Standard extension macro:
;   ${ARG1} - Extension  (we could have used ${MACRO_EXTEN} here as well
;   ${ARG2} - Device(s) to ring
exten => s,1,SetMusicOnHold(cpwr)
exten => s,2,Set(DYNAMIC_FEATURES=automon)      
exten => s,3,Dial(SIP/${ARG2},20,wW)
exten => s,4,Goto(s-${DIALSTATUS},1)            
exten => s-NOANSWER,1,Voicemail(${ARG1},u)
exten => s-NOANSWER,2,Goto(default,s,1)
exten => s-BUSY,1,Voicemail(${ARG1},b)
exten => s-BUSY,2,Goto(default,s,1)
exten => _s-.,1,Goto(s-NOANSWER,1)              
exten => a,1,VoicemailMain(${ARG1})

features.conf
=============
[general]
parkext => 700
parkpos => 701-720
context => parkedcalls
courtesytone = beep
parkedplay = both
parkedmusicclass=cpwr

[featuremap]
automon => *1




More information about the asterisk-users mailing list