Hi, thanks for your reply, the following methods
exten => _1NXXNXXXXXX,2,Dial(${EXTEN}/${601},55,o)
exten => _1NXXNXXXXXX,2,Dial(${601}/${EXTEN:1},55,o)
give this output
-- Executing AGI("SIP/cc100-0969bc48", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("SIP/cc100-0969bc48", "601@192.168.20.5:5060/2156475564|55|o") in new stack
Apr 25 06:55:12 WARNING[309]: channel.c:2621 ast_request: No channel type registered for
'601@192.168.20.5:5060'
Apr 25 06:55:12 NOTICE[309]: app_dial.c:1076 dial_exec_full: Unable to create channel of type
'601@192.168.20.5:5060' (cause 66 - Channel not implemented)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Hangup("SIP/cc100-0969bc48", "") in new stack
== Spawn extension (default, 12156475564, 3) exited non-zero on 'SIP/cc100-0969bc48'
-- Executing DeadAGI("SIP/cc100-0969bc48", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----66-----CHANUNAVAIL----------") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
while this one
exten => _1NXXNXXXXXX,2,dial(SIP/${EXTEN}@SIPtrunk,55,o)
gives me the cli output
-- Executing AGI("SIP/cc100-09697b98", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("SIP/cc100-09697b98", "SIP/12156475564@601|55|o") in new stack
-- Called 12156475564@601
Apr 25 07:01:08 NOTICE[2529]: chan_sip.c:9879 handle_response_invite: Failed to authenticate on INVITE to '"cc100" <sip:cc100@192.168.20.60>;tag=as361293c4'
-- SIP/601-096cac78 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Hangup("SIP/cc100-09697b98", "") in new stack
== Spawn extension (default, 12156475564, 3) exited non-zero on 'SIP/cc100-09697b98'
-- Executing DeadAGI("SIP/cc100-09697b98", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----CONGESTION----------") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
the provider for this vicidial box is an elastix box i have on my network which is connected to the VOIP carrier via SIP, i use the extension 601 in the elastix box as a trunk for the vicidial box.
Just to make a note, if i use these settings manually the vicibox works perfectly, the problem is when i use them via de web gui.
Thank you very much for your help.
Jaime Gonzalez.