I’m testing vultr server with freepbx 13 image, and enjoyed really my configuration (9 trunks, 20 extensions).
Just having ONE issue with Cid Superfecta (updated to last 13.0.41) which seems no longer sending caller details to send-to sources, send-to-growl in my case.
this worked in debug mode correctly with Superfecta 13.0.31, but NOT AT ALL with inbound routes in production.
Have read this thread superfecta under freepbx forum few months ago, but Lorne advice didn’t worked for me (“Try ordering your Send-to source(s) above your lookup source(s)”
Had googled around, but seems no fix for this, anyone could hlep plz ?
Big thank for any help!
my configuration is very simple : i’m using Asterisk phonebook source, and send-to-growl module,
in debug mode (with last superfecta 13.0.41) : i have this in window
{“error”:{“type”:“Whoops\Exception\ErrorException”,“message”:“Uninitialized string offset: 0”,“file”:"/var/www/html/admin/modules/superfecta/includes/processors/superfecta_single.php",“line”:30}}
in Asterisk logfiles i noticed this detail :
[2017-11-11 23:50:36] VERBOSE[14091][C-00000027] res_agi.c: Launched AGI Script /var/www/html/admin/modules/superfecta/agi/superfecta.agi
[2017-11-11 23:50:36] VERBOSE[14091][C-00000027] res_agi.c: /var/www/html/admin/modules/superfecta/agi/superfecta.agi: Executing Scheme..
[2017-11-11 23:50:36] VERBOSE[14091][C-00000027] res_agi.c: /var/www/html/admin/modules/superfecta/agi/superfecta.agi: Scheme Asked is: Default
[2017-11-11 23:50:36] VERBOSE[14091][C-00000027] res_agi.c: /var/www/html/admin/modules/superfecta/agi/superfecta.agi: The DID is: 00XXXXXXXXXXX
[2017-11-11 23:50:36] VERBOSE[14091][C-00000027] res_agi.c: /var/www/html/admin/modules/superfecta/agi/superfecta.agi: The CNUM is: YYYYYYYYYY
[2017-11-11 23:50:36] VERBOSE[14091][C-00000027] res_agi.c: /var/www/html/admin/modules/superfecta/agi/superfecta.agi: The CNAME is: 510
[2017-11-11 23:50:36] VERBOSE[14091][C-00000027] res_agi.c: /var/www/html/admin/modules/superfecta/agi/superfecta.agi:
[2017-11-11 23:50:36] VERBOSE[14091][C-00000027] res_agi.c: /var/www/html/admin/modules/superfecta/agi/superfecta.agi: Starting scheme Default
[2017-11-11 23:50:36] VERBOSE[14091][C-00000027] res_agi.c: <SIP/trunk-name-00000028>AGI Script /var/www/html/admin/modules/superfecta/agi/**superfecta.agi completed, returning 0**
Removed all sources except the source-Send_to_URL.module source. Still not working.
Added debugging.
The superfecta single calls the source. But it does not implement get_caller_id. Found that the includes/superfecta_base.get_caller_id is actually called, which is a no operation.
In the source-Send_to_URL.module there is a function post_processing. This function is never called when I choose ‘run scheme’ from freepbx.
After adding following code to source-Send_to_URL.module it works again:
function get_caller_id($thenumber, $run_param=array()) {
print ‘get caller id’;
$this->DebugPrint(“Searching " . str_replace(”_", " “, get_class($this)) . " …”);
//Is this the best way to do this?
I am having this issue with asterisk 15. It was working fine with asterisk 13, now not with this. is there a setting I need to change for url lookup to work again? I know the url works if I paste it in the browser.
When I do a debug test for the cid superfetcha the URL is not sent.
Solution:
After some trouble shooting, it seems like the send to URL feature needs some sort of caller ID name info before it works. If its just the number, it won’t send the number to the URL.
So my CNAM was spent, so I re-enabled the geo location and trunk CID info, and right away the URL was being sent the correct number.