looking for help with vtigercrm community edition /asterisk integration. Everything seem to be working fine except call to external numbers. if the call is made withing vtiger to a test extension (like ext:1234) everything works
but if a call is made from vtiger to PSTN (like: +1 (123)456-7890) i got this message.
-- SIP/7001-000000c1 answered
-- Executing [6318701615@vtiger:1] AGI("SIP/7001-000000c1", "agi://192.168.223.121/incoming.agi") in new stack
[Oct 29 19:38:41] WARNING[11189][C-0000035f]: res_agi.c:2037 handle_connection: Connecting to '192.168.223.121:4573' failed for url 'agi://192.168.223.121/incoming.agi': Connection refused
[Oct 29 19:38:41] WARNING[11189][C-0000035f]: res_agi.c:2097 launch_netscript: Couldn't connect to any host. FastAGI failed.
-- Executing [6318701615@vtiger:2] Set("SIP/7001-000000c1", "CALLFILENAME=OUT_29102024_1938_7001_6318**") in new stack
-- Executing [6318@vtiger:3] MixMonitor("SIP/7001-000000c1", "Var?spool/asterisk/monitor/OUT_29102024_1938_7001_6318.wav,b") in new stack
-- Executing [6318@vtiger:4] Set("SIP/7001-000000c1", "CDR(recordpath)=/var/spool/asterisk/monitor/OUT_29102024_1938_7001_6318****.wav") in new stack
== Begin MixMonitor Recording SIP/7001-000000c1
== Manager 'admin' logged off from 192.168.223.121
-- Auto fallthrough, channel 'SIP/7001-000000c1' status is 'UNKNOWN'
and it hangs up.
But I can call directly from that extension to a PSTN number.
I'm puzzled.