Congestion and Hang-up

All installation and configuration problems and questions

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

Congestion and Hang-up

Postby felfel » Wed Aug 06, 2008 8:40 am

the autodialer (and manual dialing) passes only few calls, the majority of calls are hangu-up. I tried with 2.04rc1 and updateed to 2.04rc3 and it's the same probleme. My provider don't seem to have the calls from my server.


-- Executing DeadAGI("Local/90559600369@default-bc43,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----1-----CONGESTION----------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
-- SIP/331001-082d6b90 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Hangup("Local/90559280105@default-6193,2", "") in new stack
== Spawn extension (default, 90559280105, 3) exited non-zero on 'Local/90559280105@default-6193,2'
-- Executing DeadAGI("Local/90559280105@default-6193,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----1-----CONGESTION----------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
-- Executing AGI("SIP/303-b6114d48", "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("SIP/303-b6114d48", "SIP/331001/0033561276880|55|tTo") in new stack
-- Called 331001/0033561276880
-- SIP/331001-0832c978 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Hangup("SIP/303-b6114d48", "") in new stack
== Spawn extension (default, 90033561276880, 3) exited non-zero on 'SIP/303-b6114d48'
-- Executing DeadAGI("SIP/303-b6114d48", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----1-----CONGESTION----------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing AGI("SIP/303-b6117968", "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("SIP/303-b6117968", "SIP/331001/0033561276880|55|tTo") in new stack
-- Called 331001/0033561276880
-- SIP/331001-0832c978 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Hangup("SIP/303-b6117968", "") in new stack
== Spawn extension (default, 90033561276880, 3) exited non-zero on 'SIP/303-b6117968'
-- Executing DeadAGI("SIP/303-b6117968", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----1-----CONGESTION----------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
felfel
 
Posts: 15
Joined: Wed Aug 06, 2008 8:33 am
Location: tunisia & france

Postby mflorell » Wed Aug 06, 2008 9:36 am

have you confirmed how the carrier needs to receive digits for the call to go through?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby felfel » Wed Aug 06, 2008 9:47 am

mflorell wrote:have you confirmed how the carrier needs to receive digits for the call to go through?


I don't understand the meaning of your sentence (I apologize for my english)

but this is my extension.conf

[general]
static=yes
writeprotect=no
autofallthrough=yes
language=fr
[default]

##### This 'h' exten is VERY important for VICIDIAL usage,
##### you will have problems if it is not in your dialplan!

exten => h,1,DeadAGI(agi://127.0.0.1:4577/VD_hangup--HVcause ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME}))


exten=>101,1,Playback(transfer)
exten=>101,2,Dial(SIP/101@101|20|to)
exten=>101,3,Voicemail(77101)

exten=>102,1,Playback(transfer)
exten=>102,2,Dial(SIP/102@102|20|to)
exten=>102,3,Voicemail(77102)

exten=>201,1,Playback(transfer)
exten=>201,2,Dial(IAX2/201@201|20|to)
exten=>201,3,Voicemail(77101)

exten=>202,1,Playback(transfer)
exten=>202,2,Dial(IAX2/202@202|20|to)
exten=>202,3,Voicemail(77102)
exten=>_3XX,1,Playback(transfer)
exten=>_3XX,2,Dial(SIP/${EXTEN}|20|to)
exten=>_3XX,3,Voicemail(77${EXTEN})

exten=>8600,1,Meetme(8600)
exten=>8601,1,Meetme(8601)
; dial a long distance outbound number
exten => _9.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9.,2,Dial(SIP/331001/${EXTEN:1},,tTo)
exten => _9.,3,Hangup

exten => 8600001,1,Meetme,8600001|q
exten => 8600002,1,Meetme,8600002|q
....
exten => 8600028,1,Meetme,8600028|q
exten => 8600029,1,Meetme,8600029|q



exten => 8600051,1,Meetme,8600051
exten => 8600052,1,Meetme,8600052
.....
exten => 8600198,1,Meetme,8600198
exten => 8600199,1,Meetme,8600199
exten => 8600200,1,Meetme,8600200
; quiet entry and leaving conferences for VICIDIAL
exten => _78600XXX,1,Meetme,${EXTEN:1}|q
; quiet monitor extensions for meetme rooms (for room managers)
exten => _68600XXX,1,Meetme,${EXTEN:1}|mq


; park channel for client GUI parking, hangup after 30 minutes
; create a GSM formatted audio file named "park.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds
exten => 8301,1,Answer
exten => 8301,2,AGI(park_CID.agi)
exten => 8301,3,Playback(park)
exten => 8301,4,Hangup
exten => 8303,1,Answer
exten => 8303,2,AGI(park_CID.agi)
exten => 8303,3,Playback(conf)
exten => 8303,4,Hangup

; park channel for client GUI conferencing, hangup after 30 minutes
; create a GSM formatted audio file named "conf.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds
exten => 8302,1,Answer
exten => 8302,2,Playback(conf)
exten => 8302,3,Hangup

exten => 8304,1,Answer
exten => 8304,2,Playback(ding)
exten => 8304,3,Hangup

; default audio for safe harbor 2-second-after-hello message then hangup
; create a GSM formatted audio file complies with safe harbor rules
; and put it in /var/lib/asterisk/sounds then change filename below
exten => 8307,1,Answer
exten => 8307,2,Playback(vm-goodbye)
exten => 8307,3,Hangup

; this is used for recording conference calls, the client app sends the filename
; value as a callerID recordings go to /var/spool/asterisk/monitor (WAV)
exten => 8309,1,Answer
exten => 8309,2,Monitor(wav,${CALLERIDNAME})
exten => 8309,3,Wait,3600
exten => 8309,4,Hangup

; this is used for recording conference calls, the client app sends the filename
; value as a callerID recordings go to /var/spool/asterisk/monitor (GSM)
exten => 8310,1,Answer
exten => 8310,2,Monitor(gsm,${CALLERIDNAME})
exten => 8310,3,Wait,3600
exten => 8310,4,Hangup

; this is used for playing a message to an answering machine forwarded from AMD in VICIDIAL
; replace conf with the message file you want to leave
exten => 8320,1,WaitForSilence(2000,2) ; AMD got machine. leave message after recording
exten => 8320,2,Playback(conf)
exten => 8320,3,AGI(VD_amd_post.agi,${EXTEN})
exten => 8320,4,Hangup

; this is used to allow the GUI to send you directly into voicemail
; don't forget to set GUI variable $voicemail_exten to this extension
exten => 8501,1,VoicemailMain(s${CALLERIDNUM})
exten => 8501,2,Hangup

; this is used to allow the GUI to send live calls directly into voicemail
; don't forget to set GUI variable $voicemail_dump_exten to this extension
exten => _85026666666666.,1,Wait(2)
exten => _85026666666666.,2,Voicemail(${EXTEN:14})
exten => _85026666666666.,3,Hangup

; this is used for sending DTMF signals within conference calls, the client app
; sends the digits to be played in the callerID field
; sound files must be placed in /var/lib/asterisk/sounds
exten => 8500998,1,Answer
exten => 8500998,2,Playback(silence)
exten => 8500998,3,AGI(agi-dtmf.agi)
exten => 8500998,4,Hangup

; prompt recording AGI script, ID is 4321
exten => 8168,1,Answer
exten => 8168,2,AGI(agi-record_prompts.agi)
exten => 8168,3,Hangup

; playback of recorded prompts
exten => _851XXXXX,1,Answer
exten => _851XXXXX,2,Playback(${EXTEN})
exten => _851XXXXX,3,Hangup

#### VDAD STANDARD TRANSFER ENTRIES ####
; VICIDIAL_auto_dialer transfer script for no-agent campaigns:
exten => 8364,1,Playback(sip-silence)
exten => 8364,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8364,3,AGI(agi-VDADtransferBROADCAST.agi,${EXTEN})
exten => 8364,4,AGI(agi-VDADtransferBROADCAST.agi,${EXTEN})
exten => 8364,5,Hangup

; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,AGI(agi://127.0.0.1:4577/call_log)
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

; VICIDIAL_auto_dialer transfer script SURVEY at beginning:
exten => 8366,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 8366,2,AGI(agi-VDADtransferSURVEY.agi,${EXTEN})
exten => 8366,3,AGI(agi-VDADtransferSURVEY.agi,${EXTEN})
exten => 8366,4,AGI(agi-VDADtransferSURVEY.agi,${EXTEN})
exten => 8366,5,Hangup

; VICIDIAL_auto_dialer transfer script Load Balance Overflow:
exten => 8367,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 8367,2,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,3,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,4,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,5,Hangup

; VICIDIAL_auto_dialer transfer script Load Balanced:
exten => 8368,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 8368,2,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,3,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,4,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,5,Hangup

; VICIDIAL_auto_dialer transfer script AMD with Load Balanced:
exten => 8369,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 8369,2,AMD(3500|1500|300|5000|120|50|5|256)
exten => 8369,3,AGI(VD_amd.agi,${EXTEN})
exten => 8369,4,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8369,5,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8369,6,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8369,7,Hangup

; VICIDIAL auto-dial reminder script
exten => 8372,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 8372,2,AGI(agi-VDADautoREMINDER.agi,${EXTEN})
exten => 8372,3,AGI(agi-VDADautoREMINDER.agi,${EXTEN})
exten => 8372,4,AGI(agi-VDADautoREMINDER.agi,${EXTEN})
exten => 8372,5,Hangup

#### VDAD SIP UNREGISTERED TRANSFER ENTRIES ####
#### Use these entries IN PLACE OF the entries above if you are using SIP trunks
#### and are not registering your provider in sip.conf
; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,Playback(sip-silence)
exten => 8365,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8365,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,5,Hangup

; VICIDIAL_auto_dialer transfer script SURVEY at beginning:
exten => 8366,1,Playback(sip-silence)
exten => 8366,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8366,3,AGI(agi-VDADtransferSURVEY.agi,${EXTEN})
exten => 8366,4,AGI(agi-VDADtransferSURVEY.agi,${EXTEN})
exten => 8366,5,Hangup

; VICIDIAL_auto_dialer transfer script Load Balance Overflow:
exten => 8367,1,Playback(sip-silence)
exten => 8367,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8367,3,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,4,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,5,Hangup

; VICIDIAL_auto_dialer transfer script Load Balanced:
exten => 8368,1,Playback(sip-silence)
exten => 8368,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8368,3,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,4,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,5,Hangup

; VICIDIAL_auto_dialer transfer script AMD with Load Balanced:
exten => 8369,1,Playback(sip-silence)
exten => 8369,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8369,3,AMD(3500|1500|300|5000|120|50|5|256)
exten => 8369,4,AGI(VD_amd.agi,${EXTEN})
exten => 8369,5,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8369,6,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8369,7,Hangup

; VICIDIAL auto-dial reminder script
exten => 8372,1,Playback(sip-silence)
exten => 8372,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8372,3,AGI(agi-VDADautoREMINDER.agi,${EXTEN})
exten => 8372,4,AGI(agi-VDADautoREMINDER.agi,${EXTEN})
exten => 8372,5,Hangup

; MANDITORY VDAD extens:
; In this setup, the serverIP is the prefix followed by agent conf_exten
; These lines are REQUIRED for VICIDIAL to work properly
; local server extens:
exten => _192*168*001*004*8600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*001*004*8600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _192*168*001*004*78600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*001*004*78600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
felfel
 
Posts: 15
Joined: Wed Aug 06, 2008 8:33 am
Location: tunisia & france

Postby felfel » Wed Aug 06, 2008 10:30 am

I really have no idea to resolve this problem, if any consultant can help!

I can pay for this

thanks
felfel
 
Posts: 15
Joined: Wed Aug 06, 2008 8:33 am
Location: tunisia & france

Postby mflorell » Wed Aug 06, 2008 1:42 pm

Did you ever receive any instructions from your carrier as to how exactly you need to format your dialstring so that calls can go through?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

hello

Postby eliasferreyra » Thu Aug 07, 2008 1:04 am

look

you have the 8365 context uncommented both

; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,AGI(agi://127.0.0.1:4577/call_log)
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


exten => 8365,1,Playback(sip-silence)
exten => 8365,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8365,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,5,Hangup


i really recomend to you to use only

exten => 8365,1,Playback(sip-silence)
exten => 8365,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8365,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,5,Hangup

and coment this :D


; VICIDIAL_auto_dialer transfer script:
;exten => 8365,1,AGI(agi://127.0.0.1:4577/call_log)
;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
“Better to remain silent and be thought a fool than to speak out and remove all doubt.”
-Abraham Lincoln
eliasferreyra
 
Posts: 367
Joined: Wed Jul 18, 2007 3:27 pm

Postby felfel » Mon Aug 11, 2008 5:23 am

Thanks for all,

The problem was that I have to asterisk servers (production and test) which connect to the provider with the same account.
felfel
 
Posts: 15
Joined: Wed Aug 06, 2008 8:33 am
Location: tunisia & france


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 108 guests