problem with trunk in outbound calls

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

problem with trunk in outbound calls

Postby hmclean » Sun Jan 08, 2012 2:54 pm

i have installed my server GOAUTODIAL 2.1
my ip @ is 192.168.1.2 i m connected to the internet
1. i m using the trunk to deal calls to france with a compte sip
2.i have installed the codec g723 & g729 for Asterisk 1.4
3.my compte SIP is registred (show sip registry)
[goautodial]
disallow=all
allow=g729
type=friend
username=§§§§§§§
secret=§§§§§§§§§§
fromuser=§§§§§§§
host =193.§§§§§§§§
dtmfmode=rfc2833
canreinvite=no
qualify=yes
nat=no
insecure=invite,port
4. my extension is
exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,2,(${SIPgoautodial}/${EXTEN},,tTo)
exten => _X,3,Hangup

the problem is i CAN NOT LEAD CALLS FROM THE AGENT SCREEN
I have this code from CLI>

Executing [33130650866@default:1] AGI("SIP/8001-00000004", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Jan 8 19:53:38] WARNING[5858]: pbx.c:1856 pbx_extension_helper: No application '' for extension (default, 33130650866, 2)
== Spawn extension (default, 33130650866, 2) exited non-zero on 'SIP/8001-00000004'
-- Executing [h@default:1] DeadAGI("SIP/8001-00000004", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
hmclean
 
Posts: 6
Joined: Sat Aug 20, 2011 10:49 pm

DIAL

Postby striker » Thu Jan 12, 2012 9:25 am

Dial missing'


exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,2,Dial(${SIPgoautodial}/${EXTEN},,tTo)
exten => _X,3,Hangup
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Postby williamconley » Fri Jan 13, 2012 1:22 pm

dot missing
exten => _X,3,Hangup

added
exten => _X.,3,Hangup


but you should NOT be using _X. in the first place, you should be using the correct dial pattern for the destination of the calls plus a prefix for the "carrier".

it should be something more like:

_91NXXNXXXXXX
this is "_" for "this is a pattern" + "9" to bring the call to this carrier (allows for multiple carriers!) + "1" (US dial code which precedes each number dialed in the US unless not leaving the local exchange, and all VOIP must leave the local exchange) + 10 digit us phone number (the "N" represents 2-9 and the "X" represents 0-9, in the us the 1st and 4th digits can not be 0 or 1).

Then you change EXTEN to EXTEN:1 (to remove the 9 before placing the call with the carrier)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby hmclean » Thu Jan 19, 2012 5:42 am

yes i change my dial plan to

exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,2,Dial(${SIPgoautodial}/${EXTEN},60,tTo)
exten => _9X,3,Hangup

and when i do Next dial
i have this msg:
DIAL ALERT:

Call Rejected: CONGESTION
Cause: 34 - No circuit/channel available

and in CLI
Code: Select all
Executing [8600051@default:1] MeetMe("Local/8600051@default-9c7e,2", "8600051|F") in new stack
    -- Executing [933474265418@default:1] AGI("Local/8600051@default-9c7e,1", "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 [933474265418@default:2] Dial("Local/8600051@default-9c7e,1", "SIP/goautodial/933474265418|60|tTo") in new stack
    -- Called goautodial/933474265418
  == Parsing '/etc/asterisk/manager.conf': Found
  == Manager 'sendcron' logged on from 127.0.0.1
    -- Executing [58600051@default:1] MeetMe("Local/58600051@default-0a63,2", "8600051|Fmq") in new stack
    -- Executing [8309@default:1] Answer("Local/58600051@default-0a63,1", "") in new stack
    -- Executing [8309@default:2] Monitor("Local/58600051@default-0a63,1", "wav|20120119-104052_474265418") in new stack
    -- Executing [8309@default:3] Wait("Local/58600051@default-0a63,1", "3600") in new stack
  == Manager 'sendcron' logged off from 127.0.0.1
  == Manager 'sendcron' logged off from 127.0.0.1
    -- Got SIP response 503 "Service Unavailable" back from 193.105.217.2
    -- SIP/goautodial-00000007 is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
  == Auto fallthrough, channel 'Local/8600051@default-9c7e,1' status is 'CONGESTION'
  == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-9c7e,2'
    -- Executing [h@default:1] DeadAGI("Local/8600051@default-9c7e,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
    -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
    -- Executing [h@default:1] DeadAGI("Local/8600051@default-9c7e,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----34-----CONGESTION----------") in new stack
    -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----34-----CONGESTION---------- completed, returning 0
hmclean
 
Posts: 6
Joined: Sat Aug 20, 2011 10:49 pm

dialplan entry

Postby striker » Sun Jan 22, 2012 3:20 am

hi

correct this
exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,2,Dial(${SIPgoautodial}/${EXTEN:1},60,tTo)
exten => _9X.,3,Hangup
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 45 guests