using our current phone and server with Vicidial.

All installation and configuration problems and questions

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

using our current phone and server with Vicidial.

Postby itiliti » Mon Aug 04, 2008 8:55 pm

We currently have an asterisk box setup with SIP trunking that we use as our phone system. We have setup the 3rd line on our phones to directly register with the vicidialer, and that haas been working quite well.

But I am not satisfied :)

I would like to create a route so that when people log into the dialer, it will clal them on their phone extension on the main phone server. This is where all the phone are registered. But After looking through the documentation, it seems that the only way to set that up wouyld be to do it as a remote extension. I suppose that would work, but would I just need to create it as an external phone, or as a SIP?

I am doing this so that if I am at home and want to dial, I can just log into the dialer, and when it calls me, and I have call forwarding on, or whatever, I can answer the phone at home, and start dialing from there, all with the same login..

Thanks in advance for your help....

Rick
itiliti
 
Posts: 7
Joined: Sun Oct 08, 2006 7:42 pm

Postby mflorell » Tue Aug 05, 2008 7:45 am

The easiest thing to do is create an IAX trunk from the VICIDIAL server to your other Asteirsk server, then create extensions(or an extension wildcard entry) in your VICIDIAL dialplan that will direct those extension calls to the Asterisk server. Then you will need to create EXTERNAL protocol phones table entries in VICIDIAL with the direct dial number for each phone.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby itiliti » Wed Aug 06, 2008 6:14 pm

Ok. I edited the local 737 area code to this:

; dial our phone system
exten => _6XXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _6XXX,2,Dial(${TRUNKX}/1${EXTEN:1},,To)
exten => _6XXX,3,Hangup

But when I log into the dialer, it keeps trying to call 1501...

here is the debug from the IAX CLI:

== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/6501@default-575d,2", "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("Local/6501@default-575d,2", "IAX2/vicidial:password@10.0.0.253:4569/1501||To") in new stack
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00003ms SCall: 00003 DCall: 00000 [10.0.0.253:4569]
VERSION : 2
CALLED NUMBER : 1501
CODEC_PREFS : (gsm)
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME : ACagcW12180637336501
LANGUAGE : en
USERNAME : vicidial
FORMAT : 64
CAPABILITY : 2097151
ADSICPE : 0
DATE TIME : 2008-08-06 19:02:12

-- Called vicidial:password@10.0.0.253:4569/1501
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
Timestamp: 00019ms SCall: 09702 DCall: 00003 [10.0.0.253:4569]
AUTHMETHODS : 3
CHALLENGE : 139252278
USERNAME : vicidial

When I look on my server, I see that the called number is 1501. But where is the EXTEN:1 variable coming from?
itiliti
 
Posts: 7
Joined: Sun Oct 08, 2006 7:42 pm

Postby mflorell » Wed Aug 06, 2008 7:29 pm

I'm not fully understanding what you are trying to do. Are you just trying to set up the ability for agents to use the phones on your existing Asterisk system through VICIDIAL?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

hello

Postby eliasferreyra » Thu Aug 07, 2008 12:52 am

itiliti...

thats sample to do...

only make sure you open all rtp ports and sip ports on your router
and check the iptables rules..
moreover open the http port , and specify the nat=yes to your asterisk.

if you do not have an public ip try to make an dynamic host like no-ip or dyndns...

and you will be dialing from your home as you are being on local :D
“Better to remain silent and be thought a fool than to speak out and remove all doubt.”
-Abraham Lincoln
eliasferreyra
 
Posts: 367
Joined: Wed Jul 18, 2007 3:27 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 92 guests