TIPS CID Superfecta is not applying to my calls

Alex Hackney

Member
Joined
Jun 2, 2014
Messages
151
Reaction score
17
I've got calls coming in and when I test the cid superfecta, it works. It queries and gets the caller id info as expected.

How ever when an actual call comes in, it does not apply the caller id info.

Here's a sample of the cli.

````
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: Executing Scheme..
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: Executing Scheme..
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: Scheme Asked is: ALL
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: Scheme Asked is: ALL
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: The DID is: 8885551212
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: The DID is: 8885551212
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: The CNUM is: 1234567890
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: The CNUM is: 1234567890
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: The CNAME is: 1234567890
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: The CNAME is: 1234567890
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: Setting channel variable SUPERFECTA_NEW: 1234567890
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: Setting channel variable SUPERFECTA_NEW: 1234567890
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: Setting channel variable SUPERFECTA_OLD: 1234567890
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: Setting channel variable SUPERFECTA_OLD: 1234567890
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Determined to be: '1234567890'
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Determined to be: '1234567890'
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: Attempting to set lookupcid
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: Attempting to set lookupcid
````

But when I test it in the module. It shows the caller name.
 

mainenotarynet

Not really a Guru - Just a long time user
Joined
May 29, 2010
Messages
618
Reaction score
82
Location
Bangor, ME USA
By sanitizing the output (with the same numbering patterns) it looks like it works. Try again but for each number use a different pattern.

Like your DID is 8885551212 -- CNUM is 12345678999 -- CNAME is somedude's name

come up with different patterns for SUperfecta, and superfecta_old (unless the old is the same as CID Num)

Plus it looks like it is running every line of code twice.

We need more.
 

Members online

No members online now.

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,520
Messages
138,557
Members
14,644
Latest member
goseph