Auto dialer calls not being transferred (dialplan duplicate)

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Auto dialer calls not being transferred (dialplan duplicate)

Postby ccabrera » Fri Jan 14, 2011 8:07 pm

Hello,

I've searched through the forums and I've found several cases related to mine. However, I tried all the possible answers I could find and still can't make the auto dialer work properly in this installation (I have another one with predictive dialing too which is working fine)

The problem is that my leads get dialed by the auto dialer. I receive the call, but when I answer I get no audio, calls gets hung up after 3 seconds, and the logged in agent never receives the call.

I'm using the following:
GoAutodial 2.0 CE
VICIDIAL VERSION: 2.2.1-237 BUILD: 100510-2015
Asterisk 1.4.27.1-1

I've already tried the following:
- Adding the 'Tto' to the end of the dialstring
- Changed the 'sip-silence' file for a different one.
- I was using a IAX2 trunk as the destination, then switched to SIP trunk from the same provider (provider is an Asterisk 1.6.2 box I have total control over, in case I need to change something over there)


My /var/log/astguiclient/agi-out for one call looks like this:
Code: Select all
agi-VDAD_ALL_outbound.agi|Perl Environment Dump:
agi-VDAD_ALL_outbound.agi|0|NORMAL-----LB
agi-VDAD_ALL_outbound.agi|callerID changed: V0114185023000176447
agi-VDAD_ALL_outbound.agi|AGI Environment Dump:
agi-VDAD_ALL_outbound.agi| -- accountcode =
agi-VDAD_ALL_outbound.agi| -- callerid = 5000000002
agi-VDAD_ALL_outbound.agi| -- calleridname = V0114185023000176447
agi-VDAD_ALL_outbound.agi| -- callingani2 = 0
agi-VDAD_ALL_outbound.agi| -- callingpres = 0
agi-VDAD_ALL_outbound.agi| -- callingtns = 0
agi-VDAD_ALL_outbound.agi| -- callington = 0
agi-VDAD_ALL_outbound.agi| -- channel = SIP/9998-00000016
agi-VDAD_ALL_outbound.agi| -- context = default
agi-VDAD_ALL_outbound.agi| -- dnid = unknown
agi-VDAD_ALL_outbound.agi| -- enhanced = 0.0
agi-VDAD_ALL_outbound.agi| -- extension = 8368
agi-VDAD_ALL_outbound.agi| -- language = en
agi-VDAD_ALL_outbound.agi| -- priority = 3
agi-VDAD_ALL_outbound.agi| -- rdnis = unknown
agi-VDAD_ALL_outbound.agi| -- request = agi-VDAD_ALL_outbound.agi
agi-VDAD_ALL_outbound.agi| -- type = SIP
agi-VDAD_ALL_outbound.agi| -- uniqueid = 1295052623.64
agi-VDAD_ALL_outbound.agi|AGI Variables: |1295052623.64|SIP/9998-00000016|8368|SIP|V0114185023000176447|V0114185023000176447|3|
agi-VDAD_ALL_outbound.agi|+++++ VDAD START : |176447|1.4.27.1-vici|3|
agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_live_agents where callerid='V0114185023000176447';|
agi-VDAD_ALL_outbound.agi|+++--- Duplicate: 0
agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_auto_calls where callerid='V0114185023000176447' and status IN('LIVE','XFER');|
agi-VDAD_ALL_outbound.agi|+++--- Duplicate: 0
agi-VDAD_ALL_outbound.agi|--    VDAD : |1|update of vac table: V0114185023000176447
|UPDATE vicidial_auto_calls set uniqueid='1295052623.64', channel='SIP/9998-00000016',status='LIVE',stage='LIVE-0' where callerid='V0114185023000176447' order by call_time desc limit 1;|
agi-VDAD_ALL_outbound.agi||UPDATE vicidial_list set status='PU' where lead_id='176447' and status NOT IN('CALLBK');|
agi-VDAD_ALL_outbound.agi|--    VDAD vicidial_list PU update: |1|1295052623.64|
agi-VDAD_ALL_outbound.agi||INSERT INTO vicidial_log (uniqueid,lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,processed,alt_dial,list_id) values('1295052623.64','176447','PREDICT','2011-01-14 18:50:37','1295052637','QUEUE','52','5546144330','VDAD','N','NONE','1001')|
agi-VDAD_ALL_outbound.agi|--    VDAD : |176447|176447|insert to vicidial_log: 1295052623.64
agi-VDAD_ALL_outbound.agi|Perl Environment Dump:
agi-VDAD_ALL_outbound.agi|0|NORMAL-----LB
agi-VDAD_ALL_outbound.agi|callerID changed: V0114185023000176447
agi-VDAD_ALL_outbound.agi|AGI Environment Dump:
agi-VDAD_ALL_outbound.agi| -- accountcode =
agi-VDAD_ALL_outbound.agi| -- callerid = unknown
agi-VDAD_ALL_outbound.agi| -- calleridname = V0114185023000176447
agi-VDAD_ALL_outbound.agi| -- callingani2 = 0
agi-VDAD_ALL_outbound.agi| -- callingpres = 0
agi-VDAD_ALL_outbound.agi| -- callingtns = 0
agi-VDAD_ALL_outbound.agi| -- callington = 0
agi-VDAD_ALL_outbound.agi| -- channel = SIP/9998-00000016
agi-VDAD_ALL_outbound.agi| -- context = default
agi-VDAD_ALL_outbound.agi| -- dnid = unknown
agi-VDAD_ALL_outbound.agi| -- enhanced = 0.0
agi-VDAD_ALL_outbound.agi| -- extension = 8368
agi-VDAD_ALL_outbound.agi| -- language = en
agi-VDAD_ALL_outbound.agi| -- priority = 4
agi-VDAD_ALL_outbound.agi| -- rdnis = unknown
agi-VDAD_ALL_outbound.agi| -- request = agi-VDAD_ALL_outbound.agi
agi-VDAD_ALL_outbound.agi| -- type = SIP
agi-VDAD_ALL_outbound.agi| -- uniqueid = 1295052623.64
agi-VDAD_ALL_outbound.agi|AGI Variables: |1295052623.64|SIP/999800000016|8368|SIP|V0114185023000176447|V0114185023000176447|4|
agi-VDAD_ALL_outbound.agi|+++++ VDAD START : |176447|1.4.27.1-vici|4|
agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_live_agents where callerid='V0114185023000176447';|
agi-VDAD_ALL_outbound.agi|+++--- Duplicate: 1
agi-VDAD_ALL_outbound.agi|1|SELECT count(*) FROM vicidial_auto_calls where callerid='V0114185023000176447' and status IN('LIVE','XFER');|
agi-VDAD_ALL_outbound.agi|+++--- Duplicate: 1
agi-VDAD_ALL_outbound.agi|+++++ VDAD START DIALPLAN DUPLICATE: EXITING- 4


This is what Vicidial goes through to make the call:

Code: Select all
exten => _55ZXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _55ZXXXXXXX,n,Dial(SIP/9${EXTEN:2}@9998,,Tto)
exten => _55ZXXXXXXX,n,Hangup


As a side note, manual dialing works just fine.

Can someone shed some light over this? I've been stuck for several ours and still can't find what the problem is.

Kind regards,[/code]
ccabrera
 
Posts: 153
Joined: Fri Jan 14, 2011 7:53 pm
Location: Mexico City

Postby williamconley » Sat Jan 15, 2011 10:38 am

1) Excellent! You posted your specs :)

2) please post your asterisk CLI from a single call attempt (try not to have other calls mixed in)
Code: Select all
asterisk -R
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: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby ccabrera » Sat Jan 15, 2011 1:24 pm

Hello William,

Thank you for your interest. Here's the output (coming from the logs since I can't create a call right now)

Code: Select all
VERBOSE[3190] logger.c: [Jan 14 18:19:56]        > Channel SIP/1150-00000000 was answered.
VERBOSE[3198] logger.c: [Jan 14 18:19:56]     -- Executing [8600051@default:1] MeetMe("SIP/1150-00000000", "8600051|F") in new stack
VERBOSE[3198] logger.c: [Jan 14 18:19:56]   == Parsing '/etc/asterisk/meetme.conf': [Jan 14 18:19:56] VERBOSE[3198] logger.c: [Jan 14 18:19:56] Found
VERBOSE[3198] logger.c: [Jan 14 18:19:56]   == Parsing '/etc/asterisk/meetme-vicidial.conf': [Jan 14 18:19:56] VERBOSE[3198] logger.c: [Jan 14 18:19:56] Found
VERBOSE[3198] logger.c: [Jan 14 18:19:56]     -- Created MeetMe conference 1023 for conference '8600051'
WARNING[3198] format_wav.c: Unexpected frequency 44100
WARNING[3198] file.c: Unable to open format wav
VERBOSE[3198] logger.c: [Jan 14 18:19:57]     -- <SIP/1150-00000000> Playing 'conf-onlyperson' (language 'es')
VERBOSE[3190] logger.c: [Jan 14 18:19:58]   == Manager 'sendcron' logged off from 127.0.0.1
VERBOSE[3228] logger.c: [Jan 14 18:20:01]   == Parsing '/etc/asterisk/manager.conf': [Jan 14 18:20:01] VERBOSE[3228] logger.c: [Jan 14 18:20:01] Found
VERBOSE[3228] logger.c: [Jan 14 18:20:01]   == Manager 'sendcron' logged on from 127.0.0.1
VERBOSE[3232] logger.c: [Jan 14 18:20:01]   == Parsing '/etc/asterisk/manager.conf': [Jan 14 18:20:01] VERBOSE[3232] logger.c: [Jan 14 18:20:01] Found
VERBOSE[3232] logger.c: [Jan 14 18:20:01]   == Manager 'sendcron' logged on from 127.0.0.1
ERROR[3228] utils.c: write() returned error: Broken pipe
VERBOSE[3228] logger.c: [Jan 14 18:20:01]   == Manager 'sendcron' logged off from 127.0.0.1
VERBOSE[3245] logger.c: [Jan 14 18:20:02]   == Parsing '/etc/asterisk/manager.conf': [Jan 14 18:20:02] VERBOSE[3245] logger.c: [Jan 14 18:20:02] Found
VERBOSE[3245] logger.c: [Jan 14 18:20:02]   == Manager 'sendcron' logged on from 127.0.0.1
VERBOSE[3246] logger.c: [Jan 14 18:20:02]     -- Executing [5546144330@default:1] AGI("Local/5546144330@default-4df8,2", "agi://127.0.0.1:4577/call_log") in new stack
VERBOSE[3246] logger.c: [Jan 14 18:20:02]     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
VERBOSE[3246] logger.c: [Jan 14 18:20:02]     -- Executing [5546144330@default:2] GotoIf("Local/5546144330@default-4df8,2", "0?PonCID:Continua") in new stack
VERBOSE[3246] logger.c: [Jan 14 18:20:02]     -- Goto (default,5546144330,4)
VERBOSE[3246] logger.c: [Jan 14 18:20:02]     -- Executing [5546144330@default:4] Dial("Local/5546144330@default-4df8,2", "SIP/946144330@9998||To") in new stack
VERBOSE[3246] logger.c: [Jan 14 18:20:02]     -- Called 946144330@9998
VERBOSE[3246] logger.c: [Jan 14 18:20:06]     -- SIP/9998-00000001 is ringing
VERBOSE[3246] logger.c: [Jan 14 18:20:06]     -- SIP/9998-00000001 is making progress passing it to Local/5546144330@default-4df8,2
VERBOSE[2696] logger.c: [Jan 14 18:20:06]     -- Remote UNIX connection
VERBOSE[3267] logger.c: [Jan 14 18:20:06]   == Parsing '/etc/asterisk/manager.conf': [Jan 14 18:20:06] VERBOSE[3267] logger.c: [Jan 14 18:20:06] Found
VERBOSE[3267] logger.c: [Jan 14 18:20:06]   == Manager 'sendcron' logged on from 127.0.0.1
VERBOSE[3267] logger.c: [Jan 14 18:20:06]   == Manager 'sendcron' logged off from 127.0.0.1
ERROR[3232] utils.c: write() returned error: Broken pipe
VERBOSE[3232] logger.c: [Jan 14 18:20:09]   == Manager 'sendcron' logged off from 127.0.0.1
VERBOSE[3246] logger.c: [Jan 14 18:20:15]     -- SIP/9998-00000001 answered Local/5546144330@default-4df8,2
VERBOSE[3245] logger.c: [Jan 14 18:20:15]        > Channel Local/5546144330@default-4df8,1 was answered.
ERROR[3245] utils.c: write() returned error: Broken pipe
ERROR[3245] utils.c: write() returned error: Broken pipe
ERROR[3245] utils.c: write() returned error: Broken pipe
VERBOSE[3245] logger.c: [Jan 14 18:20:15]   == Manager 'sendcron' logged off from 127.0.0.1
VERBOSE[3304] logger.c: [Jan 14 18:20:15]     -- Executing [8368@default:1] Playback("Local/5546144330@default-4df8,1", "silence") in new stack
VERBOSE[3304] logger.c: [Jan 14 18:20:15]     -- <Local/5546144330@default-4df8,1> Playing 'silence' (language 'en')
WARNING[3304] file.c: Unexpected control subclass '-1'
VERBOSE[3246] logger.c: [Jan 14 18:20:15]   == Spawn extension (default, 5546144330, 4) exited non-zero on 'Local/5546144330@default-4df8,2'
VERBOSE[3304] logger.c: [Jan 14 18:20:15]     -- Executing [8368@default:2] AGI("SIP/9998-00000001", "agi://127.0.0.1:4577/call_log") in new stack
VERBOSE[3304] logger.c: [Jan 14 18:20:15]     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
VERBOSE[3304] logger.c: [Jan 14 18:20:15]     -- Executing [8368@default:3] AGI("SIP/9998-00000001", "agi-VDAD_ALL_outbound.agi|NORMAL-----LB") in new stack
VERBOSE[3304] logger.c: [Jan 14 18:20:15]     -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
VERBOSE[3304] logger.c: [Jan 14 18:20:16]     -- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
VERBOSE[3304] logger.c: [Jan 14 18:20:16]     -- Executing [8368@default:4] AGI("SIP/9998-00000001", "agi-VDAD_ALL_outbound.agi|NORMAL-----LB") in new stack
VERBOSE[3304] logger.c: [Jan 14 18:20:16]     -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
VERBOSE[3304] logger.c: [Jan 14 18:20:16]     -- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
VERBOSE[3304] logger.c: [Jan 14 18:20:16]     -- Executing [8368@default:5] Hangup("SIP/9998-00000001", "") in new stack
VERBOSE[3304] logger.c: [Jan 14 18:20:16]   == Spawn extension (default, 8368, 5) exited non-zero on 'SIP/9998-00000001'
VERBOSE[3321] logger.c: [Jan 14 18:20:17]   == Parsing '/etc/asterisk/manager.conf': [Jan 14 18:20:17] VERBOSE[3321] logger.c: [Jan 14 18:20:17] Found
VERBOSE[3321] logger.c: [Jan 14 18:20:17]   == Manager 'sendcron' logged on from 127.0.0.1
VERBOSE[3322] logger.c: [Jan 14 18:20:17]     -- Executing [5546144330@default:1] AGI("Local/5546144330@default-4431,2", "agi://127.0.0.1:4577/call_log") in new stack
VERBOSE[3322] logger.c: [Jan 14 18:20:17]     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
VERBOSE[3322] logger.c: [Jan 14 18:20:17]     -- Executing [5546144330@default:2] GotoIf("Local/5546144330@default-4431,2", "0?PonCID:Continua") in new stack
VERBOSE[3322] logger.c: [Jan 14 18:20:17]     -- Goto (default,5546144330,4)
VERBOSE[3322] logger.c: [Jan 14 18:20:17]     -- Executing [5546144330@default:4] Dial("Local/5546144330@default-4431,2", "SIP/946144330@9998||To") in new stack
VERBOSE[3322] logger.c: [Jan 14 18:20:17]     -- Called 946144330@9998
VERBOSE[2914] logger.c: [Jan 14 18:20:22]     -- Remote UNIX connection disconnected
VERBOSE[3322] logger.c: [Jan 14 18:20:24]     -- SIP/9998-00000002 is ringing
VERBOSE[3322] logger.c: [Jan 14 18:20:24]     -- SIP/9998-00000002 is making progress passing it to Local/5546144330@default-4431,2
VERBOSE[3322] logger.c: [Jan 14 18:20:28]     -- SIP/9998-00000002 answered Local/5546144330@default-4431,2
VERBOSE[3321] logger.c: [Jan 14 18:20:28]        > Channel Local/5546144330@default-4431,1 was answered.
VERBOSE[3321] logger.c: [Jan 14 18:20:28]   == Manager 'sendcron' logged off from 127.0.0.1
VERBOSE[3366] logger.c: [Jan 14 18:20:28]     -- Executing [8368@default:1] Playback("Local/5546144330@default-4431,1", "silence") in new stack
VERBOSE[3366] logger.c: [Jan 14 18:20:28]     -- <Local/5546144330@default-4431,1> Playing 'silence' (language 'en')
WARNING[3366] file.c: Unexpected control subclass '-1'
VERBOSE[3322] logger.c: [Jan 14 18:20:28]   == Spawn extension (default, 5546144330, 4) exited non-zero on 'Local/5546144330@default-4431,2'
VERBOSE[2774] logger.c: [Jan 14 18:20:28]     -- Got SIP response 405 "Method Not Allowed" back from 189.205.162.17
VERBOSE[3366] logger.c: [Jan 14 18:20:28]     -- Executing [8368@default:2] AGI("SIP/9998-00000002", "agi://127.0.0.1:4577/call_log") in new stack
VERBOSE[3366] logger.c: [Jan 14 18:20:28]     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
VERBOSE[3366] logger.c: [Jan 14 18:20:28]     -- Executing [8368@default:3] AGI("SIP/9998-00000002", "agi-VDAD_ALL_outbound.agi|NORMAL-----LB") in new stack
VERBOSE[3366] logger.c: [Jan 14 18:20:28]     -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
VERBOSE[3366] logger.c: [Jan 14 18:20:29]     -- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
VERBOSE[3366] logger.c: [Jan 14 18:20:29]     -- Executing [8368@default:4] AGI("SIP/9998-00000002", "agi-VDAD_ALL_outbound.agi|NORMAL-----LB") in new stack
VERBOSE[3366] logger.c: [Jan 14 18:20:29]     -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
VERBOSE[3366] logger.c: [Jan 14 18:20:29]     -- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
VERBOSE[3366] logger.c: [Jan 14 18:20:29]     -- Executing [8368@default:5] Hangup("SIP/9998-00000002", "") in new stack
VERBOSE[3366] logger.c: [Jan 14 18:20:29]   == Spawn extension (default, 8368, 5) exited non-zero on 'SIP/9998-00000002'


Other things I've already checked:
- I'm using compatible codecs
- No firewall between the agent and server

Regards,
ccabrera
 
Posts: 153
Joined: Fri Jan 14, 2011 7:53 pm
Location: Mexico City

Postby mflorell » Sat Jan 15, 2011 1:32 pm

Please post the agiout logfile output for this call.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ccabrera » Sat Jan 15, 2011 1:39 pm

Matt,

Its on my very first post of this topic, unless I'm not posting the right file which in that case please let me know which one is the correct one (I posted /var/log/astguiclient/agiout-20110114)

Regards,
ccabrera
 
Posts: 153
Joined: Fri Jan 14, 2011 7:53 pm
Location: Mexico City

Postby mflorell » Sat Jan 15, 2011 2:04 pm

OK, I just thought there would be more output. I'm not really sure what is going on, could you try upgrading to SVN/trunk?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ccabrera » Sat Jan 15, 2011 2:25 pm

I'm using goAutoDial. Can I upgrade this to trunk without breaking anything?
ccabrera
 
Posts: 153
Joined: Fri Jan 14, 2011 7:53 pm
Location: Mexico City

Postby ccabrera » Sat Jan 15, 2011 2:29 pm

Just to mention: The lines where it reads "+++--- duplicate" its because I edited the agi so that I could output some info for debug, but nevermind those lines, I forgot to erase them before posting.
ccabrera
 
Posts: 153
Joined: Fri Jan 14, 2011 7:53 pm
Location: Mexico City

Postby mflorell » Sat Jan 15, 2011 5:48 pm

If you upgrade to trunk you will have to use the standard agent interface, not the white one. Other than that, if you follow the UPGRADE doc instructions your upgrade should go fine.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby williamconley » Sat Jan 15, 2011 7:12 pm

Are you using an "interesting" custom dialplan for this carrier?
GotoIf("Local/5546144330@default-4df8,2", "0?PonCID:Continua") in new stack
VERBOSE[3246] logger.c: [Jan 14 18:20:02] -- Goto (default,5546144330,4)
Please post your dialplan entry for this carrier, and an actual test call with the fail visible and no other calls being placed.
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: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby ccabrera » Sun Jan 16, 2011 8:20 pm

William,

I started trying something interesting at first by modifying the caller id while doing "manual" calls through x-lite (without going through the agent interface). After reading that this could be messing up my call transfer, I stopped using that.

I'll ask a friend of mine to post the information required, since from where I am right now have no access to SIP calls.

Regards,
ccabrera
 
Posts: 153
Joined: Fri Jan 14, 2011 7:53 pm
Location: Mexico City

Postby williamconley » Mon Jan 17, 2011 8:17 am

set your cell phone up as an "external" phone in the system. then you can use/test your vicidial installation as an agent from anywhere.
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: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

The dialplan and log

Postby Oscar Huerta » Mon Jan 17, 2011 12:52 pm

exten => _9ZXXXXXXXXX,1,Goto(default,${EXTEN:1},1)
exten => _52ZXXXXXXXXX,1,Goto(default,${EXTEN:2},1)
exten => _ZXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _ZXXXXXXXXX,n,GotoIf($[${LEN(${CALLERID(num)})}<3]?PonCID:Continua)
exten => _ZXXXXXXXXX,n(PonCID),Set(CALLERID(num)=9999)
exten => _ZXXXXXXXXX,n(Continua),Dial(SIP/901${EXTEN}@9998,,To)
exten => _ZXXXXXXXXX,n,Hangup

exten => _55ZXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _55ZXXXXXXX,n,GotoIf($[${LEN(${CALLERID(num)})}<3]?PonCID:Continua)
exten => _55ZXXXXXXX,n(PonCID),Set(CALLERID(num)=9999)
exten => _55ZXXXXXXX,n(Continua),Dial(SIP/9${EXTEN:2}@9998,,To)
exten => _55ZXXXXXXX,n,Hangup



*************************************************************
[Jan 17 11:35:02] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 17 11:35:02] -- Executing [5546144330@default:1] AGI("Local/5546144330@default-8459,2", "agi://127.0.0.1:4577/call_log") in new stack
[Jan 17 11:35:02] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Jan 17 11:35:02] -- Executing [5546144330@default:2] GotoIf("Local/5546144330@default-8459,2", "0?PonCID:Continua") in new stack
[Jan 17 11:35:02] -- Goto (default,5546144330,4)
[Jan 17 11:35:02] -- Executing [5546144330@default:4] Dial("Local/5546144330@default-8459,2", "SIP/946144330@9998||To") in new stack
[Jan 17 11:35:02] -- Called 946144330@9998
[Jan 17 11:35:06] == Parsing '/etc/asterisk/manager.conf': [Jan 17 11:35:06] Found
[Jan 17 11:35:06] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 17 11:35:06] ERROR[24796]: utils.c:966 ast_carefulwrite: write() returned error: Connection reset by peer
[Jan 17 11:35:06] ERROR[24796]: utils.c:966 ast_carefulwrite: write() returned error: Broken pipe
[Jan 17 11:35:06] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 17 11:35:09] ERROR[24753]: utils.c:966 ast_carefulwrite: write() returned error: Broken pipe
[Jan 17 11:35:09] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 17 11:35:16] -- SIP/9998-00000001 is ringing
[Jan 17 11:35:16] -- SIP/9998-00000001 is making progress passing it to Local/5546144330@default-8459,2
[Jan 17 11:36:01] == Parsing '/etc/asterisk/manager.conf': [Jan 17 11:36:01] Found
[Jan 17 11:36:01] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 17 11:36:01] == Parsing '/etc/asterisk/manager.conf': [Jan 17 11:36:01] Found
[Jan 17 11:36:01] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 17 11:36:01] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 17 11:36:04] == Spawn extension (default, 5546144330, 4) exited non-zero on 'Local/5546144330@default-8459,2'
[Jan 17 11:36:04] ERROR[24778]: utils.c:966 ast_carefulwrite: write() returned error: Broken pipe
[Jan 17 11:36:04] ERROR[24778]: utils.c:966 ast_carefulwrite: write() returned error: Broken pipe
[Jan 17 11:36:04] ERROR[24778]: utils.c:966 ast_carefulwrite: write() returned error: Broken pipe
[Jan 17 11:36:04] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 17 11:36:04] -- Executing [h@default:1] DeadAGI("Local/5546144330@default-8459,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------") in new stack
[Jan 17 11:36:04] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Jan 17 11:36:06] == Parsing '/etc/asterisk/manager.conf': [Jan 17 11:36:06] Found
[Jan 17 11:36:06] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 17 11:36:07] ERROR[25072]: utils.c:966 ast_carefulwrite: write() returned error: Connection reset by peer
[Jan 17 11:36:07] ERROR[25072]: utils.c:966 ast_carefulwrite: write() returned error: Broken pipe
[Jan 17 11:36:07] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 17 11:36:09] ERROR[25036]: utils.c:966 ast_carefulwrite: write() returned error: Broken pipe
[Jan 17 11:36:09] == Manager 'sendcron' logged off from 127.0.0.1
Oscar Huerta
 
Posts: 1
Joined: Mon Jan 17, 2011 12:14 pm

Postby williamconley » Mon Jan 17, 2011 2:21 pm

Have you read the manual for standard setup of a trunk and its dial plan?

use a standard dial plan entry and it'll work. you don't seem to be dialing a "trunk" per se.

what is 9998?
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: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 89 guests