Problem Adding a Carrier

All installation and configuration problems and questions

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

Problem Adding a Carrier

Postby malik » Sat Jul 04, 2015 8:51 pm

I am in a big mess, and hoping some help from experts here.

I am having problem configuring my carrier (Ringcentral), can make and receive calls on eyebeam without any problem but not able to configure with vicidial. Please help in this regard.

I am using Newest version of Vicibox_v.6.0.x86_64-6.0.3.preload.iso

my setting is like;

register => username:password:authid@199.255.120.146/username

[WTVOIP]
username=username
secret=password
authname=authorization id
type=friend
host=199.255.120.146
fromuser=username
fromdomain=199.255.120.146
fromproxy=199.255.120.176:5090
allow=all
allow=ulaw
allow=alaw
nat=yes
dtmfmode=rfc2833
context=trunkinbound
qualify=no


exten=> _81XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten=> _81XXXXXXXXXX,2,Dial(SIP/WTVOIP/${EXTEN:1},,tTr)
exten=> _81XXXXXXXXXX,3,Hangup


Cli spam is like;

[Jul 5 06:42:03] Reloading SIP
[Jul 5 06:42:03] == Parsing '/etc/asterisk/sip.conf': [Jul 5 06:42:03] == Found
[Jul 5 06:42:03] == Parsing '/etc/asterisk/sip-vicidial.conf': [Jul 5 06:42:03] == Found
[Jul 5 06:42:03] == Parsing '/etc/asterisk/users.conf': [Jul 5 06:42:03] == Found
[Jul 5 06:42:03] == Using SIP CoS mark 4
[Jul 5 06:42:03] WARNING[6157]: chan_sip.c:27748 set_insecure_flags: Unknown insecure mode 'very' on line 17
[Jul 5 06:42:03] == Parsing '/etc/asterisk/sip_notify.conf': [Jul 5 06:42:03] == Found
[Jul 5 06:42:06] == Manager 'sendcron' logged on from 127.0.0.1
[Jul 5 06:42:06] == Manager 'sendcron' logged off from 127.0.0.1
[Jul 5 06:42:23] NOTICE[6157]: chan_sip.c:13875 sip_reg_timeout: -- Registration for 'username@199.255.120.146' timed out, trying again (Attempt #2)
malik
 
Posts: 9
Joined: Sat Jul 04, 2015 7:35 pm

Re: Problem Adding a Carrier

Postby boybawang » Mon Jul 06, 2015 1:06 pm

could be you have a firewall enabled thats blocking the sip registration process to the IP its configured to register
Vicidial Installation + Configuration + Support + Custom Development
Download my ebook on installing vicidial for free http://download.vicidial.com/ubuntu/VIC ... 100331.pdf
skype: deodax.cordova@gmail.com
m: +639172063730
boybawang
 
Posts: 989
Joined: Sat Nov 14, 2009 1:18 pm
Location: Dumaguete City, Negros Oriental, Philippines

Re: Problem Adding a Carrier

Postby malik » Mon Jul 06, 2015 4:48 pm

No, I dont have have any issues regarding firewall, already double checked.
malik
 
Posts: 9
Joined: Sat Jul 04, 2015 7:35 pm

Re: Problem Adding a Carrier

Postby Acidshock » Mon Jul 06, 2015 5:07 pm

I never have used Ringcentral for a carrier to dial on. However I will say this... If you have a static IP I would personally do IP based authentication rather than sip registration. Nothing wrong with sip registration but someone can compromised your credentials and run your usage up. Least with IP based authentication you control your hardware, passwords, and hopefully be able to catch an incident quick before the bill racks up.
VERSION: 2.14-698a | BUILD: 190207-2301 | Asterisk:13.24.1-vici | Vicibox 8.1.2
Acidshock
 
Posts: 430
Joined: Wed Mar 03, 2010 3:19 pm

Re: Problem Adding a Carrier

Postby malik » Mon Jul 06, 2015 5:31 pm

Unfortunately, they dont offer IP based authentication. and i am trying to register this for outbound and for inbound too.
malik
 
Posts: 9
Joined: Sat Jul 04, 2015 7:35 pm

Re: Problem Adding a Carrier

Postby williamconley » Mon Jul 06, 2015 5:36 pm

malik wrote:register => username:password:authid@199.255.120.146/username

[WTVOIP]
username=username
secret=password
authname=authorization id
type=friend
host=199.255.120.146
fromuser=username
fromdomain=199.255.120.146
fromproxy=199.255.120.176:5090
allow=all
allow=ulaw
allow=alaw
nat=yes
dtmfmode=rfc2833
context=trunkinbound
qualify=no


[Jul 5 06:42:03] WARNING[6157]: chan_sip.c:27748 set_insecure_flags: Unknown insecure mode 'very' on line 17

[Jul 5 06:42:23] NOTICE[6157]: chan_sip.c:13875 sip_reg_timeout: -- Registration for 'username@199.255.120.146' timed out, trying again (Attempt #2)

1) ALWAYS post your Vicidial Version with Build. While you did post your installer version, that IN NO WAY tells us what version of Vicidial you are using.

2) "insecure=very" has been deprecated and is now no longer valid, yet you have at least one sip account trying to use it. You should resolve that while you're here. Change it to "insecure=port,invite" instead.

3) I am unaware of a registration string allowing username:password:authid instead of just "user:password" at the start. Perhaps you should check with ring central on that topic and see what they expect.

4) Please describe the reason for your "from proxy" as I suspect it may be related to your issue. Are you using a proxy sip service somewhere?

5) Why "nat=yes"? Is your server behind a router on a private IP or does it have a public IP? If so, do you have port forward applied to your router to cause your previously configured phone to work? (if so, whatever you did to make that phone work could be blocking Vicidial).
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!)

Re: Problem Adding a Carrier

Postby malik » Mon Jul 06, 2015 6:18 pm

Hi William,

Vicidial VERSION is : 2.12-485a.

They (Rincentral) always use Auth ID to configure the device, I have checked with them. Proxy is required to make outbound calls as it was there in Eyebeam, without proxy it wasnt registering with eyebeam.

Its not behind any router and Its on a static IP not on a Public IP.
malik
 
Posts: 9
Joined: Sat Jul 04, 2015 7:35 pm

Re: Problem Adding a Carrier

Postby williamconley » Mon Jul 06, 2015 6:52 pm

malik wrote:They (Rincentral) always use Auth ID to configure the device, I have checked with them.

Of course they use it, but the format is the question. I've never seen "username:password:authid" (from your example of "register => username:password:authid@199.255.120.146/username" which has username in two places!) and doubt that's how they expect to see it. Have they provided you with a sample registration string? I would expect something more like "register => authid:password@199.255.120.146/username"

malik wrote:Its not behind any router and Its on a static IP not on a Public IP.

If it's not behind a router it must have a public IP. It can not have a private IP without a router (the router provides the private IP). It must have either a private IP or a public IP to be connected to the internet.

Please be clear when you discuss IPs and be sure to identify the IP of your Router vs the IP of the Vicidial server. There seems to be some confusion here. Are you certain that your Vicidial server has access to the internet? Can you PING public web servers such as irs.gov with the vicidial server?
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!)

Re: Problem Adding a Carrier

Postby malik » Mon Jul 06, 2015 7:10 pm

Tried it, didn't worked out.
malik
 
Posts: 9
Joined: Sat Jul 04, 2015 7:35 pm

Re: Problem Adding a Carrier

Postby williamconley » Wed Jul 08, 2015 9:23 pm

Ask RingCentral for a Registration String.
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!)


Return to Support

Who is online

Users browsing this forum: No registered users and 93 guests

cron