Call Hangup problem

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Call Hangup problem

Postby wimehraz » Mon Aug 08, 2011 12:57 am

I am using FXO module for inbound calls . But and inbound call comes to agents but it hangups automatically immediately .

Here is my versions :

Installer : GoAutoDial CE 2.1

Astguiclient VERSION: 2.4-309a
BUILD: 110430-1642

Kernel VERSION: 2.6.18-238.9.1.el5.goPAE
BUILD: 100510-2015
Asterisk: 1.4.39.1-vici
CentOS release 5.6 32 bit


This is my Chan_Dahdi:


; Auto-generated by /usr/sbin/hardware_detector
[trunkgroups]

[channels]
context=trunkinbound
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1

;Uncomment these lines if you have problems with the disconection of your analog lines
busydetect=yes
busycount=3


This is my extensions .conf

#include extensions-vicidial.conf

[trunkinbound]
; DID call routing process
exten => s,1,Answer()
exten => s,n,Playback(please_enter_id_number)
exten => s,n,Set(counter=0)
exten => s,n,Read(regid,please_enter_id_number,5,,2,15)
exten => s,n,Set(regid=${regid})
exten => s,n,AGI(agi-DID_route.agi)


Please let me know , if there is anything needed .
wimehraz
 
Posts: 4
Joined: Sun Jul 10, 2011 3:43 am

Postby wimehraz » Mon Aug 08, 2011 3:28 am

This is the output in cli :


[Aug 8 11:25:49] VERBOSE[18942] logger.c: [Aug 8 11:25:49] -- Starting simple switch on 'DAHDI/1-1'
[Aug 8 11:25:51] VERBOSE[18942] logger.c: [Aug 8 11:25:51] -- Executing [s@trunkinbound:1] Answer("DAHDI/1-1", "") in new stack
[Aug 8 11:25:51] DEBUG[18942] chan_dahdi.c: Took DAHDI/1-1 off hook
[Aug 8 11:25:51] DEBUG[18942] chan_dahdi.c: Engaged echo training on channel 1
[Aug 8 11:25:51] VERBOSE[18942] logger.c: [Aug 8 11:25:51] -- Executing [s@trunkinbound:2] Playback("DAHDI/1-1", "please_enter_id_number") in new stack
[Aug 8 11:25:51] VERBOSE[18942] logger.c: [Aug 8 11:25:51] -- <DAHDI/1-1> Playing 'please_enter_id_number' (language 'en')
[Aug 8 11:25:53] VERBOSE[18942] logger.c: [Aug 8 11:25:53] -- Executing [s@trunkinbound:3] Set("DAHDI/1-1", "counter=0") in new stack
[Aug 8 11:25:53] VERBOSE[18942] logger.c: [Aug 8 11:25:53] -- Executing [s@trunkinbound:4] Read("DAHDI/1-1", "regid|please_enter_id_number|5||2|15") in new stack
[Aug 8 11:25:53] VERBOSE[18942] logger.c: [Aug 8 11:25:53] -- Accepting a maximum of 5 digits.
[Aug 8 11:25:53] VERBOSE[18942] logger.c: [Aug 8 11:25:53] -- <DAHDI/1-1> Playing 'please_enter_id_number' (language 'en')
[Aug 8 11:26:01] VERBOSE[19203] logger.c: [Aug 8 11:26:01] == Parsing '/etc/asterisk/manager.conf': [Aug 8 11:26:01] VERBOSE[19203] logger.c: [Aug 8 11:26:01] Found
[Aug 8 11:26:01] VERBOSE[19203] logger.c: [Aug 8 11:26:01] == Manager 'sendcron' logged on from 127.0.0.1
[Aug 8 11:26:02] VERBOSE[19218] logger.c: [Aug 8 11:26:02] == Parsing '/etc/asterisk/manager.conf': [Aug 8 11:26:02] VERBOSE[19218] logger.c: [Aug 8 11:26:02] Found
[Aug 8 11:26:02] VERBOSE[19218] logger.c: [Aug 8 11:26:02] == Manager 'sendcron' logged on from 127.0.0.1
[Aug 8 11:26:02] VERBOSE[19218] logger.c: [Aug 8 11:26:02] == Manager 'sendcron' logged off from 127.0.0.1
[Aug 8 11:26:02] VERBOSE[18942] logger.c: [Aug 8 11:26:02] -- User entered '54'
[Aug 8 11:26:02] VERBOSE[18942] logger.c: [Aug 8 11:26:02] -- Executing [s@trunkinbound:5] Set("DAHDI/1-1", "regid=54") in new stack
[Aug 8 11:26:02] VERBOSE[18942] logger.c: [Aug 8 11:26:02] -- Executing [s@trunkinbound:6] AGI("DAHDI/1-1", "agi-DID_route.agi") in new stack
[Aug 8 11:26:02] VERBOSE[18942] logger.c: [Aug 8 11:26:02] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
[Aug 8 11:26:02] ERROR[18942] utils.c: write() returned error: Broken pipe
[Aug 8 11:26:02] ERROR[18942] utils.c: write() returned error: Broken pipe
[Aug 8 11:26:02] VERBOSE[18942] logger.c: [Aug 8 11:26:02] -- AGI Script agi-DID_route.agi completed, returning 0
[Aug 8 11:26:02] VERBOSE[18942] logger.c: [Aug 8 11:26:02] -- Executing [99909*2***DID@default:1] Answer("DAHDI/1-1", "") in new stack
[Aug 8 11:26:02] VERBOSE[18942] logger.c: [Aug 8 11:26:02] -- Executing [99909*2***DID@default:2] AGI("DAHDI/1-1", "agi-VDAD_ALL_inbound.agi") in new stack
[Aug 8 11:26:02] VERBOSE[18942] logger.c: [Aug 8 11:26:02] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
[Aug 8 11:26:03] VERBOSE[18942] logger.c: [Aug 8 11:26:03] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Aug 8 11:26:03] VERBOSE[18942] logger.c: [Aug 8 11:26:03] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Aug 8 11:26:03] VERBOSE[19249] logger.c: [Aug 8 11:26:03] == Parsing '/etc/asterisk/manager.conf': [Aug 8 11:26:03] VERBOSE[19249] logger.c: [Aug 8 11:26:03] Found
[Aug 8 11:26:03] VERBOSE[19249] logger.c: [Aug 8 11:26:03] == Manager 'sendcron' logged on from 127.0.0.1
[Aug 8 11:26:03] VERBOSE[19250] logger.c: [Aug 8 11:26:03] -- Executing [192*168*010*077*78600051@default:1] AGI("Local/192*168*010*077*78600051@default-a5ae,2", "agi://127.0.0.1:4577/call_log") in new stack
[Aug 8 11:26:03] VERBOSE[19250] logger.c: [Aug 8 11:26:03] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Aug 8 11:26:03] VERBOSE[19250] logger.c: [Aug 8 11:26:03] -- Executing [192*168*010*077*78600051@default:2] Dial("Local/192*168*010*077*78600051@default-a5ae,2", "/192*168*010*077*78600051|55|To") in new stack

[Aug 8 11:26:03] VERBOSE[19250] logger.c: [Aug 8 11:26:03] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Aug 8 11:26:03] VERBOSE[19250] logger.c: [Aug 8 11:26:03] -- Executing [192*168*010*077*78600051@default:2] Dial("Local/192*168*010*077*78600051@default-a5ae,2", "/192*168*010*077*78600051|55|To") in new stack
[Aug 8 11:26:03] WARNING[19250] channel.c: No channel type registered for ''
[Aug 8 11:26:03] WARNING[19250] app_dial.c: Unable to create channel of type '' (cause 66 - Channel not implemented)
[Aug 8 11:26:03] VERBOSE[19250] logger.c: [Aug 8 11:26:03] == Everyone is busy/congested at this time (1:0/0/1)
[Aug 8 11:26:03] VERBOSE[19250] logger.c: [Aug 8 11:26:03] -- Executing [h@default:1] DeadAGI("Local/192*168*010*077*78600051@default-a5ae,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----66-----CHANUNAVAIL----------") in new stack
[Aug 8 11:26:03] VERBOSE[19250] logger.c: [Aug 8 11:26:03] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Aug 8 11:26:03] VERBOSE[19203] logger.c: [Aug 8 11:26:03] == Manager 'sendcron' logged off from 127.0.0.1
[Aug 8 11:26:04] VERBOSE[18942] logger.c: [Aug 8 11:26:04] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Aug 8 11:26:04] VERBOSE[18942] logger.c: [Aug 8 11:26:04] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Aug 8 11:26:04] VERBOSE[18942] logger.c: [Aug 8 11:26:04] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Aug 8 11:26:04] VERBOSE[18942] logger.c: [Aug 8 11:26:04] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Aug 8 11:26:04] VERBOSE[18942] logger.c: [Aug 8 11:26:04] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Aug 8 11:26:04] VERBOSE[18942] logger.c: [Aug 8 11:26:04] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Aug 8 11:26:04] ERROR[18942] utils.c: write() returned error: Broken pipe
[Aug 8 11:26:04] VERBOSE[18942] logger.c: [Aug 8 11:26:04] -- AGI Script agi-VDAD_ALL_inbound.agi completed, returning 0
[Aug 8 11:26:04] VERBOSE[18942] logger.c: [Aug 8 11:26:04] -- Executing [192*168*010*077*8600051@default:1] AGI("DAHDI/1-1", "agi://127.0.0.1:4577/call_log") in new stack
[Aug 8 11:26:04] VERBOSE[18942] logger.c: [Aug 8 11:26:04] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Aug 8 11:26:04] VERBOSE[18942] logger.c: [Aug 8 11:26:04] -- Executing [192*168*010*077*8600051@default:2] Dial("DAHDI/1-1", "/192*168*010*077*8600051|55|To") in new stack
[Aug 8 11:26:04] WARNING[18942] channel.c: No channel type registered for ''
[Aug 8 11:26:04] WARNING[18942] app_dial.c: Unable to create channel of type '' (cause 66 - Channel not implemented)
[Aug 8 11:26:04] VERBOSE[18942] logger.c: [Aug 8 11:26:04] == Everyone is busy/congested at this time (1:0/0/1)
[Aug 8 11:26:04] VERBOSE[18942] logger.c: [Aug 8 11:26:04] -- Executing [192*168*010*077*8600051@default:3] Hangup("DAHDI/1-1", "") in new stack
[Aug 8 11:26:04] VERBOSE[18942] logger.c: [Aug 8 11:26:04] == Spawn extension (default, 192*168*010*077*8600051, 3) exited non-zero on 'DAHDI/1-1'
[Aug 8 11:26:04] VERBOSE[18942] logger.c: [Aug 8 11:26:04] -- Executing [h@default:1] DeadAGI("DAHDI/1-1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----66-----CHANUNAVAIL----------") in new stack
[Aug 8 11:26:04] VERBOSE[18942] logger.c: [Aug 8 11:26:04] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Aug 8 11:26:04] VERBOSE[18942] logger.c: [Aug 8 11:26:04] -- Hungup 'DAHDI/1-1'
wimehraz
 
Posts: 4
Joined: Sun Jul 10, 2011 3:43 am

Postby williamconley » Mon Aug 08, 2011 11:28 pm

You have modified your extensions.conf file. Try putting it back to "stock".
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby wimehraz » Tue Aug 09, 2011 1:46 am

Is my modification is not correct ? I mean i just added few lines before forwarding to AGI , actually i need that modification . Your suggestions will be really appreciable .

Thank you .
wimehraz
 
Posts: 4
Joined: Sun Jul 10, 2011 3:43 am

Postby williamconley » Tue Aug 09, 2011 7:55 am

you'll find out if it's not correct when you delete it and your inbound calls start working correctly. if they do not, your problem lies elsewhere. but that's your first test.
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: 20258
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 93 guests