Project

General

Profile

Sip hardphones recordings. How should I embed them

Added by Kamui Shiro over 9 years ago

Hello everybody

So I have a working Goautodial 3.0 server that records every in and outbound call for the agents.

now I have also 2 sip phones (hardphones) connected to the network and I want also to record every in/outbound calls made from/to them.
I already created "phones" and registered them but the problem is that
1) I want to specify with call is IN or OUT in the filename
2) I don't get who called me (inbound calls) on the filename. I just get a "all" instead

I'm using this

[hardphones]
exten => _XXXX.,1,AGI(agi-NVA_recording.agi,BOTH------Y---N---Y---N)
exten => _XXXX.,n,Goto(default,55${EXTEN},1)
exten => _XXXX.,n,Hangup

[hardphones-inbound]
exten => 1001,1,AGI(agi-NVA_recording.agi,BOTH------Y---Y---Y---N)
exten => 1001,n,Goto(vicidial-auto,1001,1)
exten => 1001,n,Hangup

Replies (2)

RE: Sip hardphones recordings. How should I embed them - Added by Kamui Shiro over 9 years ago

Also If I use the goautodial recordings search feature I get nothing abou the hardphone calls.

RE: Sip hardphones recordings. How should I embed them - Added by Kamui Shiro over 9 years ago

About problem 1 I made a simple change inside the agi-NVA_recording.agi. I use the call_log value that is Y on incoming call so I add IN or OUT at the file name.

And some code...agi-NVA_recording.agi 2.6

### if set to record this call, start recording ###
if ($record_call =~ /Y/)
    {
    if ($log_call =~ /Y/)
    {
        $filename = "$filedate$US$accountcode$US$extension$US".'IN';
    }
    else
    {
        $filename = "$filedate$US$accountcode$US$extension$US".'OUT';
    }
    $filename =~ s/\"|\'//gi;
    (1-2/2)
    Go to top