Hi everyone,

I'm trying to get calls to record with the following setup:
Using phpagi originate is called from a web application:
$asm->originate("Local/" . $row['extension'] . "@sip-standard",
$row['phone_number'], "sip-standard", "1", "", "", "7000");

The agent being called is extension Local/[EMAIL PROTECTED] and the number
originated for the agent is [EMAIL PROTECTED]

MixMonitor records fine up until 100 answers then the recording stops, but
the CLI output suggests that the call is still being recorded...

extensions.conf and CLI output below...

Anyone have any ideas?


extensions.conf:
exten => 100,1,MixMonitor(test.wav)
exten => 100,2,Dial(SIP/${EXTEN})

exten => _1XX,1,Dial(SIP/${EXTEN})

Output from CLI:
  == Manager 'amis' logged on from 192.168.0.180
    -- Executing [EMAIL PROTECTED]:1] Dial("Local/[EMAIL PROTECTED],2",
"SIP/101") in new stack
    -- Called 101
    -- SIP/101-096f7ff8 is ringing
    -- SIP/101-096f7ff8 answered Local/[EMAIL PROTECTED],2
    -- Executing [EMAIL PROTECTED]:1]
MixMonitor("Local/[EMAIL PROTECTED],1", "test.wav") in new stack
  == Begin MixMonitor Recording Local/[EMAIL PROTECTED],1
    -- Executing [EMAIL PROTECTED]:2] Dial("Local/[EMAIL PROTECTED],1",
"SIP/100") in new stack
    -- Called 100
    -- Local/[EMAIL PROTECTED],1 requested special control 20, passing
it to SIP/100-09706218
  == Manager 'amis' logged off from 192.168.0.180
  == Spawn extension (sip-standard, 101, 1) exited non-zero on
'Local/[EMAIL PROTECTED],2'
    -- SIP/100-09706218 is ringing
    -- SIP/100-09706218 answered SIP/101-096f7ff8
  == Spawn extension (sip-standard, 100, 3) exited non-zero on
'SIP/101-096f7ff8'
  == End MixMonitor Recording Local/[EMAIL PROTECTED],1

Cheers

Geraint
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to