Inbound caller ID with 11 digits causes issues with variable

All installation and configuration problems and questions

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

Inbound caller ID with 11 digits causes issues with variable

Postby pifiu » Tue Sep 24, 2013 1:39 am

Running version:

VERSION: 2.8-410a
BUILD: 130824-2319

We were experiencing issues with our inbound call script, and upon troubleshooting it we found the following:

When the caller ID is an 11 digit number that begins with a one the variable did_extension is null. However, if the caller ID is passed as 10 digit number the variable is correct.
pifiu
 
Posts: 6
Joined: Sat Aug 10, 2013 2:21 pm

Re: Inbound caller ID with 11 digits causes issues with vari

Postby mflorell » Tue Sep 24, 2013 6:22 am

What country are you taking calls from?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Inbound caller ID with 11 digits causes issues with vari

Postby pifiu » Tue Sep 24, 2013 9:44 am

We are taking calls from the USA.
pifiu
 
Posts: 6
Joined: Sat Aug 10, 2013 2:21 pm

Re: Inbound caller ID with 11 digits causes issues with vari

Postby mflorell » Wed Sep 25, 2013 5:21 am

Then you should set the "Clean CID Number" field in your DIDs, to "R10". That will clean the CIDs as they come in.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Inbound caller ID with 11 digits causes issues with vari

Postby pifiu » Sat Sep 28, 2013 11:29 am

Any reason why it was working prior to the upgrade, and broke after?
pifiu
 
Posts: 6
Joined: Sat Aug 10, 2013 2:21 pm

Re: Inbound caller ID with 11 digits causes issues with vari

Postby williamconley » Sat Sep 28, 2013 9:50 pm

depends on how big your upgrade was. code is changed in spurts and your version could certainly have had a different behavior set in any one of several hundred ways before the upgrade. it's also possible that you modified DID settings (or added DIDs or removed them ...). You could look at the agi code in debug mode as it executes and find the issue down to the moment of occurrence and compare DIFFs to see how that area changed when you find it ... but that could be somewhat prohibitive.

My guess would be that your prior version just had a different behavior set for "default" DID treatment and somehow the unmatched DIDs with 11 digits were still being treated like matched DIDs. Just a guess though.
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 Support

Who is online

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