Open Source Training Seminar FreePBX Paid Support

Ticket #2966 (new Bugs)

Opened 1 month ago

Last modified 2 days ago

Call recording not working as expected

Reported by: errr Assigned to: p_lindheimer
Priority: minor Milestone: Cut Line
Component: Core Version: 2.4-branch
Keywords: Cc:
Confirmation: Unreviewed SVN Revision (if applicable):
Backend Engine: Asterisk 1.2.x Backend Engine Version:

Description

I have set always record incoming and outgoing calls on my extension. When I make a call to an outside number it will record the call, when I get a call from an outside number it will record the call. If I make a call to a local extension (example 100[me] -> 101) it will not record that call, same for if I get a call from a local exten (example 101 -> 100[me]) no recording happens.

Attachments

recordingcheck.diff (12.7 kB) - added by errr on 08/27/08 09:44:00.
extension.diff (0.7 kB) - added by errr on 08/27/08 09:44:24.

Change History

(follow-up: ↓ 2 ) 07/29/08 10:32:03 changed by lazytt

im assuming that extension 101 has recordings disabled. if im wrong (fat chance ;-) please attach a cli output

(in reply to: ↑ 1 ) 07/29/08 11:15:32 changed by fskrotzki

Replying to lazytt:

im assuming that extension 101 has recordings disabled. if im wrong (fat chance ;-) please attach a cli output

I can duplicate this issue also.

Both extensions have call recording enabled. External calls coming in will record just fine but calling from one extension to the other it will not.

07/29/08 11:39:00 changed by lazytt

Can we please get some cli? </end offended tone of voice>

07/29/08 11:39:58 changed by lazytt

(sarcastically, but you already new that ;-} )

(follow-up: ↓ 7 ) 07/29/08 12:45:28 changed by fskrotzki

Yep I knew that. I've been out of office for 8 days communing with the black bears and boy scouts so today I'm playing major league catch up at the moment. So it took some time to generate the test cases once I could get out of all my meetings and conference calls...

One issue is calling a extension with in set to on demand and both extensions set to record always on outbound, in this case it will fail. It's not using the value of "always" as a true state and or'ing the conditions of callee and caller along with setting who owns the recording with done correctly.

so in this example both extensions (112 and 789) are set for outbound=always, inbound=on demand, ext 789 calls 112

-- Executing Macro("SIP/789-b7b24010", "exten-vm|112|112") in new stack -- Executing Macro("SIP/789-b7b24010", "user-callerid") in new stack -- Executing NoOp?("SIP/789-b7b24010", "user-callerid: device 789") in new stack -- Executing Set("SIP/789-b7b24010", "AMPUSER=789") in new stack -- Executing GotoIf?("SIP/789-b7b24010", "0?report") in new stack -- Executing ExecIf?("SIP/789-b7b24010", "1|Set|REALCALLERIDNUM=789") in new stack -- Executing NoOp?("SIP/789-b7b24010", "REALCALLERIDNUM is 789") in new stack -- Executing Set("SIP/789-b7b24010", "AMPUSER=789") in new stack -- Executing Set("SIP/789-b7b24010", "AMPUSERCIDNAME=Test Phone") in new stack -- Executing GotoIf?("SIP/789-b7b24010", "0?report") in new stack -- Executing Set("SIP/789-b7b24010", "AMPUSERCID=789") in new stack -- Executing Set("SIP/789-b7b24010", "CALLERID(all)="Test Phone" <789>") in new stack -- Executing Set("SIP/789-b7b24010", "REALCALLERIDNUM=789") in new stack -- Executing ExecIf?("SIP/789-b7b24010", "0|Set|LANGUAGE()=") in new stack -- Executing NoOp?("SIP/789-b7b24010", "TTL: ARG1: 112") in new stack -- Executing GotoIf?("SIP/789-b7b24010", "0?continue") in new stack -- Executing Set("SIP/789-b7b24010", "TTL=64") in new stack -- Executing GotoIf?("SIP/789-b7b24010", "1?continue") in new stack -- Goto (macro-user-callerid,s,23) -- Executing NoOp?("SIP/789-b7b24010", "Using CallerID "Test Phone" <789>") in new stack -- Executing Set("SIP/789-b7b24010", "FROMCONTEXT=exten-vm") in new stack -- Executing Set("SIP/789-b7b24010", "VMBOX=112") in new stack -- Executing Set("SIP/789-b7b24010", "EXTTOCALL=112") in new stack -- Executing Set("SIP/789-b7b24010", "CFUEXT=") in new stack -- Executing Set("SIP/789-b7b24010", "CFBEXT=") in new stack -- Executing Set("SIP/789-b7b24010", "RT=20") in new stack -- Executing Macro("SIP/789-b7b24010", "record-enable|112|IN") in new stack -- Executing GotoIf?("SIP/789-b7b24010", "0?2:4") in new stack -- Goto (macro-record-enable,s,4) -- Executing AGI("SIP/789-b7b24010", "recordingcheck|20080729-152254|1217359374.2643") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck

recordingcheck|20080729-152254|1217359374.2643: Inbound recording not enabled

-- AGI Script recordingcheck completed, returning 0 -- Executing NoOp?("SIP/789-b7b24010", "No recording needed") in new stack -- Executing Macro("SIP/789-b7b24010", "dial|20|tr|112") in new stack -- Executing GotoIf?("SIP/789-b7b24010", "1?dial") in new stack -- Goto (macro-dial,s,3) -- Executing AGI("SIP/789-b7b24010", "dialparties.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi

dialparties.agi: Starting New Dialparties.agi dialparties.agi: Caller ID name is 'Test Phone' number is '789' dialparties.agi: Methodology of ring is 'none'

-- dialparties.agi: Added extension 112 to extension map -- dialparties.agi: Extension 112 cf is disabled -- dialparties.agi: Extension 112 do not disturb is disabled -- dialparties.agi: dbset CALLTRACE/112 to 789 -- dialparties.agi: Filtered ARG3: 112 -- AGI Script dialparties.agi completed, returning 0 -- Executing Dial("SIP/789-b7b24010", "SIP/112|20|tr") in new stack -- Called 112 -- SIP/112-08ddd1f8 is ringing

-- SIP/112-08ddd1f8 answered SIP/789-b7b24010

I would expect that there be TWO call recording checks. One for outbound first and if outbound is set to always it then owns enables and "Owns" the recording, then if there is NO outbound recording it then checks inbound recording. For the case of when both in and out are set to always I would expect it to do the following: trigger the outbound recording, when the call is complete it then copies the outbound from one extension to the inbound of the other extension so both have a copy (which is also does not do).

I also had it fail with both in and out set to always for both extensions two weeks ago. I thought I saved those call traces but I can't find them at this moment and can't make it happen right now either (but I had been very detailed and checked everything three times when I did have it happening to be sure). There seems to be a specific sequence that makes it happen and I can't remember what it is at this moment. When I can spend some time and duplicate it I'll post that as well if errr does not get to it first.

07/29/08 12:48:47 changed by fskrotzki

Damn I hate that (interesting there is no way to re-edit your post once submitted)

        -- Executing Macro("SIP/789-b7b24010", "exten-vm|112|112") in new stack
        -- Executing Macro("SIP/789-b7b24010", "user-callerid") in new stack
        -- Executing NoOp("SIP/789-b7b24010", "user-callerid: device 789") in new stack
        -- Executing Set("SIP/789-b7b24010", "AMPUSER=789") in new stack
        -- Executing GotoIf("SIP/789-b7b24010", "0?report") in new stack
        -- Executing ExecIf("SIP/789-b7b24010", "1|Set|REALCALLERIDNUM=789") in new stack
        -- Executing NoOp("SIP/789-b7b24010", "REALCALLERIDNUM is 789") in new stack
        -- Executing Set("SIP/789-b7b24010", "AMPUSER=789") in new stack
        -- Executing Set("SIP/789-b7b24010", "AMPUSERCIDNAME=Test Phone") in new stack
        -- Executing GotoIf("SIP/789-b7b24010", "0?report") in new stack
        -- Executing Set("SIP/789-b7b24010", "AMPUSERCID=789") in new stack
        -- Executing Set("SIP/789-b7b24010", "CALLERID(all)="Test Phone" <789>") in new stack
        -- Executing Set("SIP/789-b7b24010", "REALCALLERIDNUM=789") in new stack
        -- Executing ExecIf("SIP/789-b7b24010", "0|Set|LANGUAGE()=") in new stack
        -- Executing NoOp("SIP/789-b7b24010", "TTL:  ARG1: 112") in new stack
        -- Executing GotoIf("SIP/789-b7b24010", "0?continue") in new stack
        -- Executing Set("SIP/789-b7b24010", "__TTL=64") in new stack
        -- Executing GotoIf("SIP/789-b7b24010", "1?continue") in new stack
        -- Goto (macro-user-callerid,s,23)
        -- Executing NoOp("SIP/789-b7b24010", "Using CallerID "Test Phone" <789>") in new stack
        -- Executing Set("SIP/789-b7b24010", "FROMCONTEXT=exten-vm") in new stack
        -- Executing Set("SIP/789-b7b24010", "VMBOX=112") in new stack
        -- Executing Set("SIP/789-b7b24010", "EXTTOCALL=112") in new stack
        -- Executing Set("SIP/789-b7b24010", "CFUEXT=") in new stack
        -- Executing Set("SIP/789-b7b24010", "CFBEXT=") in new stack
        -- Executing Set("SIP/789-b7b24010", "RT=20") in new stack
        -- Executing Macro("SIP/789-b7b24010", "record-enable|112|IN") in new stack
        -- Executing GotoIf("SIP/789-b7b24010", "0?2:4") in new stack
        -- Goto (macro-record-enable,s,4)
        -- Executing AGI("SIP/789-b7b24010", "recordingcheck|20080729-152254|1217359374.2643") in new stack
        -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
      recordingcheck|20080729-152254|1217359374.2643: Inbound recording not enabled
        -- AGI Script recordingcheck completed, returning 0
        -- Executing NoOp("SIP/789-b7b24010", "No recording needed") in new stack
        -- Executing Macro("SIP/789-b7b24010", "dial|20|tr|112") in new stack
        -- Executing GotoIf("SIP/789-b7b24010", "1?dial") in new stack
        -- Goto (macro-dial,s,3)
        -- Executing AGI("SIP/789-b7b24010", "dialparties.agi") in new stack
        -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
      dialparties.agi: Starting New Dialparties.agi
      dialparties.agi: Caller ID name is 'Test Phone' number is '789'
      dialparties.agi: Methodology of ring is  'none'
        --  dialparties.agi: Added extension 112 to extension map
        --  dialparties.agi: Extension 112 cf is disabled
        --  dialparties.agi: Extension 112 do not disturb is disabled
        --  dialparties.agi: dbset CALLTRACE/112 to 789
        --  dialparties.agi: Filtered ARG3: 112
        -- AGI Script dialparties.agi completed, returning 0
        -- Executing Dial("SIP/789-b7b24010", "SIP/112|20|tr") in new stack
        -- Called 112
        -- SIP/112-08ddd1f8 is ringing
    -- SIP/112-08ddd1f8 answered SIP/789-b7b24010

(in reply to: ↑ 5 ) 07/29/08 14:10:40 changed by lazytt

Replying to fskrotzki:

> so in this example both extensions (112 and 789) are set for outbound=always, inbound=on demand, ext 789 calls 112

hmm, I always understood on demand to have something to do with *1. I'll have to have a closer look at this tomorrow. In the meantime - if you can change it to in=always, out=always and post the cli, that would be helpful. You may also want to up the verbose a bit so that the context is more visible. BTW, what version of freepbx are you on?

07/29/08 14:32:07 changed by fskrotzki

I'll not be able to do any more testing until tomarrow some time. I understand with on demand that you need to press a key pattern (on the side that it has it set for that) to start recording, BUT if the person placing the call (callee) has outbound recording "Always" enabled, calling a "on demand" or even "Never" caller it SHOULD do the recording for the callee without the need for a key pattern press.

07/29/08 19:33:17 changed by p_lindheimer

the issue that has been reported in the past (and I think there is a bug/request open) has to do with a call from extension a with always record outbound set not being recorded if extension b does not have always record inbound set - and the discussion on that ticket has to do with privacy concerns and who to honer. That's what I recall off the top of my head.

08/05/08 08:45:32 changed by errr

In this case 202 is record on demand for incoming and outgoing, and 231 is record always incoming and outgoing.

-- Executing Macro("SIP/231-b782e998", "user-callerid|") in new stack -- Executing NoOp?("SIP/231-b782e998", "user-callerid: device 231") in new stack -- Executing Set("SIP/231-b782e998", "AMPUSER=231") in new stack -- Executing GotoIf?("SIP/231-b782e998", "0?report") in new stack

Extension Changed 231 new state InUse? for Notify User 216

-- Executing ExecIf?("SIP/231-b782e998", "1|Set|REALCALLERIDNUM=231") in new stack -- Executing NoOp?("SIP/231-b782e998", "REALCALLERIDNUM is 231") in new stack

Extension Changed 231 new state InUse? for Notify User 279

-- Executing Set("SIP/231-b782e998", "AMPUSER=231") in new stack -- Executing Set("SIP/231-b782e998", "AMPUSERCIDNAME=Michael Rice") in new stack -- Executing GotoIf?("SIP/231-b782e998", "0?report") in new stack -- Executing Set("SIP/231-b782e998", "AMPUSERCID=231") in new stack -- Executing Set("SIP/231-b782e998", "CALLERID(all)="Michael Rice" <231>") in new stack -- Executing Set("SIP/231-b782e998", "REALCALLERIDNUM=231") in new stack -- Executing ExecIf?("SIP/231-b782e998", "0|Set|LANGUAGE()=") in new stack -- Executing NoOp?("SIP/231-b782e998", "TTL: ARG1: ") in new stack -- Executing GotoIf?("SIP/231-b782e998", "0?continue") in new stack -- Executing Set("SIP/231-b782e998", "TTL=64") in new stack -- Executing GotoIf?("SIP/231-b782e998", "1?continue") in new stack -- Goto (macro-user-callerid,s,23) -- Executing NoOp?("SIP/231-b782e998", "Using CallerID "Michael Rice" <231>") in new stack -- Executing System("SIP/231-b782e998", "forking --exten=202 --callidnum=231 --callidname="Michael Rice"") in new stack -- Executing Goto("SIP/231-b782e998", "ext-local|202|1") in new stack -- Goto (ext-local,202,1) -- Executing Macro("SIP/231-b782e998", "exten-vm|novm|202") in new stack -- Executing Macro("SIP/231-b782e998", "user-callerid") in new stack -- Executing NoOp?("SIP/231-b782e998", "user-callerid: Michael Rice 231") in new stack -- Executing Set("SIP/231-b782e998", "AMPUSER=231") in new stack -- Executing GotoIf?("SIP/231-b782e998", "0?report") in new stack -- Executing ExecIf?("SIP/231-b782e998", "0|Set|REALCALLERIDNUM=231") in new stack -- Executing NoOp?("SIP/231-b782e998", "REALCALLERIDNUM is 231") in new stack -- Executing Set("SIP/231-b782e998", "AMPUSER=231") in new stack -- Executing Set("SIP/231-b782e998", "AMPUSERCIDNAME=Michael Rice") in new stack -- Executing GotoIf?("SIP/231-b782e998", "0?report") in new stack -- Executing Set("SIP/231-b782e998", "AMPUSERCID=231") in new stack -- Executing Set("SIP/231-b782e998", "CALLERID(all)="Michael Rice" <231>") in new stack -- Executing Set("SIP/231-b782e998", "REALCALLERIDNUM=231") in new stack -- Executing ExecIf?("SIP/231-b782e998", "0|Set|LANGUAGE()=") in new stack -- Executing NoOp?("SIP/231-b782e998", "TTL: 64 ARG1: novm") in new stack -- Executing GotoIf?("SIP/231-b782e998", "0?continue") in new stack -- Executing Set("SIP/231-b782e998", "TTL=63") in new stack -- Executing GotoIf?("SIP/231-b782e998", "1?continue") in new stack -- Goto (macro-user-callerid,s,23) -- Executing NoOp?("SIP/231-b782e998", "Using CallerID "Michael Rice" <231>") in new stack -- Executing Set("SIP/231-b782e998", "FROMCONTEXT=exten-vm") in new stack -- Executing Set("SIP/231-b782e998", "VMBOX=novm") in new stack -- Executing Set("SIP/231-b782e998", "EXTTOCALL=202") in new stack -- Executing Set("SIP/231-b782e998", "CFUEXT=") in new stack -- Executing Set("SIP/231-b782e998", "CFBEXT=") in new stack -- Executing Set("SIP/231-b782e998", "RT=") in new stack -- Executing Macro("SIP/231-b782e998", "record-enable|202|IN") in new stack -- Executing GotoIf?("SIP/231-b782e998", "0?2:4") in new stack -- Goto (macro-record-enable,s,4) -- Executing AGI("SIP/231-b782e998", "recordingcheck|20080805-104147|1217950907.27305") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck

recordingcheck|20080805-104147|1217950907.27305: Inbound recording not enabled

-- AGI Script recordingcheck completed, returning 0 -- Executing NoOp?("SIP/231-b782e998", "No recording needed") in new stack

-- Executing Macro("SIP/231-b782e998", "dialtrw|202") in new stack -- Executing GotoIf?("SIP/231-b782e998", "1?dial") in new stack -- Goto (macro-dial,s,3) -- Executing AGI("SIP/231-b782e998", "dialparties.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi

dialparties.agi: Starting New Dialparties.agi == Parsing '/etc/asterisk/manager.conf': Found == Parsing '/etc/asterisk/manager_additional.conf': Found == Parsing '/etc/asterisk/manager_custom.conf': Found == Manager 'admin' logged on from 127.0.0.1 dialparties.agi: Caller ID name is 'Michael Rice' number is '231' dialparties.agi: USE_CONFIRMATION: 'FALSE' dialparties.agi: RINGGROUP_INDEX: dialparties.agi: Methodology of ring is 'none'

-- dialparties.agi: Added extension 202 to extension map -- dialparties.agi: Extension 202 cf is disabled -- dialparties.agi: Extension 202 do not disturb is disabled

> dialparties.agi: extnum 202 has: cw: 1; hascfb: 0 [] hascfu: 0 [] > dialparties.agi: ExtensionState?: 0

-- dialparties.agi: dbset CALLTRACE/202 to 231 -- dialparties.agi: Filtered ARG3: 202

== Manager 'admin' logged off from 127.0.0.1

-- AGI Script dialparties.agi completed, returning 0

-- Executing Dial("SIP/231-b782e998", "SIP/202trw") in new stack -- Called 202 -- SIP/202-08c33f48 is ringing -- SIP/202-08c33f48 is ringing -- SIP/202-08c33f48 is ringing -- SIP/202-08c33f48 answered SIP/231-b782e998

== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/231-b782e998' in macro 'dial' == Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/231-b782e998' in macro 'exten-vm' == Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/231-b782e998'

-- Executing Macro("SIP/231-b782e998", "hangupcall") in new stack -- Executing ResetCDR("SIP/231-b782e998", "w") in new stack -- Executing NoCDR("SIP/231-b782e998", "") in new stack -- Executing GotoIf?("SIP/231-b782e998", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,6) -- Executing GotoIf?("SIP/231-b782e998", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,9) -- Executing GotoIf?("SIP/231-b782e998", "1?theend") in new stack -- Goto (macro-hangupcall,s,11) -- Executing Hangup("SIP/231-b782e998", "") in new stack

== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/231-b782e998' in macro 'hangupcall' == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/231-b782e998'

Extension Changed 231 new state Idle for Notify User 216 Extension Changed 231 new state Idle for Notify User 279

08/05/08 08:49:12 changed by errr

    -- Executing Macro("SIP/231-b782e998", "user-callerid|") in new stack
    -- Executing NoOp("SIP/231-b782e998", "user-callerid: device 231") in new stack
    -- Executing Set("SIP/231-b782e998", "AMPUSER=231") in new stack
    -- Executing GotoIf("SIP/231-b782e998", "0?report") in new stack
 Extension Changed 231 new state InUse for Notify User 216
    -- Executing ExecIf("SIP/231-b782e998", "1|Set|REALCALLERIDNUM=231") in new stack
    -- Executing NoOp("SIP/231-b782e998", "REALCALLERIDNUM is 231") in new stack
 Extension Changed 231 new state InUse for Notify User 279
    -- Executing Set("SIP/231-b782e998", "AMPUSER=231") in new stack
    -- Executing Set("SIP/231-b782e998", "AMPUSERCIDNAME=Michael Rice") in new stack
    -- Executing GotoIf("SIP/231-b782e998", "0?report") in new stack
    -- Executing Set("SIP/231-b782e998", "AMPUSERCID=231") in new stack
    -- Executing Set("SIP/231-b782e998", "CALLERID(all)="Michael Rice" <231>") in new stack
    -- Executing Set("SIP/231-b782e998", "REALCALLERIDNUM=231") in new stack
    -- Executing ExecIf("SIP/231-b782e998", "0|Set|LANGUAGE()=") in new stack
    -- Executing NoOp("SIP/231-b782e998", "TTL:  ARG1: ") in new stack
    -- Executing GotoIf("SIP/231-b782e998", "0?continue") in new stack
    -- Executing Set("SIP/231-b782e998", "__TTL=64") in new stack
    -- Executing GotoIf("SIP/231-b782e998", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing NoOp("SIP/231-b782e998", "Using CallerID "Michael Rice" <231>") in new stack
    -- Executing System("SIP/231-b782e998", "forking --exten=202 --callidnum=231 --callidname="Michael Rice"") in new stack
    -- Executing Goto("SIP/231-b782e998", "ext-local|202|1") in new stack
    -- Goto (ext-local,202,1)
    -- Executing Macro("SIP/231-b782e998", "exten-vm|novm|202") in new stack
    -- Executing Macro("SIP/231-b782e998", "user-callerid") in new stack
    -- Executing NoOp("SIP/231-b782e998", "user-callerid: Michael Rice 231") in new stack
    -- Executing Set("SIP/231-b782e998", "AMPUSER=231") in new stack
    -- Executing GotoIf("SIP/231-b782e998", "0?report") in new stack
    -- Executing ExecIf("SIP/231-b782e998", "0|Set|REALCALLERIDNUM=231") in new stack
    -- Executing NoOp("SIP/231-b782e998", "REALCALLERIDNUM is 231") in new stack
    -- Executing Set("SIP/231-b782e998", "AMPUSER=231") in new stack
    -- Executing Set("SIP/231-b782e998", "AMPUSERCIDNAME=Michael Rice") in new stack
    -- Executing GotoIf("SIP/231-b782e998", "0?report") in new stack
    -- Executing Set("SIP/231-b782e998", "AMPUSERCID=231") in new stack
    -- Executing Set("SIP/231-b782e998", "CALLERID(all)="Michael Rice" <231>") in new stack
    -- Executing Set("SIP/231-b782e998", "REALCALLERIDNUM=231") in new stack
    -- Executing ExecIf("SIP/231-b782e998", "0|Set|LANGUAGE()=") in new stack
    -- Executing NoOp("SIP/231-b782e998", "TTL: 64 ARG1: novm") in new stack
    -- Executing GotoIf("SIP/231-b782e998", "0?continue") in new stack
    -- Executing Set("SIP/231-b782e998", "__TTL=63") in new stack
    -- Executing GotoIf("SIP/231-b782e998", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing NoOp("SIP/231-b782e998", "Using CallerID "Michael Rice" <231>") in new stack
    -- Executing Set("SIP/231-b782e998", "FROMCONTEXT=exten-vm") in new stack
    -- Executing Set("SIP/231-b782e998", "VMBOX=novm") in new stack
    -- Executing Set("SIP/231-b782e998", "EXTTOCALL=202") in new stack
    -- Executing Set("SIP/231-b782e998", "CFUEXT=") in new stack
    -- Executing Set("SIP/231-b782e998", "CFBEXT=") in new stack
    -- Executing Set("SIP/231-b782e998", "RT=") in new stack
    -- Executing Macro("SIP/231-b782e998", "record-enable|202|IN") in new stack
    -- Executing GotoIf("SIP/231-b782e998", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing AGI("SIP/231-b782e998", "recordingcheck|20080805-104147|1217950907.27305") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20080805-104147|1217950907.27305: Inbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing NoOp("SIP/231-b782e998", "No recording needed") in new stack
    -- Executing Macro("SIP/231-b782e998", "dial||trw|202") in new stack
    -- Executing GotoIf("SIP/231-b782e998", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing AGI("SIP/231-b782e998", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
  dialparties.agi: Starting New Dialparties.agi
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_additional.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
  == Manager 'admin' logged on from 127.0.0.1
  dialparties.agi: Caller ID name is 'Michael Rice' number is '231'
  dialparties.agi: USE_CONFIRMATION:  'FALSE'
  dialparties.agi: RINGGROUP_INDEX:   ''
  dialparties.agi: Methodology of ring is  'none'
    --  dialparties.agi: Added extension 202 to extension map
    --  dialparties.agi: Extension 202 cf is disabled
    --  dialparties.agi: Extension 202 do not disturb is disabled
       >  dialparties.agi: extnum 202 has:  cw: 1; hascfb: 0 [] hascfu: 0 []
       >  dialparties.agi: ExtensionState: 0
    --  dialparties.agi: dbset CALLTRACE/202 to 231
    --  dialparties.agi: Filtered ARG3: 202
  == Manager 'admin' logged off from 127.0.0.1
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing Dial("SIP/231-b782e998", "SIP/202||trw") in new stack
    -- Called 202
    -- SIP/202-08c33f48 is ringing
    -- SIP/202-08c33f48 is ringing
    -- SIP/202-08c33f48 is ringing
    -- SIP/202-08c33f48 answered SIP/231-b782e998
  == Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/231-b782e998' in macro 'dial'
  == Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/231-b782e998' in macro 'exten-vm'
  == Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/231-b782e998'
    -- Executing Macro("SIP/231-b782e998", "hangupcall") in new stack
    -- Executing ResetCDR("SIP/231-b782e998", "w") in new stack
    -- Executing NoCDR("SIP/231-b782e998", "") in new stack
    -- Executing GotoIf("SIP/231-b782e998", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing GotoIf("SIP/231-b782e998", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing GotoIf("SIP/231-b782e998", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing Hangup("SIP/231-b782e998", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/231-b782e998' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/231-b782e998'
 Extension Changed 231 new state Idle for Notify User 216
 Extension Changed 231 new state Idle for Notify User 279

sorry forgot to format the paste above

08/27/08 09:44:00 changed by errr

  • attachment recordingcheck.diff added.

08/27/08 09:44:24 changed by errr

  • attachment extension.diff added.

08/27/08 09:44:52 changed by errr

This patch is not what I call perfect, because it does not address the gui and the way the wording is wrong. This does how ever work and it is what we are currently using. I wanted to show you guys so we could discuss the likes/dislikes of what I did. Then Ill start working towards something we can get into svn to fix this.

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads