agi-NVA_recording.agi lead insert

All installation and configuration problems and questions

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

agi-NVA_recording.agi lead insert

Postby Vince-0 » Wed Aug 31, 2016 8:19 am

Hi!

I can't get NVA_recording to insert new leads so I can search on destination number in list search.

I have list 995 set as NVA New List ID in the phone settings.
So! I use the NVA_recordings script in a custom dialplan:

Code: Select all
exten => _X.,1,AGI(agi-NVA_recording.agi,BOTH------Y---N---Y---N---N---N---Y---ALLLISTS---N---N---Y------)
exten => _X.,n,Goto(default,${EXTEN},1)
exten => _X.,n,Hangup()


Asterisk console shows this:
Code: Select all
Executing [072XXXXXXX@defaultlog:1] AGI("SIP/100-00000006", "agi-NVA_recording.agi,BOTH------Y---Y---Y")


Why doesn't it use the script parameters I specified? and so not insert the lead?

Vin

--
VERSION: 2.12-561a BUILD: 160708-0745 Installed from ISO
Vince-0
 
Posts: 272
Joined: Fri Mar 02, 2012 4:27 pm
Location: South Africa

Re: agi-NVA_recording.agi lead insert

Postby Vince-0 » Wed Aug 31, 2016 3:15 pm

<NOOB ERROR>
Looks like it just wasn't applying my changes.
It seems to have worked after a couple of reboots.

--Edit--
I have no idea why it was executing that script without my parameters but when I put the command directly in my carrier dialplan it works just fine:

Code: Select all
exten => _XZXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XZXXXXXXXX,n,AGI(agi-NVA_recording.agi,BOTH------Y---N---Y---N---N---N---Y---ALLLISTS---N---N---Y------)
exten => _XZXXXXXXXX,n,Dial(${carrier1}/${EXTEN},,To)
exten => _XZXXXXXXXX,n,Hangup()


--Edit--
Turns out my meddling with phone_context to defaultlog is where all my confusion comes in.
Leaving the phone context on default puts all these custom dialplans through as expected.

In the words of the immortal williamconley "this guy knows enough to be dangerous".
Vince-0
 
Posts: 272
Joined: Fri Mar 02, 2012 4:27 pm
Location: South Africa


Return to Support

Who is online

Users browsing this forum: No registered users and 146 guests