Page 1 of 2

Autodialing doesn't work

PostPosted: Wed Dec 13, 2006 5:39 pm
by omar
Hi
The problem is the following.
When I use the MANUAL method in the Dial Method, everything
is ok.
The issue is when I use any Auto dialing method. Asterisk can dial the customer's phone (the customer's phone rings), but when the customer answers the phone nothing happen, the customer and the agent doesn't hear anything. Even in the screen of the agent there isn't nothing.
I tried with SIP and IAX2 trunks, but the problem is the same
Here I have the important part of the dial plan

; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,AGI(call_log.agi,${EXTEN})
exten => 8365,2,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,5,Hangup


; First I tried with this
exten => _1.,1,AGI(call_log.agi,${EXTEN})
exten => _1.,n,Dial(SIP/SIPTRUNK,,tTo)
exten => _1.,n,Hangup

exten => _01.,1,AGI(call_log.agi,${EXTEN})
exten => _01.,nDial(IAX2/IAX2TRUNK/${EXTEN},,tTo)
exten => _01.,n,Hangup

; Second I tried with this
exten => _1.,1,AGI(call_log.agi,${EXTEN})
exten => _1.,n,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => _1.,n,Dial(SIP/SIPTRUNK,,tTo)
exten => _1.,n,Hangup

exten => _01.,1,AGI(call_log.agi,${EXTEN})
exten => _01.,n,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => _01.,n,Dial(IAX2/IAX2TRUNK/${EXTEN},,tTo)
exten => _01.,n,Hangup

With any of them the AUTODIALING method doesn't work but the MANUAL ALWAYS

Please I need your help

Thank you

PD.
I saw the same problem in others topics, but there isn't a solution

PostPosted: Wed Dec 13, 2006 10:39 pm
by mflorell
Have you tried sip-silence method as detailed in the 2.0.2beta releases?

Are you registering your SIP trunk and using the register string to Dial?

Identical Problem

PostPosted: Fri Dec 15, 2006 8:44 pm
by bgamage
I'm having the exact same problem...

Yes, I'm using the dial string the same as register. I am using IAX2 to dial out. And I am using sip-silence.

Still NO luck...

Code: Select all
; dial a local outbound number (modified because of only LD T1)
exten => _9NXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _9NXXXXXX,2,Dial(IAX2/${TRUNK}/1727${EXTEN:1},,,tTo)
exten => _9NXXXXXX,3,Hangup

; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,AGI(call_log.agi,${EXTEN})
exten => 8365,n,Playback(silence/1)
exten => 8365,n,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,n,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,n,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,n,Hangup


PostPosted: Fri Dec 15, 2006 10:32 pm
by mflorell
You should have the Playback in front of the call_log line

As for your problem, can you post output from the agiout.2006-XX-XX file?
Make sure to include output from that file that has transfer AGI output.

PostPosted: Fri Dec 15, 2006 10:51 pm
by Op3r
can you also paste the output of your asterisk CLI when you manual dial and the output of your asterisk CLI when you use autodial

(the reason why i asked about the asterisk cli because I am more familiar with the cli than the agiout sorry)

PostPosted: Mon Dec 18, 2006 5:05 pm
by omar
How can I use sip-silence method?
and What do you mean with using the register string to Dial?

PostPosted: Mon Dec 18, 2006 7:03 pm
by omar
Here I used the sip-silence method, but nothing with iax2 or sip trunks in the autodialing method, but the manual always works
And to reduce the issues of voip providers, the system dialed its own numbers

; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,Playback(silence/1)
exten => 8365,n,AGI(call_log.agi,${EXTEN})
exten => 8365,n,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,n,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,n,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,n,Hangup


;I tried with this
exten => _1.,1,AGI(call_log.agi,${EXTEN})
exten => _1.,n,Dial(SIP/agt01-lpz,,tTo) ;my own phones
exten => _1.,n,Hangup

PostPosted: Mon Dec 18, 2006 10:57 pm
by mflorell
Testing with local phones on the Asterisk system with VICIDIAL doesn't always work very well because it is not through trunkis, which is what VICIDIAL expects.

PostPosted: Tue Dec 19, 2006 12:34 pm
by omar
OK, now I am trying with this:

; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,Playback(silence/1)
exten => 8365,n,AGI(call_log.agi,${EXTEN})
exten => 8365,n,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,n,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,n,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,n,Hangup

exten => _1.,1,AGI(call_log.agi,${EXTEN})
exten => _1.,n,Dial(${TRUNKIAX2}/${EXTEN},,tTo) ;Where TRUNKIAX2=IAX2/user:password@ProviderIpIax2:4569
exten => _1.,n,Hangup


And nothing the autdialing method doesn't work. Then I run manually ADMIN_keepalive_AST_VDautodial.pl and AST_VDauto_dial.pl, like this

# /usr/src/astguiclient/bin/ADMIN_keepalive_AST_VDautodial.pl
# /usr/src/astguiclient/bin/AST_VDauto_dial.pl
or
#/usr/share/astguiclient/ADMIN_keepalive_AST_VDautodial.pl
#/usr/share/astguiclient/AST_VDauto_dial.pl


I can see some information in the cli, like this
loop counter: |5759871|
TIME DEBUG: -5|-5|0| GMT: 18:30
2006-12-19 13:30:20|LIVE AGENTS LOGGED IN: 1|
2006-12-19 13:30:20|001 192.168.2.35: agents: 1 dial_level: 1|
2006-12-19 13:30:20|001 192.168.2.35: Calls to place: 0 (1 - 1) |
2006-12-19 13:30:20|CAMPAIGN DIFFERENTIAL: 1 0 (1 - 1)|
2006-12-19 13:30:20|001 192.168.2.35: CALLING|
TIME DEBUG: -5|-5|0| GMT: 18:30
2006-12-19 13:30:20|| lagged call vla agent PAUSED 0E0|20061219132950|20061219133010|20061219133020||
2006-12-19 13:30:20|| lagged call vac agent DELETED 0E0|2006-12-19 13:28:20||

But the autodialing method still doesn't work
PLEASE HELP :( :( :?:

PostPosted: Fri Dec 22, 2006 3:59 pm
by diyanat
are u using Asterisk::AGI 0.09 if so install Asterisk::AGI 0.08 on top of it, i faced a similar issue and its working fine now

Diyanat

PostPosted: Sun Dec 24, 2006 4:50 pm
by aster1
exactly same issues here .. Manual dial always works but auto dial never .. Installed asterisk-perl again .. did asterisk -vvvvr and it never even tried to dial out in auto mode .. I have just 14 leads in lead list.. could that be problem ???? ..

asterisk -vvr shows it never dials a number in autodialmode .. also in all the config i replace AGI(agi://..) with normal AGI(SCRIPT,parameters) still no use ... Conference stats show agent logged in and waiting for calls ..



BTW do we need to call exten => _1.,n,AGI(agi-VDADtransfer.agi,${EXTEN})
even in normal outbound call definition ? It isnt mentioned in documentation anywhere .

PostPosted: Tue Dec 26, 2006 8:01 am
by mflorell
Post results of "screen -r"

and you should never have
"exten => _1.,n,AGI(agi-VDADtransfer.agi,${EXTEN})"
in your dialplan.

PostPosted: Tue Dec 26, 2006 1:13 pm
by omar
diyanat wrote:are u using Asterisk::AGI 0.09 if so install Asterisk::AGI 0.08 on top of it, i faced a similar issue and its working fine now

Diyanat


How do I know if I am using Asterisk::AGI 0.09 :?:
if so
How do I install Asterisk::AGI 0.08 :?:

Pd.
Sorry, but I am a little new with vicidial

Thanks :lol:

PostPosted: Tue Dec 26, 2006 1:55 pm
by mflorell
Follow the instructions in the SCRATCH_INSTALL doc to install asterisk-perl-0.08 properly.

Now it works

PostPosted: Fri Jan 12, 2007 5:15 pm
by omar
I made a new installation, following the instructions of Scratch Install.
I don't know what really was the problem, but now the autodialing method is working. The system is:
Slackware 10.2
kernel 2.6.13
vicidial 2.0.2

Live Calls

PostPosted: Mon Feb 19, 2007 2:17 pm
by jonsolbg
Hi, I have a question, the auto-dial works fine with me, but I need that once vicidial dials, only pass the call to the agent if the call was answered, right now if I put 10.000 numbers that doesn't exists and call every one (this is doing automatically) but the agent has to hang up the call avery single time, I red that vicidial has a way to avoid this and passing the only-answered calls to the agents, but how is that?

PostPosted: Mon Feb 19, 2007 3:25 pm
by mflorell
You really should start a new topic since this is a different question.

What are your dial level and dial method set to?

What kind of trunks are you using?

Auto Dialing

PostPosted: Mon Feb 19, 2007 4:35 pm
by jonsolbg
Sorry, I don't know if you want then move this to a new topic, I think I was just a little embarrased about start a new thread.

I'm using Ratio, dial level 1.
Only have 1 seat and 5 leads, I'm just exploring.

My trunks are zap, I have 4, actually 3, the other channel is empty.

Thanks for answer

PostPosted: Mon Feb 19, 2007 4:41 pm
by mflorell
Are you using POTS lines?

POTS

PostPosted: Mon Feb 19, 2007 6:58 pm
by jonsolbg
Yes.

TDM04B

PostPosted: Mon Feb 19, 2007 7:33 pm
by jonsolbg
More precisely

A digium TDM04B.

PostPosted: Mon Feb 19, 2007 8:10 pm
by mflorell
That is one of the many problems with using POTS lines, the call progress detection is horrible. Any kind of T1 or VOIP trunk is better for autodialing that using a POTS line because they use digital signalling.

I would suggest getting either a t1/e1 line or a SIP or IAX VOIP account to dial through.

Thanks

PostPosted: Mon Feb 19, 2007 8:16 pm
by jonsolbg
Thank you for answer, :wink:

how to know if problem is POTS

PostPosted: Mon Feb 19, 2007 11:23 pm
by alonsoac
Is there a way to know for sure that the problem is the progress detection and not something else?

PostPosted: Tue Feb 20, 2007 2:13 am
by mflorell
A POTS line has no way of sending signal information to let you know that the line is busy or disconnected or that the other side has picked up the phone. How Asterisk deals with this is that it tries to guess what has happened, but that guessing takes time, and by default it will just say that the other side has answered as soon as you dial the call.

You can play around with the busydetect and call progress zapata settings, but it will not change what happens much.

SIP Trunks

PostPosted: Tue Feb 20, 2007 2:24 pm
by jonsolbg
Hi again.

I changed the trunk and now I call through a Sip interface with vitelity as my provider.

But now happens the opposite, it calls, but never pass the call, I made a test with my phone cell and answered the call but the agent never notices that the call was answered, never bridge the call.

; dial a local outbound number (modified because of only LD T1)
exten => _9NXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _9NXXXXXX,n,Dial(${TRUNK}/${EXTEN:1},,tTo)
exten => _9NXXXXXX,n,Hangup

; dial a local outbound number using a sip provider
exten => _9011506NXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _9011506NXXXXXX,n,Dial(SIP/${EXTEN:1}@vitel-outbound,,tTo)
exten => _9011506NXXXXXX,n,Hangup

In my dialplan that's how I treat the calls, the above section was my POTS gateway lines and below is my SIP gateway trunk.

Is another issue but from the same root, we continue here or is a new topic?

PostPosted: Tue Feb 20, 2007 10:38 pm
by mflorell
Can you post some output from the Asterisk CLI when this happens?

keeping it in this topic should be fine.

Sort of the same issue, using IAX trunking * Update *

PostPosted: Fri Mar 23, 2007 6:33 am
by jwhawkins
Hi all -

I'm having sort of the same issue, here's the details:

Asterisk version 1.2.16, CLI at verbosity 20, running in real-time mode
astGUIclient 2.0.1/60815-1016
VICIDIAL web client version: 2.0.99 /60906-1715
IAX trunking (and yes, it's registering, confirmed w/ provider)
SIP phones
Zaptel 1.2.10 (with ztdummy timer)
No TDM cards or POTS cards

My SIP clients register, and can make manually-dialed calls on their own, and I can do manual dialing from the VICIDIAL web GUI. I can also run the campaign in MANUAL mode, and when I hit "Dial Next Number' on the GUI client page, it will dial and transfer the call into the conference just fine.

What I am having issues with is when I set the campaign to ratio or either of the adaptive modes, calls are placed down the IAX trunk, but then they are never transferred into the conference, they time out, and then hang up, with several messages output on the Asterisk CLI. An abbreviated version of the dialplan, IAX configuration, and messages follows.

I have replaced private information (such as my IAX authentication info, which is self-explanatory, and all phone numbers as 1XXXXXXXXXX, where X is a number.

I'm completely lost here :) I've searched the forums a fair bit, and I've come to the conclusion that maybe the agc_VDtransfer.agi script isn't getting the correct extension to transfer to ? I'm curious as to why it says Local/1XXXXXXXXXX@default - perhaps because I need to change something? I'm not sure. Hopefully, someone can shed some insight on this situation!

I found co-inciding incidents of the following lines in agiout.2007-03-23 (current agiout log):

2007-03-23 2:42:58|agi-VDADtransfer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='my.server.ip'
-- VDAD get agent: |0E0|update of vla table: |my.server.ip
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='0',uniqueid='1174639361.52', channel='IAX2/my.iax.provider:4569-3', c
58NNNNNNNNNN No agent record found!!!
2007-03-23 2:47:46|call_log.agi|Perl Environment Dump:
7:46|call_log.agi|0|1XXXXXXXXXX
7:46|call_log.agi|AGI Environment Dump:
7:46|call_log.agi| -- accountcode =
7:46|call_log.agi| -- callerid = 0000000000
7:46|call_log.agi| -- calleridname = V0323024746000000006
7:46|call_log.agi| -- callingani2 = 0
7:46|call_log.agi| -- callingpres = 0
7:46|call_log.agi| -- callingtns = 0
7:46|call_log.agi| -- callington = 0
7:46|call_log.agi| -- channel = Local/1XXXXXXXXXX@default-2c3a,2
7:46|call_log.agi| -- context = default

Thanks in advance for the help,
Jake Hawkins

=-=- extensions.conf =-=-=

[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
priorityjumping=no

[globals]
TRUNK=IAX2/myiaxid:myiaxpassword@my.voip.provider/1XXXXXXXXXX
TRUNKMSD=1

[default]
exten => _1XXXXXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _1XXXXXXXXXX,2,Dial(IAX2/myiaxid:myiaxpassword@my.voip.provider/${EXTEN})

; #################################################################
; ### VICIDIAL AUTO DIALER TRANSFER SCRIPT ###
; #################################################################
exten => 8365,1,AGI(call_log.agi,${EXTEN})
exten => 8365,2,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,5,Hangup

; #################################################################
; #### AGENT PHONE EXTENSIONS ####
; #################################################################
exten => 2000,1,Dial(SIP/spa2000)
exten => 2001,1,Dial(SIP/spa2001)
exten => 2002,1,Dial(SIP/spa2002)

=-=- log of successful manual dial via VICIDIAL web client =-=-=-
-- Channel SIP/spa2000-09447e90 was answered.
-- Executing MeetMe("SIP/spa2000-09447e90", "8600051") in new stack
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
-- Executing MeetMe("Local/8600051@default-2c87,2", "8600051") in new stack
> Channel Local/8600051@default-2c87,1 was answered.
-- Executing AGI("Local/8600051@default-2c87,1", "call_log.agi|1XXXXXXXXXX") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing Dial("Local/8600051@default-2c87,1", "myiaxid:myiaxpassword@my.voip.provider/1XXXXXXXXXX") in new stack
-- Called myiaxid:myiaxpassword@my.voip.provider/1XXXXXXXXXX
-- Call accepted by my.voip.provider (format ulaw) -- Format for call is ulaw
-- IAX2/outbound-1 is making progress passing it to Local/8600051@default-2c87,1
-- IAX2/outbound-1 answered Local/8600051@default-2c87,1
== Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/spa2000-09447e90'
-- Hungup 'IAX2/outbound-1'
== Spawn extension (default, 1XXXXXXXXXX, 2) exited non-zero on 'Local/8600051@default-2c87,1'
-- Hungup 'Zap/pseudo-2093835889'

=-=- log of unsuccessful autodial =-==-=-=-
-- Channel SIP/spa2000-09447e90 was answered.
-- Executing MeetMe("SIP/spa2000-09447e90", "8600051") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
-- Executing AGI("Local/1XXXXXXXXXX0@default-53ea,2", "call_log.agi|1XXXXXXXXXX") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing Dial("Local/1XXXXXXXXXX@default-53ea,2", "myiaxid:myiaxpassword@my.voip.provider/1XXXXXXXXXX") in new stack
-- Called myiaxid:myiaxpassword@my.voip.provider/1XXXXXXXXXX
-- Call accepted by my.voip.provider (format ulaw)
-- Format for call is ulaw
-- IAX2/outbound-2 is making progress passing it to Local/1XXXXXXXXXX@default-53ea,2
-- IAX2/outbound-2 answered Local/1XXXXXXXXXX@default-53ea,2
> Channel Local/1XXXXXXXXXX@default-53ea,1 was answered.
-- Executing AGI("Local/1XXXXXXXXXX@default-53ea,1", "call_log.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
== Spawn extension (default, 1XXXXXXXXXX 2) exited non-zero on 'Local/1XXXXXXXXXX@default-53ea,2'
-- AGI Script call_log.agi completed, returning 0
-- Executing AGI("IAX2/outbound-2", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi

=-=-=-=-=-=-=-=-=-=-=-=-=-=

PostPosted: Fri Mar 23, 2007 9:51 pm
by mflorell
Please turn on the logging and AGI output in the servers table entry and post some output from your /var/log/astguiclient/agiout.2007-XX-XX file when you try to auto-dial(some tranfer AGI output if possible).

More : Still no avail - added 'o' flag on Dial() command...

PostPosted: Sat Mar 24, 2007 11:52 am
by jwhawkins
OK, I pasted a /bit/ of the agiout log in the last post, but here's what agi debugging spewed to the console... I can still do manual dial, and it works fine. I can't find any information as to how to fix the "No agent record found" error, which I think is the problem here :)

Thanks in advance,

Jake Hawkins


=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2007.03.24 12:41:38 =~=~=~=~=~=~=~=~=~=~=~=
== Manager 'sendcron' logged on from 127.0.0.1
streamline3*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
streamline3*CLI>
== Manager 'sendcron' logged on from 127.0.0.1
streamline3*CLI>
== Manager 'sendcron' logged off from 127.0.0.1
streamline3*CLI>
== Manager 'sendcron' logged off from 127.0.0.1
streamline3*CLI>
-- Hungup 'Zap/pseudo-532455742'
streamline3*CLI>
== Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/spa2000-09447e90'
streamline3*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
streamline3*CLI>
== Manager 'sendcron' logged on from 127.0.0.1
streamline3*CLI>
> Channel SIP/spa2000-09447e90 was answered.
streamline3*CLI>
-- Executing MeetMe("SIP/spa2000-09447e90", "8600051") in new stack
streamline3*CLI>
== Parsing '/etc/asterisk/meetme.conf': Found
streamline3*CLI>
== Manager 'sendcron' logged off from 127.0.0.1
streamline3*CLI>
-- Created MeetMe conference 1023 for conference '8600051'
streamline3*CLI>
-- Playing 'conf-onlyperson' (language 'en')
streamline3*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
streamline3*CLI>
== Manager 'sendcron' logged on from 127.0.0.1
streamline3*CLI>
== Manager 'sendcron' logged off from 127.0.0.1
streamline3*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
streamline3*CLI>
== Manager 'sendcron' logged on from 127.0.0.1
streamline3*CLI>
== Manager 'sendcron' logged off from 127.0.0.1
streamline3*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
streamline3*CLI>
== Manager 'sendcron' logged on from 127.0.0.1
streamline3*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
streamline3*CLI>
== Manager 'sendcron' logged on from 127.0.0.1
streamline3*CLI>
== Manager 'sendcron' logged off from 127.0.0.1
streamline3*CLI>
== Manager 'sendcron' logged off from 127.0.0.1
streamline3*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
streamline3*CLI>
== Manager 'sendcron' logged on from 127.0.0.1
streamline3*CLI>
-- Hungup 'Zap/pseudo-936286499'
== Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/spa2000-09447e90'
streamline3*CLI>
> Channel SIP/spa2000-09473ad0 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
streamline3*CLI>
-- Executing MeetMe("SIP/spa2000-09473ad0", "8600051") in new stack
streamline3*CLI>
== Parsing '/etc/asterisk/meetme.conf': Found
streamline3*CLI>
-- Created MeetMe conference 1023 for conference '8600051'
streamline3*CLI>
-- Playing 'conf-onlyperson' (language 'en')
streamline3*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
streamline3*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
streamline3*CLI>
== Manager 'sendcron' logged on from 127.0.0.1
streamline3*CLI>
== Manager 'sendcron' logged off from 127.0.0.1
streamline3*CLI>
== Manager 'sendcron' logged off from 127.0.0.1
streamline3*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
streamline3*CLI>
== Manager 'sendcron' logged on from 127.0.0.1
streamline3*CLI>
-- Hungup 'Zap/pseudo-794252064'
== Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/spa2000-09473ad0'
streamline3*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
streamline3*CLI>
== Manager 'sendcron' logged on from 127.0.0.1
streamline3*CLI>
== Manager 'sendcron' logged off from 127.0.0.1
streamline3*CLI>
> Channel SIP/spa2000-09447e90 was answered.
-- Executing MeetMe("SIP/spa2000-09447e90", "8600051") in new stack
streamline3*CLI>
== Parsing '/etc/asterisk/meetme.conf': Found
streamline3*CLI>
-- Created MeetMe conference 1023 for conference '8600051'
streamline3*CLI>
-- Playing 'conf-onlyperson' (language 'en')
streamline3*CLI>
== Manager 'sendcron' logged off from 127.0.0.1
streamline3*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
streamline3*CLI>
== Manager 'sendcron' logged on from 127.0.0.1
streamline3*CLI>
-- Executing AGI("Local/13174540450@default-4e4f,2", "call_log.agi|13174540450") in new stack
streamline3*CLI>
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
streamline3*CLI>
AGI Tx >> agi_request: call_log.agi
AGI Tx >> agi_channel: Local/13174540450@default-4e4f,2
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1174754927.98
AGI Tx >> agi_callerid: 0000000000
AGI Tx >> agi_calleridname: V0324104847000000001
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
streamline3*CLI>
AGI Tx >> agi_context: default
streamline3*CLI>
AGI Tx >> agi_extension: 13174540450
streamline3*CLI>
AGI Tx >> agi_priority: 1
streamline3*CLI>
AGI Tx >> agi_enhanced: 0.0
streamline3*CLI>
AGI Tx >> agi_accountcode:
streamline3*CLI>
AGI Tx >>
streamline3*CLI>
-- AGI Script call_log.agi completed, returning 0
streamline3*CLI>
-- Executing Dial("Local/13174540450@default-4e4f,2", "IAX2/authname:authpw@my.voip.provider/13174540450") in new stack
streamline3*CLI>
-- Called authname:authpw@my.voip.provider/13174540450
streamline3*CLI>
-- Call accepted by 64.34.176.212 (format ulaw)
-- Format for call is ulaw
streamline3*CLI>
-- IAX2/outbound-3 is making progress passing it to Local/13174540450@default-4e4f,2
streamline3*CLI>
-- IAX2/outbound-3 answered Local/13174540450@default-4e4f,2
streamline3*CLI>
> Channel Local/13174540450@default-4e4f,1 was answered.
streamline3*CLI>
== Manager 'sendcron' logged off from 127.0.0.1
streamline3*CLI>
-- Executing AGI("Local/13174540450@default-4e4f,1", "call_log.agi|8365") in new stack
streamline3*CLI>
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
streamline3*CLI>
AGI Tx >> agi_request: call_log.agi
streamline3*CLI>
AGI Tx >> agi_channel: Local/13174540450@default-4e4f,1
streamline3*CLI>
AGI Tx >> agi_language: en
streamline3*CLI>
AGI Tx >> agi_type: Local
streamline3*CLI>
AGI Tx >> agi_uniqueid: 1174754927.97
streamline3*CLI>
AGI Tx >> agi_callerid: 0000000000
streamline3*CLI>
AGI Tx >> agi_calleridname: V0324104847000000001
streamline3*CLI>
AGI Tx >> agi_callingpres: 0
streamline3*CLI>
AGI Tx >> agi_callingani2: 0
streamline3*CLI>
AGI Tx >> agi_callington: 0
streamline3*CLI>
AGI Tx >> agi_callingtns: 0
streamline3*CLI>
AGI Tx >> agi_dnid: unknown
streamline3*CLI>
AGI Tx >> agi_rdnis: unknown
streamline3*CLI>
AGI Tx >> agi_context: default
streamline3*CLI>
AGI Tx >> agi_extension: 8365
streamline3*CLI>
AGI Tx >> agi_priority: 1
streamline3*CLI>
AGI Tx >> agi_enhanced: 0.0
streamline3*CLI>
AGI Tx >> agi_accountcode:
streamline3*CLI>
AGI Tx >>
streamline3*CLI>
== Spawn extension (default, 13174540450, 2) exited non-zero on 'Local/13174540450@default-4e4f,2'
streamline3*CLI>
-- AGI Script call_log.agi completed, returning 0
streamline3*CLI>
-- Executing AGI("IAX2/outbound-3", "agi-VDADtransfer.agi|8365") in new stack
streamline3*CLI>
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
streamline3*CLI>
AGI Tx >> agi_request: agi-VDADtransfer.agi
streamline3*CLI>
AGI Tx >> agi_channel: IAX2/outbound-3
streamline3*CLI>
AGI Tx >> agi_language: en
streamline3*CLI>
AGI Tx >> agi_type: IAX2
streamline3*CLI>
AGI Tx >> agi_uniqueid: 1174754927.97
streamline3*CLI>
AGI Tx >> agi_callerid: 13174540450
streamline3*CLI>
AGI Tx >> agi_calleridname: unknown
streamline3*CLI>
AGI Tx >> agi_callingpres: 0
streamline3*CLI>
AGI Tx >> agi_callingani2: 0
streamline3*CLI>
AGI Tx >> agi_callington: 0
streamline3*CLI>
AGI Tx >> agi_callingtns: 0
streamline3*CLI>
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
streamline3*CLI>
AGI Tx >> agi_extension: 8365
AGI Tx >> agi_priority: 2
streamline3*CLI>
AGI Tx >> agi_enhanced: 0.0
streamline3*CLI>
AGI Tx >> agi_accountcode:
streamline3*CLI>
AGI Tx >>
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
AGI Tx >> 200 result=6
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
AGI Tx >> 200 result=6
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
AGI Tx >> 200 result=6
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
AGI Tx >> 200 result=6
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
streamline3*CLI>
AGI Tx >> 200 result=6
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
streamline3*CLI>
AGI Tx >> 200 result=6
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
AGI Tx >> 200 result=6
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
AGI Tx >> 200 result=6
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
AGI Tx >> 200 result=6
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
streamline3*CLI>
AGI Tx >> 200 result=6
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
AGI Tx >> 200 result=6
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
AGI Tx >> 200 result=6
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
AGI Tx >> 200 result=6
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
streamline3*CLI>
AGI Tx >> 200 result=6
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
AGI Tx >> 200 result=6
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
AGI Tx >> 200 result=6
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
streamline3*CLI>
AGI Tx >> 200 result=6
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
AGI Tx >> 200 result=6
streamline3*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
streamline3*CLI>
== Manager 'sendcron' logged on from 127.0.0.1
streamline3*CLI>
== Manager 'sendcron' logged off from 127.0.0.1
streamline3*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
streamline3*CLI>
== Manager 'sendcron' logged on from 127.0.0.1
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
streamline3*CLI>
AGI Tx >> 200 result=6
streamline3*CLI>
== Manager 'sendcron' logged off from 127.0.0.1
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
streamline3*CLI>
AGI Tx >> 200 result=6
streamline3*CLI>
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("IAX2/outbound-3", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
streamline3*CLI>
AGI Tx >> agi_request: agi-VDADtransfer.agi
streamline3*CLI>
AGI Tx >> agi_channel: IAX2/outbound-3
AGI Tx >> agi_language: en
AGI Tx >> agi_type: IAX2
AGI Tx >> agi_uniqueid: 1174754927.97
streamline3*CLI>
AGI Tx >> agi_callerid: 13174540450
AGI Tx >> agi_calleridname: unknown
streamline3*CLI>
AGI Tx >> agi_callingpres: 0
streamline3*CLI>
AGI Tx >> agi_callingani2: 0
streamline3*CLI>
AGI Tx >> agi_callington: 0
streamline3*CLI>
AGI Tx >> agi_callingtns: 0
streamline3*CLI>
AGI Tx >> agi_dnid: unknown
streamline3*CLI>
AGI Tx >> agi_rdnis: unknown
streamline3*CLI>
AGI Tx >> agi_context: default
streamline3*CLI>
AGI Tx >> agi_extension: 8365
streamline3*CLI>
AGI Tx >> agi_priority: 3
streamline3*CLI>
AGI Tx >> agi_enhanced: 0.0
streamline3*CLI>
AGI Tx >> agi_accountcode:
streamline3*CLI>
AGI Tx >>
streamline3*CLI>
AGI Rx << CHANNEL STATUS IAX2/outbound-3
AGI Tx >> 200 result=6
streamline3*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
streamline3*CLI>
== Manager 'sendcron' logged on from 127.0.0.1
streamline3*CLI>
== Spawn extension (default, 8365, 3) exited non-zero on 'IAX2/outbound-3'
-- Hungup 'IAX2/outbound-3'
streamline3*CLI>
== Manager 'sendcron' logged off from 127.0.0.1
streamline3*CLI>
====================

More from agiout-2007-03-24:

2007-03-24 10:49:04|agi-VDADtransfer.agi|+++++ VDAD START : |0|2007-03-24 10:49:04|1.2.13|3|
2007-03-24 10:49:04|agi-VDADtransfer.agi|-- VDAD : |0E0|update of vac table: 13174540450
|UPDATE vicidial_auto_calls set uniqueid='1174754927.97', channel='IAX2/outbound-3',status='LIVE' where callerid='13174540450' order by call_time desc limit 1;|
2007-03-24 10:49:04|agi-VDADtransfer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='69.13.6.217' and campaign_id = '' and call_time < "" and lead_id != '';|
2007-03-24 10:49:04|agi-VDADtransfer.agi|-- VDAD get agent: |0E0|update of vla table: |69.13.6.217
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='0',uniqueid='1174754927.97', channel='IAX2/outbound-3', callerid='13174540450' where status = 'READY' and server_ip='69.13.6.217' and campaign_id='' and last_update_time > '19691231175955' limit 1;|
2007-03-24 10:49:04|agi-VDADtransfer.agi|NNNNNNNNNN No agent record found!!!


Keeps repeating, ad infinitum, ad nauseum. :)

PostPosted: Sun Mar 25, 2007 1:57 am
by mflorell
Please post the beginning portion of the agiout agi-VDADtransfer output.

It looks like you might be tinkering with the callerID(which you shouldn't be doing) since it is not finiding a lead to match the call up with.

PostPosted: Sun Mar 25, 2007 5:16 am
by Op3r
I also got the same error, one of my clients have this peculiar voip provider that wont allow you to place a call without caller id. so I did this on extensions .conf which their tech manager said it should work.

exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,n,Set(CALLERID(name)=)
exten => _91NXXNXXXXXX,n,Dial(${TRUNKSIP}/${EXTEN:1},,tTo)
exten => _91NXXNXXXXXX,n,Hangup

then I put the callerid on the caller id field on the manager's interface

i got this from agiout

2007-03-25 4:46:10|agi-VDADtransfer.agi|NNNNNNNNNN No agent record found!!!
2007-03-25 4:46:06|agi-VDADtransfer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='72.51.46.91' and campaign_id = '' and call_time < "" and lead_id != '';|
2007-03-25 4:46:10|agi-VDADtransfer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='72.51.46.91' and campaign_id = '' and call_time < "" and lead_id != '';|
2007-03-25 4:46:06|agi-VDADtransfer.agi|-- VDAD get agent: |0E0|update of vla table: |72.51.46.91
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='0',uniqueid='1174815916.430', channel='SIP/sipprovider-08ef8798', callerid='6467231815' where status = 'READY' and server_ip='72.51.46.91' and campaign_id='' and last_update_time > '19691231175955' limit 1;|
2007-03-25 4:46:06|agi-VDADtransfer.agi|NNNNNNNNNN No agent record found!!!
2007-03-25 4:46:10|agi-VDADtransfer.agi|-- VDAD get agent: |0E0|update of vla table: |72.51.46.91
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='0',uniqueid='1174815942.438', channel='SIP/sipprovider-08f1d7c8', callerid='6467231815' where status = 'READY' and server_ip='72.51.46.91' and campaign_id='' and last_update_time > '19691231175955' limit 1;|


on the asterisk console i got this

== Manager 'sendcron' logged off from 125.252.68.126
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Set("Local/917736374051@default-8075,2", "CALLERID(name)=") in new stack
-- Executing Dial("Local/917736374051@default-8075,2", "SIP/sipprovider/17736374051||tTo") in new stack
-- Called sipprovider/17736374051
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Set("Local/917733350055@default-c2d2,2", "CALLERID(name)=") in new stack
-- Executing Dial("Local/917733350055@default-c2d2,2", "SIP/sipprovider/17733350055||tTo") in new stack
-- Called sipprovider/17733350055
-- SIP/sipprovider-08ec8f60 is making progress passing it to Local/917736374051@default-8075,2
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 125.252.68.126
-- Executing AGI("Local/917738805044@default-e997,2", "agi://127.0.0.1:4577/call_log") in new stack
-- SIP/sipprovider-08ec8f60 is ringing
-- SIP/sipprovider-08ec8f60 is making progress passing it to Local/917736374051@default-8075,2
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Set("Local/917738805044@default-e997,2", "CALLERID(name)=") in new stack
-- Executing Dial("Local/917738805044@default-e997,2", "SIP/sipprovider/17738805044||tTo") in new stack
-- Called sipprovider/17738805044
-- SIP/sipprovider-08ee5f80 is making progress passing it to Local/917733350055@default-c2d2,2
-- SIP/sipprovider-08ef8798 is making progress passing it to Local/917738805044@default-e997,2
-- SIP/sipprovider-08ee5f80 answered Local/917733350055@default-c2d2,2
> Channel Local/917733350055@default-c2d2,1 was answered.
== Manager 'sendcron' logged off from 125.252.68.126
-- Executing AGI("Local/917733350055@default-c2d2,1", "agi://127.0.0.1:4577/call_log") in new stack
== Spawn extension (default, 917733350055, 3) exited non-zero on 'Local/917733350055@default-c2d2,2'
-- Executing DeadAGI("Local/917733350055@default-c2d2,2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AGI("SIP/sipprovider-08ee5f80", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- SIP/sipprovider-08ef8798 is ringing
-- SIP/sipprovider-08ef8798 is making progress passing it to Local/917738805044@default-e997,2
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/917733350055@default-c2d2,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----4-----0)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ---4-----0) completed, returning 0
-- SIP/sipprovider-08ec8f60 answered Local/917736374051@default-8075,2
> Channel Local/917736374051@default-8075,1 was answered.
== Manager 'sendcron' logged off from 125.252.68.126
-- Executing AGI("Local/917736374051@default-8075,1", "agi://127.0.0.1:4577/call_log") in new stack
== Spawn extension (default, 917736374051, 3) exited non-zero on 'Local/917736374051@default-8075,2'
-- Executing DeadAGI("Local/917736374051@default-8075,2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AGI("SIP/sipprovider-08ec8f60", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/917736374051@default-8075,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----10-----0)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... --10-----0) completed, returning 0

Im banging my head against the wall to figure this out :(

any ideas?

PostPosted: Sun Mar 25, 2007 5:27 am
by Op3r
this is the first output of the agiout

2007-03-25 4:33:41|agi-VDADtransfer.agi|Perl Environment Dump:
2007-03-25 4:33:41|agi-VDADtransfer.agi|0|8365
2007-03-25 4:33:41|agi-VDADtransfer.agi|callerID changed: 16467231815
2007-03-25 4:33:41|agi-VDADtransfer.agi|AGI Environment Dump:
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- accountcode =
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- callerid = unknown
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- calleridname = 16467231815
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- callingani2 = 0
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- callingpres = 0
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- callingtns = 0
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- callington = 0
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- channel = SIP/sipprovider-08f06400
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- context = default
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- dnid = unknown
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- enhanced = 0.0
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- extension = 8365
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- language = en
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- priority = 2
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- rdnis = unknown
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- request = agi-VDADtransfer.agi
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- type = SIP
2007-03-25 4:33:41|agi-VDADtransfer.agi| -- uniqueid = 1174815201.277
2007-03-25 4:33:41|agi-VDADtransfer.agi|AGI Variables: |1174815201.277|SIP/sipprovider-08f06400|8365|SIP|16467231815|16467231$
2007-03-25 4:33:41|agi-VDADtransfer.agi|+++++ VDAD START : |0|2007-03-25 4:33:41|1.2.14|2|
2007-03-25 4:33:41|agi-VDADtransfer.agi|-- VDAD : |0E0|update of vac table: 16467231815
|UPDATE vicidial_auto_calls set uniqueid='1174815201.277', channel='SIP/sipprovider-08f06400',status='LIVE',stage='LIVE-0' wh$
2007-03-25 4:33:41|agi-VDADtransfer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='72.51.$
2007-03-25 4:33:41|agi-VDADtransfer.agi|-- VDAD get agent: |0E0|update of vla table: |72.51.46.91
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='0',uniqueid='1174815201.277', channel='SIP/sipprovider-08f06400', ca$
2007-03-25 4:33:41|agi-VDADtransfer.agi|NNNNNNNNNN No agent record found!!!
2007-03-25 4:33:41|agi-VDADtransfer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='72.51.$
2007-03-25 4:33:41|agi-VDADtransfer.agi|-- VDAD get agent: |0E0|update of vla table: |72.51.46.91
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='0',uniqueid='1174815201.277', channel='SIP/sipprovider-08f06400', ca$
2007-03-25 4:33:41|agi-VDADtransfer.agi|NNNNNNNNNN No agent record found!!!
2007-03-25 4:33:41|agi-VDADtransfer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='72.51.$
2007-03-25 4:33:41|agi-VDADtransfer.agi|-- VDAD get agent: |0E0|update of vla table: |72.51.46.91
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='0',uniqueid='1174815201.277', channel='SIP/sipprovider-08f06400', ca$
2007-03-25 4:33:41|agi-VDADtransfer.agi|NNNNNNNNNN No agent record found!!!

PostPosted: Sun Mar 25, 2007 6:52 am
by mflorell
You cannot alter CallerID in the extensions.conf for VICIDIAL calls at all if you want VICIDIAL to work. If you need to set callerID you have to use the Campaign Details setting for callerID.

I would suggest you create another set of extensions for people to use manually and one for VICIDIAL.

PostPosted: Sun Mar 25, 2007 8:21 am
by Op3r
I tried that but the sip provider is blocking the calls or so I think here's the cli output

-- Called sipprovider/17738264920
-- Got SIP response 604 "Invalid Calling Party Number" back from 64.192.112.13
== No one is available to answer at this time (1:0/0/0)
-- Executing Hangup("Local/917738264920@default-4439,2", "") in new stack
== Spawn extension (default, 917738264920, 3) exited non-zero on 'Local/917738264920@default-4439,2'
-- Executing DeadAGI("Local/917738264920@default-4439,2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/917738891490@default-8b72,2", "SIP/sipprovider/17738891490||tTo") in new stack
-- Called sipprovider/17738891490
-- Got SIP response 604 "Invalid Calling Party Number" back from 64.192.112.13
== No one is available to answer at this time (1:0/0/0)


I put the callerid on the campaign manager interface and remove the callerid on my extensions.conf

this is quite a headache :( I was thinking about using another voip provider to check if my settings is really correct.

PostPosted: Sun Mar 25, 2007 8:29 am
by Op3r
dammit it works on another voip provider :(

PostPosted: Mon Mar 26, 2007 2:59 am
by tektrix
I m facing the same issue. and in agi logs campaign ID is missing. I m having outbound trunk with binfone. Do bin fone also require caller ID?

PostPosted: Tue Mar 27, 2007 5:37 am
by mflorell
Turn on agi output in the server screen and post agi-transfer output from your agioutfile as they have done above.

PostPosted: Sat Mar 31, 2007 12:05 am
by hotdog0627
hi

Its my box that Op3r is working on. I noticed this agi debug differences from a working box and from my problem box.

WORKING BOX:
==========================================
-- AGI Script AGI(agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Set("Local/916194251269@default-ec0c,2", "CALLERID(name)=") in new stack
-- Executing Dial("Local/916194251269@default-ec0c,2", "sip/16194251269@sipprovider|55|o") in new stack
-- Called 16194251269@sipprovider
-- SIP/sipprovider-089bd1f0 is ringing
-- SIP/sipprovider-089bd1f0 is making progress passing it to Local/916194251269@default-ec0c,2
-- SIP/sipprovider-089bd1f0 answered Local/916194251269@default-ec0c,2
> Channel Local/916194251269@default-ec0c,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing AGI("Local/916194251269@default-ec0c,1", "agi://127.0.0.1:4577/call_log") in new stack
AGI Tx >> agi_network_script: call_log
AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log
AGI Tx >> agi_channel: Local/916194251269@default-ec0c,1
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1175312461.91080
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: V0330224101000064916
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: 8365
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AGI("Local/916194251269@default-ec0c,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
AGI Tx >> agi_request: agi-VDADtransfer.agi
AGI Tx >> agi_channel: Local/916194251269@default-ec0c,1
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1175312461.91080
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: V0330224101000064916
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: 8365
AGI Tx >> agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >> LI>
== Spawn extension (default, 916194251269, 3) exited non-zero on 'Local/916194251269@default-ec0c,2'
-- Executing DeadAGI("Local/916194251269@default-ec0c,2", "agi://127.0.0.1:4577/call_log") in new stack
AGI Tx >> agi_network_script: call_log
AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log
AGI Tx >> agi_channel: Local/916194251269@default-ec0c,2
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1175312461.91081
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >> LI>
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/916194251269@default-ec0c,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----9-----0)") in new stack
AGI Tx >> agi_network_script: VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----9-----0)
AGI Tx >> agi_request: agi://127.0.0.1:4577/VD_hangup--HVcause ... ---9-----0)
AGI Tx >> agi_channel: Local/916194251269@default-ec0c,2
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1175312461.91081
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ---9-----0) completed, returning 0
AGI Rx << SET CALLERID V0330224101000064916
AGI Tx >> 200 result=1
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/sipprovider-089bd1f0", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
AGI Tx >> agi_request: agi-VDADtransfer.agi
AGI Tx >> agi_channel: SIP/sipprovider-089bd1f0
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1175312461.91080
AGI Tx >> agi_callerid: unknown
AGI Tx >> agi_calleridname: V0330224101000064916
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: 8365
AGI Tx >> agi_priority: 3
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >> LI>
AGI Rx << SET CALLERID V0330224101000064916
AGI Tx >> 200 result=1
AGI Rx << CHANNEL STATUS SIP/sipprovider-089bd1f0
AGI Tx >> 200 result=6
AGI Rx << SET CONTEXT default
AGI Tx >> 200 result=0
AGI Rx << SET EXTENSION 8600052
AGI Tx >> 200 result=0
AGI Rx << SET PRIORITY 1
AGI Tx >> 200 result=0
== Manager 'sendcron' logged off from 127.0.0.1
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing MeetMe("SIP/sipprovider-089bd1f0", "8600052") in new stack
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 8600052, 1) exited non-zero on 'SIP/sipprovider-089bd1f0'
-- Executing DeadAGI("SIP/sipprovider-089bd1f0", "agi://127.0.0.1:4577/call_log") in new stack
AGI Tx >> agi_network_script: call_log
AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log
AGI Tx >> agi_channel: SIP/sipprovider-089bd1f0
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1175312461.91080
AGI Tx >> agi_callerid: unknown
AGI Tx >> agi_calleridname: V0330224101000064916
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("SIP/sipprovider-089bd1f0", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
AGI Tx >> agi_network_script: VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)
AGI Tx >> agi_request: agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------)
AGI Tx >> agi_channel: SIP/sipprovider-089bd1f0
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1175312461.91080
AGI Tx >> agi_callerid: unknown
AGI Tx >> agi_calleridname: V0330224101000064916
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1



NON WORKING BOX:
==============================================
-- AGI Script AGI(agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Set("Local/912068986955@default-b23d,2", "CALLERID(name)=") in new stack
-- Executing Dial("Local/912068986955@default-b23d,2", "sip/12068986955@sipprovider|55|o") in new stack
-- Called 12068986955@sipprovider
-- SIP/sipprovider-08867a58 is ringing
-- SIP/sipprovider-08867a58 is making progress passing it to Local/912068986955@default-b23d,2
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 125.252.68.105
== Manager 'sendcron' logged off from 125.252.68.105
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 125.252.68.105
== Manager 'sendcron' logged off from 125.252.68.105
-- SIP/sipprovider-08867a58 answered Local/912068986955@default-b23d,2
> Channel Local/912068986955@default-b23d,1 was answered.
== Manager 'sendcron' logged off from 125.252.68.105
-- Executing AGI("Local/912068986955@default-b23d,1", "agi://127.0.0.1:4577/call_log") in new stack
AGI Tx >> agi_network_script: call_log
AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log
AGI Tx >> agi_channel: Local/912068986955@default-b23d,1
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1175316835.12
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: V0331125354000000460
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: 8365
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
== Spawn extension (default, 912068986955, 3) exited non-zero on 'Local/912068986955@default-b23d,2'
-- Executing DeadAGI("Local/912068986955@default-b23d,2", "agi://127.0.0.1:4577/call_log") in new stack
AGI Tx >> agi_network_script: call_log
AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log
AGI Tx >> agi_channel: Local/912068986955@default-b23d,2
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1175316835.13
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AGI("SIP/sipprovider-08867a58", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
AGI Tx >> agi_request: agi-VDADtransfer.agi
AGI Tx >> agi_channel: SIP/sipprovider-08867a58
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1175316835.12
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: 8365
AGI Tx >> agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/912068986955@default-b23d,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----18-----0)") in new stack
AGI Tx >> agi_network_script: VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----18-----0)
AGI Tx >> agi_request: agi://127.0.0.1:4577/VD_hangup--HVcause ... --18-----0)
AGI Tx >> agi_channel: Local/912068986955@default-b23d,2
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1175316835.13
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... --18-----0) completed, returning 0
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
== Spawn extension (default, 8365, 2) exited non-zero on 'SIP/sipprovider-08867a58'
-- Executing DeadAGI("SIP/sipprovider-08867a58", "agi://127.0.0.1:4577/call_log") in new stack
AGI Tx >> agi_network_script: call_log
AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log
AGI Tx >> agi_channel: SIP/sipprovider-08867a58
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1175316835.12
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("SIP/sipprovider-08867a58", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
AGI Tx >> agi_network_script: VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)
AGI Tx >> agi_request: agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------)
AGI Tx >> agi_channel: SIP/sipprovider-08867a58
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1175316835.12
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
ip-125-252-68-105*CLI>



The difference is that on the working box the firs call log agi finishes early:
AGI Script agi://127.0.0.1:4577/call_log completed, returning 0

and then executes the following:
Executing AGI("Local/916194251269@default-ec0c,1", "agi-VDADtransfer.agi|8365") in new stack

and then spawns this extension:
Spawn extension (default, 916194251269, 3) exited non-zero on 'Local/916194251269@default-ec0c,2'


While on the non working box:

it spawns this extension:
Spawn extension (default, 912068986955, 3) exited non-zero on 'Local/912068986955@default-b23d,2'


then executes the DeadAGI command:
-- Executing DeadAGI("Local/912068986955@default-b23d,2", "agi://127.0.0.1:4577/call_log") in new stack


Is that normal?

I hope this helps...

PostPosted: Sat Mar 31, 2007 12:10 am
by hotdog0627
these boxes have identical /etc/asterisk folder contents. Both CentOS4, different IPs, using the same VoIP account.

Its really weird! Been banging my head on the wall w/ Op3r for 2wks now! :cry: