Problem with the dial plan

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Problem with the dial plan

Postby subhadeep » Tue Aug 02, 2011 4:02 pm

Yesterday i have installed the latest version, and i'm very much new with the server, after putting up the LAN and setting SIP phones(X-lite), i can see they are getting registered, but when am manually dialing a number its show errors....
i guess i'm not able to setting up the carrier properly, anyone please help..

In X-lite the error shows--> Call failed: 480 temporarily unavailable

In ASTERISK realtime logs! its showin-->
[Aug 2 16:47:20] VERBOSE[22849] logger.c: [Aug 2 16:47:20] -- Executing [912042223116@default:1] AGI("SIP/8001-00000016", "agi://127.0.0.1:4577/call_log") in new stack
[Aug 2 16:47:20] VERBOSE[22849] logger.c: [Aug 2 16:47:20] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Aug 2 16:47:20] VERBOSE[22849] logger.c: [Aug 2 16:47:20] -- Executing [912042223116@default:2] Dial("SIP/8001-00000016", "SIP/12042223116@goautodial||tTo") in new stack
[Aug 2 16:47:20] WARNING[22849] app_dial.c: Unable to create channel of type 'SIP' (cause 20 - Unknown)
[Aug 2 16:47:20] VERBOSE[22849] logger.c: [Aug 2 16:47:20] == Everyone is busy/congested at this time (1:0/0/1)
[Aug 2 16:47:20] VERBOSE[22849] logger.c: [Aug 2 16:47:20] -- Executing [912042223116@default:3] Hangup("SIP/8001-00000016", "") in new stack
[Aug 2 16:47:20] VERBOSE[22849] logger.c: [Aug 2 16:47:20] == Spawn extension (default, 912042223116, 3) exited non-zero on 'SIP/8001-00000016'
[Aug 2 16:47:20] VERBOSE[22849] logger.c: [Aug 2 16:47:20] -- Executing [h@default:1] DeadAGI("SIP/8001-00000016", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL----------") in new stack
[Aug 2 16:47:20] VERBOSE[22849] logger.c: [Aug 2 16:47:20] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning

In my Carrier the configuration is:

Carrier ID: 0526XXXXX

Carrier Name: 0526XXXXX

Carrier Description: 0526XXXXX NET4

Registration String: register => 0526XXXXX:password@202.71.134.13/0526XXXXX

Template ID: SIP_generic

Account Entry:

[goautodial]
disallow=all
allow=g729
allow=alaw
allow=ulaw
type=friend
username=0526XXXXX
fromuser=0526XXXXX
secret=password
host=202.71.134.13
fromdomain=202.71.134.13
dtmfmode=rfc2833
callerid=0526XXXXX

Protocol: SIP

Globals String:

Dialplan Entry: exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _91XXXXXXXXXX,3,Hangup

Server IP: 192.168.1.2

Active: Y

In CLI settings-->

Privilege: Command

ActionID: c5479d74942edc7049e3dc8f8c6cefd4
Host Username Refresh State Reg.Time
202.71.134.13:5060 0526XXXXX 105 Registered Tue, 02 Aug 2011 17:07:04
--END COMMAND--


Please anyone help me out... please...
subhadeep
 
Posts: 3
Joined: Tue Aug 02, 2011 3:40 pm

Postby williamconley » Tue Aug 02, 2011 4:39 pm

[goautodial]
disallow=all
allow=g729
allow=alaw
allow=ulaw
type=friend
username=0526XXXXX
fromuser=0526XXXXX
secret=password
host=202.71.134.13
fromdomain=202.71.134.13
dtmfmode=rfc2833
callerid=0526XXXXX

Protocol: SIP

Globals String:

Dialplan Entry: exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _91XXXXXXXXXX,3,Hangup
Your globals string is empty.

The "sip context" of [goautodial] is not what belongs in the dialplan entry. Your globals string belongs there.

Set your globals string to "TRUNK9 = SIP/goautodial" and set your second line of the dial plan to:
Code: Select all
exten =>_91XXXXXXXXXX,2,Dial(${TRUNK9}/${EXTEN:1},,tTor)
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: 20345
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby subhadeep » Wed Aug 03, 2011 3:31 am

Thanks a lot for the reply... i added the line as u told and even changed the global string, but still its not working, but now im am getting an new log:
chan_sip.c: Peer '8001' is now Reachable. (83ms / 2000ms) :)

And the error goes like this:

Code: Select all
logger.c: [Aug  3 04:22:02]     -- Executing [912042223116@default:2] Dial("SIP/8001-00000002", "SIP/goautodial/12042223116||tTor") in new stack
[Aug  3 04:22:02] WARNING[12652] app_dial.c: Unable to create channel of type 'SIP' (cause 20 - Unknown)
[Aug  3 04:22:02] VERBOSE[12652] logger.c: [Aug  3 04:22:02]   == Everyone is busy/congested at this time (1:0/0/1)
[Aug  3 04:22:02] VERBOSE[12652] logger.c: [Aug  3 04:22:02]     -- Executing [912042223116@default:3] Hangup("SIP/8001-00000002", "") in new stack
[Aug  3 04:22:02] VERBOSE[12652] logger.c: [Aug  3 04:22:02]   == Spawn extension (default, 912042223116, 3) exited non-zero on 'SIP/8001-00000002'
[Aug  3 04:22:02] VERBOSE[12652] logger.c: [Aug  3 04:22:02]     -- Executing [h@default:1] DeadAGI("SIP/8001-00000002", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL----------") in new stack
[Aug  3 04:22:03] VERBOSE[12652] logger.c: [Aug  3 04:22:03]     -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL---------- completed, returning 0

Please help me out... :(
subhadeep
 
Posts: 3
Joined: Tue Aug 02, 2011 3:40 pm

Postby williamconley » Wed Aug 03, 2011 9:49 am

try sip debug in asterisk and see if it will give you the reason it cannot create that channel.
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: 20345
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby subhadeep » Wed Aug 03, 2011 3:15 pm

williamconley wrote:try sip debug in asterisk and see if it will give you the reason it cannot create that channel.

Thanks for all the help and replies... a local consultant solved the problem... he said there was a problem with the dial plan only and even a codec was missing... :)
subhadeep
 
Posts: 3
Joined: Tue Aug 02, 2011 3:40 pm

Postby skramer » Thu Oct 20, 2011 6:52 pm

Subhadeep,
Do you know EXACTLY how your dialplan was fixed? Looks like I am having the SAME issue from a new install. see here:

http://www.vicidial.org/VICIDIALforum/v ... +executing

Please let us know
ViciBox 3.1.11
VERSION: 2.4-340a
BUILD: 111006-1403
No modifications
Single Server
skramer
 
Posts: 41
Joined: Thu Jun 02, 2011 11:12 pm

Postby skramer » Fri Oct 21, 2011 11:26 am

This has been solved see attached thread.
ViciBox 3.1.11
VERSION: 2.4-340a
BUILD: 111006-1403
No modifications
Single Server
skramer
 
Posts: 41
Joined: Thu Jun 02, 2011 11:12 pm


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 35 guests