trunkinbound

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

trunkinbound

Postby dzigi » Mon Jun 06, 2011 7:36 am

Hi there,

I have some questions related on relation Asterisk/Vicidial(GoAutodial) configuration files.

I create carrier and I made outbound calls.Next step-after I bought DID,I try to make inbound calls.After I failed and study some configuration files I found following: context [trunkinbound] is inside extensions.conf file(belongs to asterisk if I am not wrong).And inside extensions-vicidial.conf I don't have [trunkinbound].

My carrier set up:
[mydivert]
username=user
type=friend
secret=password
host=78.46.43.9
fromuser=user
context=trunkinbound
allow=alaw
trustrpid = yes
sendrpid = yes
canreinvite = no
qualify = yes

dial plan:
exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,2,Set(CALLERID(name)=mynumber)
exten => _X.,3,Set(CALLERID(num)=mynumber)
exten => _X.,4,Dial(SIP/${EXTEN}@mydivert,30,Tt)
exten => _X.,5,Hangup

extensions-vicidial.conf:

; WARNING- THIS FILE IS AUTO-GENERATED BY VICIDIAL, ANY EDITS YOU MAKE WILL BE LOST
TRUNKloop = IAX2/ASTloop:test@127.0.0.1:40569
TRUNKblind = IAX2/ASTblind:test@127.0.0.1:41569
SIPmydivert= SIP/mydivert


; logging of all outbound calls from agent phones
[defaultlog]
exten => s,1,AGI(agi-VDAD_inbound_calltime_check.agi,-----NO-----defaultlog--------------------)
exten => s,n,Background(sip-silence)
exten => s,n,WaitExten(20)


; hangup
exten => t,1,Playback(vm-goodbye)
exten => t,n,Hangup
exten => i,1,Goto(s,2)
; hangup
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})

; custom dialplan entries
exten => _X.,1,AGI(agi-NVA_recording.agi,BOTH------Y---Y---Y)
exten => _X.,n,Goto(default,${EXTEN},1)



[vicidial-auto]
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})

; Local Server: 192.168.1.2
exten => _192*168*001*002*.,1,Goto(default,${EXTEN:16},1)
; VICIDIAL Carrier: MyDivert - Mydivert
; my divert trunk
exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,2,Set(CALLERID(name)=mynumber)
exten => _X.,3,Set(CALLERID(num)=mynumber)
exten => _X.,4,Dial(SIP/${EXTEN}@mydivert,30,Tt)
exten => _X.,5,Hangup

again if I am not wrong information about DID route are on :agi-DID_route.agi -where they said :

You need to put a line similar to this below in your extensions.conf file in
# the context for where incoming calls go from your trunks (for example, the
# trunkinbound context which is present in the default dialplan):
#
#[trunkinbound]
# ;inbound DID catch-all:
#exten => _X.,1,AGI(agi-DID_route.agi)

so question is: [trunkinbound] information about DID route should be on extensions.conf or extensions-vicidial.conf.

I have this information on extensions.conf and inbound calls are not working,


thank you very much for understanding,

Ivan

GoAutoDial CE 2.2.1-237 | Vicidial 2.4-309a Build 110430-1642| Asterisk 1.4.27.1-1 | Single Server | No

Digium/Sangoma Hardware | No Extra Software After Installation
dzigi
 
Posts: 16
Joined: Thu Dec 09, 2010 7:23 am

Postby williamconley » Tue Jun 07, 2011 8:08 am

Welcome to the party Ivan. Thanks for posting your specs. 8)

Trunkinbound resides in extensions.conf because it is "static" (it never changes). extensions-vicidial.conf is "part of"extensions.conf (it is "included" into extensions.conf at runtime). So actually it IS in both files.

But you have a troubleshooting moment, and you are "guessing" at your problem. So let us address that and get you moving along instead of guessing.

Your issue is that inbound "doesn't work", but I see no command line output from what happens when an inbound call arrives.

Stage 1: You must get SOME inbound traffic on SIP/IAX when a call arrives. Until you reach that stage, it matters not what your dialplan entries are as there is no call. This stage is handled generally via registration or setup on the Carrier's control panel. You know you have success when AT LEAST "sip debug" has some traffic as the result of a call.

Stage 2: Get the call into trunkinbound. This is done by reading the debug/cli information and finding out where the call is going and modifying sip.conf (or an included -vicidial version) until the call is convinced to arrive at trunkinbound. Sometimes trunkinbound will need a slight tweak if your DID is not passed in a standard fashion from your carrier, but you'll know that when you get the call into trunkinbound and get an error about extension not found.

Stage 3: Configure in Vicidials' GUI (the default behavior of "this number is not in service ... click" can be off-putting, but rest assured that hearing that message and seeing the command line equivalent of it on your vicidial server in asterisk ... means it works! LOL).
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 dzigi » Wed Jun 08, 2011 9:12 am

Thank you William for your support in this issue.
I am trying to bring some lines on CLI when I am making inbound call(DID)-there is problem-how they say from goautodial support("how to route your DID in your server").
Can you suggest some other provider(I will need also DID).I try with goautodial(but they don't support DID for Europe).
In mean time I am trying to debug-to bring something to CLI-right now nothing.

Ivan
dzigi
 
Posts: 16
Joined: Thu Dec 09, 2010 7:23 am

Postby williamconley » Wed Jun 08, 2011 9:38 am

Vitelity.com
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 dzigi » Thu Jun 09, 2011 3:25 am

Thank you.
dzigi
 
Posts: 16
Joined: Thu Dec 09, 2010 7:23 am


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 46 guests