hi matt,
i just installed another box with vicidial_scratch i am having this problem with 1st vici box also with this one.
here is my dial out context.
Context 1
; dial a local 646 outbound number with area code
exten => _1NXXNXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _1NXXNXXXXXX,2,Dial,SIP/${EXTEN:1}@PTCL||tTo)
exten => _1NXXNXXXXXX,3,Hangup
Context 2
; dial a local 646 outbound number with area code
exten => _.1NXXNXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _.1NXXNXXXXXX,2,Dial,SIP/${EXTEN:1}@PTCL||tTo)
exten => _.1NXXNXXXXXX,3,Hangup
Problem:
when i use Context No. 1 i get invalid option message on my phone. because it adds 9 before my number as on campaign i have Prefix=1 set
and EXTEN:1 is there.
But when i use Context No.2 it works fine.
The problem with Context No.2 is when i hit transfer either to any of available transfer group it goes to make an outbound call instead of dialing local ext. number. it dials 90009***
CLI>
-- Executing AGI("SIP/192.168.100.182-09752bd8", "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/192.168.100.182-09752bd8", "SIP/90009*CL_103_B_L**1429**3129226500*8365*@PTCL") in new stack
Oct 10 03:58:58 WARNING[22882]: chan_sip.c:1997 create_addr: No such host: PTCL
Oct 10 03:58:58 NOTICE[22882]: app_dial.c:1076 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Hangup("SIP/192.168.100.182-09752bd8", "") in new stack
== Spawn extension (default, 990009*CL_103_B_L**1429**3129226500*8365*, 3) exited non-zero on 'SIP/192.168.100.182-09752bd8'
-- Executing AGI("SIP/192.168.100.182-09752bd8", "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/192.168.100.182-09752bd8", "SIP/@PTCL") in new stack
Oct 10 03:58:58 WARNING[22882]: chan_sip.c:1997 create_addr: No such host: PTCL
Oct 10 03:58:58 NOTICE[22882]: app_dial.c:1076 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Hangup("SIP/192.168.100.182-09752bd8", "") in new stack
== Spawn extension (default, h, 3) exited non-zero on 'SIP/192.168.100.182-09752bd8'
Also if i use ,,tTo) call don't go through so i used || and it worked with that.
I am working my level best to solve this problem but i failed to do so.
I bought the Manager Manual with Agent Manual so i make sure to follow the right configs but i am stuck here.
I comment out all of dialout contexts to make sure its not using any other one.
Does it has anything to do with Asterisk version?
My Configuration is. FC6, Mysql5, PHP5, perl-5.8.8-10, Asterisk 1.2.24.asterisk-perl-0.08, zaptel-1.2.20.1, libpri-1.2.5, astguiclient_2.0.3.
it was causing so many problem when i was trying to install zaptel version which was recommended in scratch_install
I am on a dead line here so i need help badly.
Thanks in Advance
CLI this is the response. with Context No.1
> Channel SIP/120-0a0b7ff8 was answered.
== Starting SIP/120-0a0b7ff8 at default,916467231856,1 failed so falling back to exten 's'
== Starting SIP/120-0a0b7ff8 at default,s,1 still failed so falling back to context 'default'
-- Sent into invalid extension 's' in context 'default' on SIP/120-0a0b7ff8
-- Executing Playback("SIP/120-0a0b7ff8", "invalid") in new stack
-- Playing 'invalid' (language 'en')
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing DeadAGI("SIP/120-0a0b7ff8", "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 DeadAGI("SIP/120-0a0b7ff8", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
-- AGI Script
agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0