defualt tutorial dialplan does not work

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

defualt tutorial dialplan does not work

Postby tehseen » Mon Sep 07, 2009 7:15 pm

Greetings to All,
I followed the tutorial step by step but can not make call out via using this dialplane

Code: Select all
exten => _1NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1NXXNXXXXXX,2,Dial(${TRUNK}/${EXTEN:1},,To)
exten => _1NXXNXXXXXX,3,Hangup


so Ive cleared out all and used this

Code: Select all
exten => _1NXXNXXXXXX,1,Dial(${TRUNK}/${EXTEN},,o)


Then I was able to make calls , does any one have any idea why that doesnt work for me above dial plane?


Regards
Tehseen
tehseen
 
Posts: 35
Joined: Thu Aug 27, 2009 7:34 am

Postby mflorell » Mon Sep 07, 2009 8:23 pm

admin.php version and build?

Asterisk CLI output?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby tehseen » Tue Sep 08, 2009 10:12 am

VERSION: 2.0.5-173
BUILD: 90320-0424


Code: Select all
Global String :TRUNKMT = MYTEL

exten => _1NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1NXXNXXXXXX,2,Dial(${TRUNKMT}/${EXTEN:1},,To)
exten => _1NXXNXXXXXX,3,Hangup




Code: Select all
following is CLI output

-- Executing AGI("SIP/cc100-b7822728", "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-b7822728", "MYTEL/6502251000||To") in new stack
Sep  8 16:00:35 WARNING[8686]: channel.c:2621 ast_request: No channel type registered for 'MYTEL'
Sep  8 16:00:35 NOTICE[8686]: app_dial.c:1076 dial_exec_full: Unable to create channel of type 'MYTEL' (cause 66 - Channel not implemented)
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing Hangup("SIP/cc100-b7822728", "") in new stack
  == Spawn extension (default, 16502251000, 3) exited non-zero on 'SIP/cc100-b7822728'
    -- Executing DeadAGI("SIP/cc100-b7822728", "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--PRI-----NODEBUG-----66-----CHANUNAVAIL---------- completed, returning 0



Regards
Tehseen[/code]
tehseen
 
Posts: 35
Joined: Thu Aug 27, 2009 7:34 am

Postby mflorell » Tue Sep 08, 2009 5:31 pm

What exactly is a trunk type of MYTEL?

is this SIP or a T1 crossover?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby tehseen » Wed Sep 09, 2009 6:36 am

It is SIP , and Ive corrected the mistake thanks for your kind response.


Corrections:

Code: Select all
Global String :TRUNKMT = SIP/MYTEL

exten => _1NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1NXXNXXXXXX,2,Dial(${TRUNKMT}/${EXTEN:1},,To)
exten => _1NXXNXXXXXX,3,Hangup



and thanks to webgrru too.


Regards
Tehseen[/code]
tehseen
 
Posts: 35
Joined: Thu Aug 27, 2009 7:34 am


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 78 guests