Reclassifying congestion as disconnected

Any and all non-support discussions

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

Reclassifying congestion as disconnected

Postby kwatson » Wed Dec 02, 2009 10:34 am

Hi, our carrier passes any invalid number back as congestion which isnt ideal for dialling.....


Is it possible via a macro to reclassify all congested calls as DC?

there is a script from correcting the hangup cause here (http://www.voip-info.org/wiki/view/Aste ... angupcause)

Which variables should I alter to get vicidial to disposition the call as a DC rather than just timing out as a NA?


Thanks

Kenny
kwatson
 
Posts: 36
Joined: Thu Jan 08, 2009 6:32 am

Postby Michael_N » Wed Dec 02, 2009 10:57 am

ask this a asterisk forum.. like forums.digium.com
Michael_N
 
Posts: 687
Joined: Wed Jul 05, 2006 3:13 pm
Location: sweden

Postby kwatson » Wed Dec 02, 2009 11:08 am

Hi, I have got the script working just unsure exaclty what vicidial is wanting to see for a DC.

I have tried setting the PRI_CAUSE/HANGUP/RC but vici just picks it up as a NA.

Just looking for a little help

Thanks
Kenny
kwatson
 
Posts: 36
Joined: Thu Jan 08, 2009 6:32 am

Postby gardo » Wed Dec 02, 2009 2:05 pm

Putting a dial status on your dialplan might help. Something like:

exten => _1NXXNXXXXXX,1,Dial(${Trunk}/${EXTEN},30,o)
exten => _1NXXNXXXXXX,n,Goto(s-${DIALSTATUS},1)

exten => s-CONGESTION,1,Congestion
exten => s-CONGESTION,2,Hangup

I'm just not sure what kind of STATUS Asterisk needs to send to Vici in order for it to be tagged as DC.
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby mflorell » Wed Dec 02, 2009 11:26 pm

For ViciDial you would need to alter the FastAGI_log script to have it classify these calls differently. The problem is that real network congestion happens as well, meaning that the call can come back as CONGESTION and then 5 minutes later you could make the same call without issues.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby kwatson » Thu Dec 03, 2009 4:58 am

Hi,

Thank you all for your responses

ok will look at the fastAGI for this as I will retry the DC's I would just like to split out the real ring outs from the bad numbers.

I believe that being able to retry real NA far more than the bad numbers out weights the negative of real congestion being lumped in as a bad number. And from a analysis a DC would only be a real DC after say 3 separate attempts.


Thanks
Kenny
Kenny
kwatson
 
Posts: 36
Joined: Thu Jan 08, 2009 6:32 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 75 guests

cron