Vicidial Gateway Recording Server

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Vicidial Gateway Recording Server

Postby tantd » Mon Nov 25, 2024 3:35 am

Dear supporter,
I had followed this intruct to setup the stereo recording for Vicidial:
https://www.vicidial.org/docs/GATEWAY_R ... SERVER.txt
I had tried to setup the available FreePBX as a SIP gateway and recording the Predictive call with step below:
- Setup trunk peer-to-peer between VIcidial and FreePBX
- Call with Prefix 8+phone number will to to FreePBX
- Setup dial plan in FreePBX:
Code: Select all
[trunkinbound]
exten => _X.,1,Set(VICIrecGatewayID=${SIP_HEADER(X-VICIrecGatewayID)})
exten => _X.,n,Noop(Received VICIrecGatewayID: ${VICIrecGatewayID})
exten => _X.,n,AGI(agi-DID_route.agi)
exten => _X.,n,Hangup()

[stereo-rec-inbound]
exten => _X.,1,Progress()
exten => _X.,n,Noop(CALLERID: ${CALLERID(num)})
exten => _X.,n,Set(CARRIER_FILENAME=carrier_${UNIQUEID}.wav)
exten => _X.,n,Set(DIALER_FILENAME=dialer_${UNIQUEID}.wav)
exten => _X.,n,Noop(Carrier Filename: ${CARRIER_FILENAME})
exten => _X.,n,Noop(Dialer Filename: ${DIALER_FILENAME})
exten => _X.,n,MixMonitor(/var/spool/asterisk/monitor/${CARRIER_FILENAME},r(${CARRIER_FILENAME})t(${DIALER_FILENAME})S)
exten => _X.,n,Dial(SIP/${EXTEN}@CMC_842871078450,,tTor)

[stereo-rec-outbound]
exten => _X.,1,Progress()
exten => _X.,n,Noop(CALLERID: ${CALLERID(num)})
exten => _X.,n,Set(CARRIER_FILENAME=carrier_${UNIQUEID}.wav)
exten => _X.,n,Set(DIALER_FILENAME=dialer_${UNIQUEID}.wav)
exten => _X.,n,Noop(Carrier Filename: ${CARRIER_FILENAME})
exten => _X.,n,Noop(Dialer Filename: ${DIALER_FILENAME})
exten => _X.,n,MixMonitor(,t(${CARRIER_FILENAME})r(${DIALER_FILENAME})S)
exten => _X.,n,Dial(SIP/${EXTEN}@CMC_842871078450,,tTor)
exten => _X.,n,Hangup()

Unfortunately, when the recording appear in FreePBX still one side ( called side), there is no recording for agent ( from Vicidial)
So the question:
- Do I need to setup another Telephony server in Vicidial for Gateway Recording Server ?
- The Carries to call out need to setup in Gateway Recording Server as well?
- Is the anyway setup Gateway Recording Server in same server of Vicidial "Express" server?
Thank a lot!.
tantd
 
Posts: 4
Joined: Thu Nov 21, 2024 6:07 am

Re: Vicidial Gateway Recording Server

Postby tantd » Mon Nov 25, 2024 4:34 am

1) Version of VICIDIAL : 11
2) loadavg: 0.01, 0.03, 0.03

3) Server Specs
CPU:
Code: Select all
dev-pbx02:/home/sysadmin # cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 85
model name      : Intel(R) Xeon(R) Gold 6240R CPU @ 2.40GHz
stepping        : 7
microcode       : 0x5003604
cpu MHz         : 2399.999
cache size      : 36608 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 22
wp              : yes

RAM:
Code: Select all
dev-pbx02:/home/sysadmin # cat /proc/meminfo
MemTotal:        8059852 kB
MemFree:         2124948 kB
MemAvailable:    4607028 kB
Buffers:          104864 kB
Cached:          2652216 kB
SwapCached:            0 kB
Active:           523864 kB
Inactive:        4694120 kB



4) Codecs used: ulaw,alaw,g729
5) VOIP or PSTN
6) OS:
Code: Select all
dev-pbx02:/home/sysadmin # cat /proc/version
Linux version 5.14.21-150500.55.12-default (geeko@buildhost) (gcc (SUSE Linux) 7.5.0, GNU ld (GNU Binutils; SUSE Linux Enterprise 15) 2.39.0.20220810-150100.7.40) #1 SMP PREEMPT_DYNAMIC Fri Jul 28 08:40:19 UTC 2023 (52c1db3)
tantd
 
Posts: 4
Joined: Thu Nov 21, 2024 6:07 am

Re: Vicidial Gateway Recording Server

Postby williamconley » Wed Dec 04, 2024 11:20 pm

The Gateway server is not expected to be a FreePBX or other generic Asterisk server.

The documentation expects that gateway server to be another Vicidial install used as a gateway and has specific instructions for that new gateway server including PJSIP, among other things.

The instructions are not "just build another sip server and pass the calls through it and it'll work", they are quite specific in that regard.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20299
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Vicidial Gateway Recording Server

Postby tantd » Mon Dec 09, 2024 2:18 am

Hi William,
Thank for the response,
So just wanna double check this:
- This setting for carrier in recording gateway then it can save all the recording from another carrier or
- Do I need to settup all the carrier which connect with another PBX/ISP provider go throught this gateway server ?
Thank a lot!
Best Regards,
Tan
tantd
 
Posts: 4
Joined: Thu Nov 21, 2024 6:07 am

Re: Vicidial Gateway Recording Server

Postby williamconley » Mon Dec 09, 2024 10:54 pm

i'm not entirely sure what you are asking.

the system expects that all calls will go from your Vicidial (agent) server to your Vicidial (gateway) server and then to the carrier or carriers. The settings in question are for the Vicidial (gateway) server. For outbound, of course.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20299
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Vicidial Gateway Recording Server

Postby tantd » Tue Dec 10, 2024 11:50 pm

Hi William,
Thanks for your kind answer.
All clear now.
Thanks for your support.

Best Regards,
Tan
tantd
 
Posts: 4
Joined: Thu Nov 21, 2024 6:07 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 32 guests