How to Disable REGISTRATION of xlite

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

How to Disable REGISTRATION of xlite

Postby gmcust3 » Fri Dec 09, 2011 8:58 am

How to Disable REGISTRATION of xlite over WAN , if my server is on Public(WAN) and also on Lan ?
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Postby gmcust3 » Fri Dec 09, 2011 11:59 am

I guess Below One should work in sip file :

contactdeny=0.0.0.0/0.0.0.0
contactpermit=192.168.10.0/255.255.255.0
deny=0.0.0.0/0.0.0.0
permit=192.168.10.0/255.255.255.0

But to make it workable, I have to sip-vicidial.conf file under etc/asterisk folder.

But If I modify file, I see another line which says :


; WARNING- THIS FILE IS AUTO-GENERATED BY VICIDIAL, ANY EDITS YOU MAKE WILL BE LOST


How to implement below changes in the sip-vicidial.conf file ?

contactdeny=0.0.0.0/0.0.0.0
contactpermit=192.168.10.0/255.255.255.0
deny=0.0.0.0/0.0.0.0
permit=192.168.10.0/255.255.255.0
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

template

Postby striker » Sun Dec 11, 2011 11:06 pm

use the template option under admin

select the SIP_generic

under template Contents enter your sip settings
lik
deny=
permit
disallow=
allow=
bla bla

and in the phone select this template for all the sip phones .
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: How to Disable REGISTRATION of xlite

Postby gmcust3 » Tue Dec 18, 2012 5:01 am

Code: Select all
 in the phone select this template for all the sip phones


Where exactly ?
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Re: How to Disable REGISTRATION of xlite

Postby DomeDan » Tue Dec 18, 2012 5:50 am

Its under "Admin" -> "Templates"
create a new template with your settings

and for every phone in the phone-settings set that "Template ID"
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: How to Disable REGISTRATION of xlite

Postby gmcust3 » Wed Dec 19, 2012 5:48 am

But my xlite registration in local IP showed 404 error.
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Re: How to Disable REGISTRATION of xlite

Postby gmcust3 » Fri Mar 08, 2013 1:06 am

When I use

contactdeny=0.0.0.0/0.0.0.0
contactpermit=192.168.10.0/255.255.255.0
deny=0.0.0.0/0.0.0.0
permit=192.168.10.0/255.255.255.0

as template under phone entry.


From Public IP and also from Local IP it shows Registration Error.
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Re: How to Disable REGISTRATION of xlite

Postby DomeDan » Fri Mar 08, 2013 2:47 am

What address range do you use on your local network?
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: How to Disable REGISTRATION of xlite

Postby gmcust3 » Fri Mar 08, 2013 2:58 am

192.168.0.1 to 192.168.10.200
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Re: How to Disable REGISTRATION of xlite

Postby DomeDan » Fri Mar 08, 2013 3:26 am

ok, then change the allow to:
192.168.0.0/255.255.0.0
that will match 192.168.X.X
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: How to Disable REGISTRATION of xlite

Postby gmcust3 » Fri Mar 08, 2013 4:42 am

Tried :

contactdeny=0.0.0.0/0.0.0.0
contactpermit=192.168.0.0/255.255.255.0
deny=0.0.0.0/0.0.0.0
permit=192.168.0.0/255.255.255.0

But Not working.
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Re: How to Disable REGISTRATION of xlite

Postby DomeDan » Fri Mar 08, 2013 5:05 am

you didnt write it right
copy/paste this:

contactdeny=0.0.0.0/0.0.0.0
contactpermit=192.168.0.0/255.255.0.0
deny=0.0.0.0/0.0.0.0
permit=192.168.0.0/255.255.0.0
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: How to Disable REGISTRATION of xlite

Postby gmcust3 » Fri Mar 08, 2013 5:59 am

Tried...

When I tried sip show peers , It NOT showing in the list.
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Re: How to Disable REGISTRATION of xlite

Postby DomeDan » Fri Mar 08, 2013 6:16 am

* disable the template, do a reload in asterisk
* verify that the phone can register check in the asterisk cli what is happening.
* and post it here
* enable the template, do a reload in asterisk
* verify that the phone got a ip address like 192.168.X.X
* try to let the phone register and check in the asterisk cli what is happening.
* if there is any activity in the cli then post it here
* if not then run ngrep-sip and let the phone register again
* and post the output here

* post the content of /etc/asterisk/sip-vicidial.conf for a phone in question
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: How to Disable REGISTRATION of xlite

Postby williamconley » Fri Mar 08, 2013 3:01 pm

1) did you actually use 255.255.0.0 (not 255.255.255.0)? That seems like it may have been lost in the conversation above

2) not showing in sip peers is not in any way related to permit or deny. If it is not showing then it isn't in the sip-vicidial.conf or sip-vicidial.conf has not loaded into asterisk. Find out which.

3) 2.2.1? Really? Why don't you upgrade 8-) ?
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: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: How to Disable REGISTRATION of xlite

Postby gmcust3 » Sat Mar 09, 2013 1:05 am

Using Kernel Version 2.6.18-238.9.1.el5.goPAE (SMP)
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Re: How to Disable REGISTRATION of xlite

Postby gmcust3 » Tue Mar 12, 2013 12:37 am

Still Not Resolved.
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Re: How to Disable REGISTRATION of xlite

Postby DomeDan » Tue Mar 12, 2013 3:43 am

try to work with us here, did you write 255.255.255.0 or 255.255.0.0?
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: How to Disable REGISTRATION of xlite

Postby gmcust3 » Wed Mar 13, 2013 1:36 am

I tried :

contactdeny=0.0.0.0/0.0.0.0
contactpermit=192.168.0.0/255.255.0.0
deny=0.0.0.0/0.0.0.0
permit=192.168.0.0/255.255.0.0

I want my Phone to get Register from Local IP but Not from Public IP.

If I use above template, Its NOT getting registered from either IP.
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Re: How to Disable REGISTRATION of xlite

Postby DomeDan » Wed Mar 13, 2013 3:54 am

ok, a wise man once wrote this:
DomeDan wrote:* disable the template, do a reload in asterisk
* verify that the phone can register check in the asterisk cli what is happening.
* and post it here
* enable the template, do a reload in asterisk
* verify that the phone got a ip address like 192.168.X.X
* try to let the phone register and check in the asterisk cli what is happening.
* if there is any activity in the cli then post it here
* if not then run ngrep-sip and let the phone register again
* and post the output here

* post the content of /etc/asterisk/sip-vicidial.conf for a phone in question

try that
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: How to Disable REGISTRATION of xlite

Postby gmcust3 » Wed Mar 13, 2013 5:02 am

[cc131]
username=cc131
secret=test
accountcode=cc131
callerid="station 131" <0000000000>
mailbox=131
contactdeny=0.0.0.0/0.0.0.0
contactpermit=192.168.0.0/255.255.0.0
deny=0.0.0.0/0.0.0.0
permit=192.168.0.0/255.255.0.0
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Re: How to Disable REGISTRATION of xlite

Postby DomeDan » Wed Mar 13, 2013 5:41 am

awesome :D keep it comming!
asterisk cli and ngrep-sip when the phone tries to register is what i would like to see now
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: How to Disable REGISTRATION of xlite

Postby gmcust3 » Wed Mar 13, 2013 5:48 am

30 agent dialing now... So, CLI is running like anything :-)
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 70 guests