Page 1 of 1

Autodial not working help plz

PostPosted: Sat Nov 22, 2008 9:45 am
by Epod
hi all iam new to here
iam haveing trouble with my callcenter dialer it was autodialing ok all we have done is move buildings and now for some reasion its dialing ok on manural and on auto it diales a number fine but it droping the call in like 3 sec after every call and does not give it to the agents phones ,it used to work fine befor the move i have taken a screen shot for u to see what is happening when a auto call is made hope some one can see what is up
Thanks Epod :D

Executing MeetMe("SIP/6015-081e24e0", "8600052") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600052'
-- Playing 'conf-onlyperson' (language 'en')
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/9phone number removed@default-fa0f,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/9phone number removed@default-fa0f,2", "sip/phone number removed@83.166.160.240|55|tTo") in new stack
-- Called phone number removed@83.166.160.240
-- SIP/83.166.160.240-081d24b8 is making progress passing it to Local/9phone number removed@default-fa0f,2
-- SIP/83.166.160.240-081d24b8 answered Local/9phone number removed@default-fa0f,2
> Channel Local/9phone number removed@default-fa0f,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing AGI("Local/9phone number removed@default-fa0f,1", "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("Local/9phone number removed@default-fa0f,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("Local/9phone number removed@default-fa0f,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("Local/9phone number removed@default-fa0f,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing Hangup("Local/9phone number removed@default-fa0f,1", "") in new stack
== Spawn extension (default, 8365, 5) exited non-zero on 'Local/9phone number removed@default-fa0f,1'
-- Executing DeadAGI("Local/9phone number removed@default-fa0f,1", "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 DeadAGI("Local/9phone number removed@default-fa0f,1", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Spawn extension (default, 9phone number removed, 2) exited non-zero on 'Local/9phone number removed@default-fa0f,2'
-- Executing DeadAGI("Local/9phone number removed@default-fa0f,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 DeadAGI("Local/9phone number removed@default-fa0f,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----15-----2)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... --15-----2) completed, returning 0

PostPosted: Sat Nov 22, 2008 10:02 am
by mflorell
Try adding Playback(sip-silence) to the beginning of your 8365 extension in extensions.conf.

PostPosted: Sat Nov 22, 2008 7:17 pm
by williamconley
If that does not work, a TEMPORARY BUGGY repair would be to change this line in agi-VDADtransfer.agi: (which is located in /var/lib/asterisk/agi-bin)

if ($AGILOG) {$agi_string = "+++++ VDAD START LOCAL CHANNEL: EXITING- $priority"; &agi_output;}
if ($priority > 2) {sleep(1);}
### exit;
}

you will be adding the ### in front of exit to comment it out (and make it easy to find when you come back to fix your issue).

this may cause the call to be connected to the agent but has TWO major flaws:

1) it will require that he agent push "hangup" at the "Show conference call channel information" for the customer's channel (#2) before pushing "HANGUP CUSTOMER" as they normally do.
2) during the call the wrong channel is recorded in the live agents table so the system will thing the customer has hung up. you will get a popup for this fairly soon after the start of the call, even though the customer will show as a channel in the conference.

I have another script modification to resolve this issue, but it's in a box that is in motion right now. Do not rely on this as a "fix" but rather as a VERY temporary "patch". I do not know if there will be other problems that arise from this method, so use it at your own risk. (basically if people will be out of work if you don't use this method, use it, I hate to see people sent home.)

If this was helpful in any way, please let me know.
this will cause the wrong chann

PostPosted: Sun Nov 23, 2008 11:06 am
by Epod
added Playback(sip-silence) to the extension.conf and it still does not work
i have phoned a number right after the dialer did the customer said they got the call and no one was there and hungup i hope some one can fix this as my job depends on it working right :O( no fix and iam out of a job

log from the call
Type "screen [-d] -r [pid.]tty.host" to resume one of them.
root@dialer:/etc/asterisk# screen -r 2436
-- Executing AGI("Local/9removed306408@default-b622,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/9removed306408@default-b622,2", "sip/removed306408@83.166.160.240|55|tTo") in new stack
-- Called removed306408@83.166.160.240
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/9removed730112@default-eb73,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/9removed730112@default-eb73,2", "sip/removed730112@83.166.160.240|55|tTo") in new stack
-- Called removed730112@83.166.160.240
-- SIP/83.166.160.240-081e5610 is making progress passing it to Local/9removed730112@default-eb73,2
== Refreshing DNS lookups.
-- SIP/83.166.160.240-081e5610 answered Local/9removed730112@default-eb73,2
> Channel Local/9removed730112@default-eb73,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing AGI("Local/9removed730112@default-eb73,1", "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 AMD("Local/9removed730112@default-eb73,1", "3500|1500|300|5000|120|50|5|256") in new stack
-- AMD: Local/9removed730112@default-eb73,1 (null) (null) (Fmt: 64)
-- AMD: initialSilence [3500] greeting [1500] afterGreetingSilence [300] totalAnalysisTime [5000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [5] silenceThreshold [256]
== Spawn extension (default, 9removed306408, 2) exited non-zero on 'Local/9removed306408@default-b622,2'
-- Executing DeadAGI("Local/9removed306408@default-b622,2", "agi://127.0.0.1:4577/call_log") in new stack
== Manager 'sendcron' logged off from 127.0.0.1
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/9removed306408@default-b622,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0

PostPosted: Sun Nov 23, 2008 11:29 am
by Epod
screen shot from ASTVDauto


|UPDATE vicidial_hopper set status='QUEUE', user='VDAD_192.168.1.95' where campaign_id='CHRIS' and status='READY' order by hopper_id LIMIT 1|
hopper rows updated to QUEUE: |1|
|SELECT lead_id,alt_dial FROM vicidial_hopper where campaign_id='CHRIS' and status='QUEUE' and user='VDAD_192.168.1.95' LIMIT 1|
|UPDATE vicidial_hopper set status='INCALL' where lead_id='1905983'|
hopper row updated to INCALL: |1|1905983|
2008-11-23 16:22:19|| number call dialed|CHRIS|V1123162219001905983|INSERT INTO vicidial_manager values('','','2008-11-23 16:22:19','NEW','N','192.168.1.95','','Originate','V1123162219001905983','Exten: 8365','Context: default','Channel: Local/901325357689@default','Priority: 1','Callerid: "V1123162219001905983" <8715220410>','Timeout: 120000','','','','')|0.00|NONE||
TIME DEBUG: 0.00|0.00|0| GMT: 16:22
2008-11-23 16:22:19|| lagged call vla agent PAUSED 0E0|20081123162149|20081123162209|20081123162219||
2008-11-23 16:22:19|| lagged call vac agent DELETED 0E0|2008-11-23 16:20:19||
2008-11-23 16:22:19|| lastcalldate UPDATED 1|'1028'||
2008-11-23 16:22:19|| logindate UPDATED 1|'CHRIS'||

loop counter: |5579074|
TIME DEBUG: 0.00|0.00|0| GMT: 16:22
2008-11-23 16:22:21|LIVE AGENTS LOGGED IN: 1 ACTIVE CALLS: 1|
2008-11-23 16:22:21|OLD TRUNK SHORTS CLEARED: 1 |'','CHRIS'||
2008-11-23 16:22:21|CHRIS 192.168.1.95: agents: 1 dial_level: 1|
2008-11-23 16:22:21|CHRIS 192.168.1.95: Calls to place: 0 (1 - 1) 1 |
2008-11-23 16:22:21|CAMPAIGN DIFFERENTIAL: 0.1 0.1 (0.1 - 0)|
2008-11-23 16:22:21|LOCAL TRUNK SHORTAGE: 0|0 (1 - 96)|
2008-11-23 16:22:21|CHRIS 192.168.1.95: CALLING|
TIME DEBUG: 0.00|0.00|0| GMT: 16:22
2008-11-23 16:22:21|| lagged call vla agent PAUSED 0E0|20081123162151|20081123162211|20081123162221||
2008-11-23 16:22:21|| lagged call vac agent DELETED 0E0|2008-11-23 16:20:21||
2008-11-23 16:22:21|| logindate UPDATED 1|'CHRIS'||

PostPosted: Sun Nov 23, 2008 12:07 pm
by Epod
root@dialer:/var/log/astguiclient# tail agiout.2008-11-23
2008-11-23 16:23:38|agi-VDADtransfer.agi| -- extension = 8365
2008-11-23 16:23:38|agi-VDADtransfer.agi| -- language = en
2008-11-23 16:23:38|agi-VDADtransfer.agi| -- priority = 5
2008-11-23 16:23:38|agi-VDADtransfer.agi| -- rdnis = unknown
2008-11-23 16:23:38|agi-VDADtransfer.agi| -- request = agi-VDADtransfer.agi
2008-11-23 16:23:38|agi-VDADtransfer.agi| -- type = Local
2008-11-23 16:23:38|agi-VDADtransfer.agi| -- uniqueid = 1227457402.19760
2008-11-23 16:23:38|agi-VDADtransfer.agi|AGI Variables: |1227457402.19760|Local/901325255970@default-10c9,1|8365|Local|V1123162322001905985|V1123162322001905985|5|
2008-11-23 16:23:38|agi-VDADtransfer.agi|+++++ VDAD START : |1905985|2008-11-23 16:23:38|1.2.17|5|
2008-11-23 16:23:38|agi-VDADtransfer.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 5

PostPosted: Sun Nov 23, 2008 4:00 pm
by mflorell
Please post the lines above these that you posted.

Do NOT comment out the Local call dump, other thing will break if you do that.

Are you altering CallerID in any way in your dialplan?

PostPosted: Tue Nov 25, 2008 6:48 am
by Epod
complete printout of the agiout file
2008-11-25 11:33:23|agi-VDADtransfer.agi|Perl Environment Dump:
2008-11-25 11:33:23|agi-VDADtransfer.agi|0|8365
2008-11-25 11:33:23|agi-VDADtransfer.agi|callerID changed: V1125113309007287566
2008-11-25 11:33:23|agi-VDADtransfer.agi|AGI Environment Dump:
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- accountcode =
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- callerid = 8715220410
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- calleridname = V1125113309007287566
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- callingani2 = 0
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- callingpres = 0
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- callingtns = 0
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- callington = 0
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- channel = Local/907814176842@default-b47f,1
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- context = default
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- dnid = unknown
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- enhanced = 0.0
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- extension = 8365
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- language = en
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- priority = 3
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- rdnis = unknown
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- request = agi-VDADtransfer.agi
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- type = Local
2008-11-25 11:33:23|agi-VDADtransfer.agi| -- uniqueid = 1227612789.640
2008-11-25 11:33:23|agi-VDADtransfer.agi|AGI Variables: |1227612789.640|Local/907814176842@default-b47f,1|8365|Local|V1125113309007287566|V1125113309007287566|3|
2008-11-25 11:33:23|agi-VDADtransfer.agi|+++++ VDAD START : |7287566|2008-11-25 11:33:23|1.2.17|3|
2008-11-25 11:33:23|agi-VDADtransfer.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 3
2008-11-25 11:33:24|agi-VDADtransfer.agi|Perl Environment Dump:
2008-11-25 11:33:24|agi-VDADtransfer.agi|0|8365
2008-11-25 11:33:24|agi-VDADtransfer.agi|callerID changed: V1125113309007287566
2008-11-25 11:33:24|agi-VDADtransfer.agi|AGI Environment Dump:
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- accountcode =
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- callerid = unknown
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- calleridname = V1125113309007287566
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- callingani2 = 0
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- callingpres = 0
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- callingtns = 0
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- callington = 0
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- channel = Local/907814176842@default-b47f,1
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- context = default
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- dnid = unknown
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- enhanced = 0.0
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- extension = 8365
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- language = en
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- priority = 4
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- rdnis = unknown
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- request = agi-VDADtransfer.agi
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- type = Local
2008-11-25 11:33:24|agi-VDADtransfer.agi| -- uniqueid = 1227612789.640
2008-11-25 11:33:24|agi-VDADtransfer.agi|AGI Variables: |1227612789.640|Local/907814176842@default-b47f,1|8365|Local|V1125113309007287566|V1125113309007287566|4|
2008-11-25 11:33:24|agi-VDADtransfer.agi|+++++ VDAD START : |7287566|2008-11-25 11:33:24|1.2.17|4|
2008-11-25 11:33:24|agi-VDADtransfer.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 4
2008-11-25 11:33:25|agi-VDADtransfer.agi|Perl Environment Dump:
2008-11-25 11:33:25|agi-VDADtransfer.agi|0|8365
2008-11-25 11:33:25|agi-VDADtransfer.agi|callerID changed: V1125113309007287566
2008-11-25 11:33:25|agi-VDADtransfer.agi|AGI Environment Dump:
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- accountcode =
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- callerid = unknown
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- calleridname = V1125113309007287566
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- callingani2 = 0
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- callingpres = 0
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- callingtns = 0
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- callington = 0
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- channel = Local/907814176842@default-b47f,1
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- context = default
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- dnid = unknown
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- enhanced = 0.0
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- extension = 8365
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- language = en
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- priority = 5
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- rdnis = unknown
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- request = agi-VDADtransfer.agi
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- type = Local
2008-11-25 11:33:25|agi-VDADtransfer.agi| -- uniqueid = 1227612789.640
2008-11-25 11:33:25|agi-VDADtransfer.agi|AGI Variables: |1227612789.640|Local/907814176842@default-b47f,1|8365|Local|V1125113309007287566|V1125113309007287566|5|
2008-11-25 11:33:25|agi-VDADtransfer.agi|+++++ VDAD START : |7287566|2008-11-25 11:33:25|1.2.17|5|
2008-11-25 11:33:25|agi-VDADtransfer.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 5
2008-11-25 11:33:40|agi-VDADtransfer.agi|Perl Environment Dump:
2008-11-25 11:33:40|agi-VDADtransfer.agi|0|8365
2008-11-25 11:33:40|agi-VDADtransfer.agi|callerID changed: V1125113329007287567
2008-11-25 11:33:40|agi-VDADtransfer.agi|AGI Environment Dump:
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- accountcode =
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- callerid = 8715220410
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- calleridname = V1125113329007287567
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- callingani2 = 0
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- callingpres = 0
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- callingtns = 0
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- callington = 0
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- channel = Local/907814176842@default-b85a,1
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- context = default
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- dnid = unknown
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- enhanced = 0.0
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- extension = 8365
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- language = en
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- priority = 3
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- rdnis = unknown
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- request = agi-VDADtransfer.agi
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- type = Local
2008-11-25 11:33:40|agi-VDADtransfer.agi| -- uniqueid = 1227612809.646
2008-11-25 11:33:40|agi-VDADtransfer.agi|AGI Variables: |1227612809.646|Local/907814176842@default-b85a,1|8365|Local|V1125113329007287567|V1125113329007287567|3|
2008-11-25 11:33:40|agi-VDADtransfer.agi|+++++ VDAD START : |7287567|2008-11-25 11:33:40|1.2.17|3|
2008-11-25 11:33:40|agi-VDADtransfer.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 3
2008-11-25 11:33:41|agi-VDADtransfer.agi|Perl Environment Dump:
2008-11-25 11:33:41|agi-VDADtransfer.agi|0|8365
2008-11-25 11:33:41|agi-VDADtransfer.agi|callerID changed: V1125113329007287567
2008-11-25 11:33:41|agi-VDADtransfer.agi|AGI Environment Dump:
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- accountcode =
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- callerid = unknown
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- calleridname = V1125113329007287567
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- callingani2 = 0
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- callingpres = 0
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- callingtns = 0
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- callington = 0
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- channel = Local/907814176842@default-b85a,1
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- context = default
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- dnid = unknown
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- enhanced = 0.0
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- extension = 8365
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- language = en
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- priority = 4
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- rdnis = unknown
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- request = agi-VDADtransfer.agi
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- type = Local
2008-11-25 11:33:41|agi-VDADtransfer.agi| -- uniqueid = 1227612809.646
2008-11-25 11:33:41|agi-VDADtransfer.agi|AGI Variables: |1227612809.646|Local/907814176842@default-b85a,1|8365|Local|V1125113329007287567|V1125113329007287567|4|
2008-11-25 11:33:41|agi-VDADtransfer.agi|+++++ VDAD START : |7287567|2008-11-25 11:33:41|1.2.17|4|
2008-11-25 11:33:41|agi-VDADtransfer.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 4
2008-11-25 11:33:42|agi-VDADtransfer.agi|Perl Environment Dump:
2008-11-25 11:33:42|agi-VDADtransfer.agi|0|8365
2008-11-25 11:33:42|agi-VDADtransfer.agi|callerID changed: V1125113329007287567
2008-11-25 11:33:42|agi-VDADtransfer.agi|AGI Environment Dump:
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- accountcode =
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- callerid = unknown
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- calleridname = V1125113329007287567
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- callingani2 = 0
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- callingpres = 0
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- callingtns = 0
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- callington = 0
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- channel = Local/907814176842@default-b85a,1
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- context = default
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- dnid = unknown
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- enhanced = 0.0
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- extension = 8365
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- language = en
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- priority = 5
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- rdnis = unknown
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- request = agi-VDADtransfer.agi
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- type = Local
2008-11-25 11:33:42|agi-VDADtransfer.agi| -- uniqueid = 1227612809.646
2008-11-25 11:33:42|agi-VDADtransfer.agi|AGI Variables: |1227612809.646|Local/907814176842@default-b85a,1|8365|Local|V1125113329007287567|V1125113329007287567|5|
2008-11-25 11:33:42|agi-VDADtransfer.agi|+++++ VDAD START : |7287567|2008-11-25 11:33:42|1.2.17|5|
2008-11-25 11:33:42|agi-VDADtransfer.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 5

PostPosted: Tue Nov 25, 2008 8:44 am
by mflorell
What codec are you using?

Is this SIP trunk registered?

PostPosted: Tue Nov 25, 2008 9:02 am
by Epod
Is this SIP trunk registered NO
code c is g729 on out bound trunks

PostPosted: Tue Nov 25, 2008 11:42 am
by Epod
code c is g729 on out bound trunks

PostPosted: Tue Nov 25, 2008 2:06 pm
by mcargile
Please post your extensions.conf.

Also did you remember to reload the extensions after adding the sip silence?

The reason I ask is I do not see sip-silence being played in your asterisk CLI output.

PostPosted: Wed Nov 26, 2008 5:55 am
by Epod
hi new print out showing sip-silence yes i did reload and have rebooted just to make sure still the same

Channel Local/XXXXX176842@default-0a60,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/XXXXX176842@default-0a60,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/XXXXX176842@default-0a60,1", "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("Local/XXXXX176842@default-0a60,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- SIP/83.166.160.240-081d2ab0 is making progress passing it to SIP/6029-081a0a50
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("Local/XXXXX176842@default-0a60,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Manager 'sendcron' logged off from 127.0.0.1
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("Local/XXXXX176842@default-0a60,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing Hangup("Local/XXXXX176842@default-0a60,1", "") in new stack
== Spawn extension (default, 8365, 6) exited non-zero on 'Local/XXXXX176842@default-0a60,1'
-- Executing DeadAGI("Local/XXXXX176842@default-0a60,1", "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 DeadAGI("Local/XXXXX176842@default-0a60,1", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Spawn extension (default, XXXXX176842, 2) exited non-zero on 'Local/XXXXX176842@default-0a60,2'
-- Executing DeadAGI("Local/XXXXX176842@default-0a60,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 DeadAGI("Local/XXXXX176842@default-0a60,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----16-----4)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... --16-----4) completed, returning 0

PostPosted: Wed Nov 26, 2008 7:14 am
by Epod
it wont let me post the extension.conf :O(
ive tryed all driffent ways to post it

In order to try to prevent spammers, we do not allow our users to post URLs or enter personal data into their profile until they have posted at least 2 legitimate posts and have been with us for more than 5 days. We appreciate your understanding in this matter in order to help us eliminate spam from this forum. If you have somehow gotten this message even though you meet both of the criteria, please let us know ASAP.

Thanks!

PostPosted: Wed Nov 26, 2008 9:09 am
by Epod
Having trouble, it won't allow me to post it. So its uploaded to jibbles.co.uk/extensions.conf

PostPosted: Wed Nov 26, 2008 10:02 pm
by mflorell
What version of the G729 codec are you using?

Have you tried another carrier?

PostPosted: Thu Nov 27, 2008 7:31 am
by Epod
codec was brought from digium 1.5 years ago and i cant remember the version of it sorry

one good thing is i tryed another carrier

and it worked to a local radio station test site
i changed the prifix to 5 as need to be for the test one thing i have notice that u dont have to use the prifix 9 to make a manual call on the phone
ive tryed X for no pri and still dont work

working call below

Executing Dial("Local/507814176842@default-4362,2", "sip/replaced||o") in new stack
-- Called replaced
-- SIP/replaced-08209420 is ringing
-- SIP/replaced-08209420 answered Local/507814176842@default-4362,2
> Channel Local/507814176842@default-4362,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/507814176842@default-4362,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/507814176842@default-4362,1", "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("Local/507814176842@default-4362,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Spawn extension (default, 507814176842, 2) exited non-zero on 'Local/507814176842@default-4362,2'
-- Executing DeadAGI("Local/507814176842@default-4362,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 DeadAGI("Local/507814176842@default-4362,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----5-----0)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ---5-----0) completed, returning 0
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/replaced-08209420", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing MeetMe("SIP/replaced-08209420", "8600051") in new stack
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/replaced-08209420'
-- Executing DeadAGI("SIP/replaced-08209420", "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 DeadAGI("SIP/replaced-08209420", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0

PostPosted: Thu Nov 27, 2008 11:49 am
by Epod
ive change the codec to ulaw and alaw and it still dont work

PostPosted: Fri Nov 28, 2008 11:06 am
by Epod
many thanks for all the help u guys have given me to fix the dialer :D
ive added the app_waitforsilence.c and it still didnt work :cry:

but ive added this code :lol:
if ($AGILOG) {$agi_string = "+++++ VDAD START LOCAL CHANNEL: EXITING- $priority"; &agi_output;}
if ($priority > 2) {sleep(1);}
### exit;
}

well added the ### to the line and it working again :D

i not this is a temp fix for now :wink:
so anyother help to fix it right will be much appreciated :wink: :wink: