Cant get phones to register!

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Cant get phones to register!

Postby itiliti » Thu Jul 17, 2008 12:50 am

I have setup evrything including the SIP trunk to my PBX. But now I am trying to register 2 PHOENS TO IT, AND i GET THIS...


Jul 17 01:49:33 NOTICE[3122]: chan_sip.c:11320 handle_request_register: Registration from '<sip:100@10.0.0.251>' failed for '10.0.0.19' - ACL error (permit/deny)

wHAT IS CAUSING IT? I already checeked out the sip.conf and it looks good...


[cc100]
permit=0.0.0.0/0.0.0.0
disallow=all
allow=ulaw
type=friend
username=cc100
secret=1234
host=dynamic
dtmfmode=inband
qualify=1000
mailbox=100
itiliti
 
Posts: 7
Joined: Sun Oct 08, 2006 7:42 pm

Postby gardo » Thu Jul 17, 2008 5:06 am

That error is usually related to incorrect passwords/credentials. Have you reloaded asterisk when you made the changes?
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

softphone not registering in VicidialNow

Postby jessie » Sun Dec 07, 2008 8:41 pm

Hi Gardo,

I have the same scenario after installing the VocidialNOW ISO. I am using a softphone for simulation even I have my grandstream. Here is what I get in asterisk -r console.

vici*CLI> sip reload
Reloading SIP
== Parsing '/etc/asterisk/sip.conf': Found
Dec 8 04:34:34 WARNING[2588]: acl.c:313 ast_ouraddrfor: Cannot connect
Dec 8 04:34:34 WARNING[2588]: chan_sip.c:13081 reload_config: Unable to get own IP address, SIP disabled
Dec 8 04:34:35 WARNING[2588]: chan_sip.c:1085 __sip_xmit: sip_xmit of 0xb782a038 (len 536) to 192.168.1.149:5060 returned -1: Bad file descriptor
Dec 8 04:34:36 WARNING[2588]: chan_sip.c:1085 __sip_xmit: sip_xmit of 0xb782a038 (len 536) to 192.168.1.149:5060 returned -1: Bad file descriptor
Dec 8 04:34:37 WARNING[2588]: chan_sip.c:1085 __sip_xmit: sip_xmit of 0xb782a038 (len 536) to 192.168.1.149:5060 returned -1: Bad file descriptor
Dec 8 04:34:39 WARNING[2588]: chan_sip.c:1085 __sip_xmit: sip_xmit of 0xb782a038 (len 536) to 192.168.1.149:5060 returned -1: Bad file descriptor
Dec 8 04:34:43 WARNING[2588]: chan_sip.c:1085 __sip_xmit: sip_xmit of 0xb782a038 (len 536) to 192.168.1.149:5060 returned -1: Bad file descriptor
Dec 8 04:34:47 WARNING[2588]: chan_sip.c:1085 __sip_xmit: sip_xmit of 0xb782a038 (len 536) to 192.168.1.149:5060 returned -1: Bad file descriptor
vici*CLI>


Here is the sip.conf parameters:

[cc100]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=cc100
secret=100
host=dynamic
defaultip=192.168.1.149
nat=yes
dtmfmode=inband
qualify=1000
mailbox=100


I supposed this parameters works but I realy don't have any idea where is the problem. I've been using asterisk for 2 years with our center yet i have no idea where to start to troubleshoot this issue.

your time is very much appreciated.
jessie
 
Posts: 9
Joined: Fri Dec 05, 2008 9:24 pm

Postby gardo » Mon Dec 08, 2008 7:21 am

Hmm.. This is actually an old asterisk bug where if the bindaddress=0.0.0.0 in sip.conf, SIP will be disabled when you don't have a wan/public IP.

What version of VicidialNOW are you using?
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

softphone not registering in VicidialNow

Postby jessie » Mon Dec 08, 2008 7:40 am

I am using VicidialNow 1.1. I am thinking that i misconfigure something, so right now i reinstall it again. I'll be giving you an update if ever i'll encounter the same scenario.
jessie
 
Posts: 9
Joined: Fri Dec 05, 2008 9:24 pm

softphone not registering in VicidialNow

Postby jessie » Mon Dec 08, 2008 7:57 am

I just finished the installation. I change the sip.conf (see below) and in asterisk remote, I put the command sip reload and here is what I got:

vici*CLI> sip reload
Reloading SIP
== Parsing '/etc/asterisk/sip.conf': Found
Dec 8 15:49:40 WARNING[2596]: acl.c:313 ast_ouraddrfor: Cannot connect
Dec 8 15:49:40 WARNING[2596]: chan_sip.c:13081 reload_config: Unable to get own IP address, SIP disabled

What is this mean?

sip.conf:
[cc100]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=100
secret=100
host=dynamic
dtmfmode=inband
qualify=1000
mailbox=100

I don't see the deference with my sip config of my asterisk pbx and yet it is working on it but not in vicidialnow. Still my x-lite shows "Registration Error: 408-Request Timeout"
jessie
 
Posts: 9
Joined: Fri Dec 05, 2008 9:24 pm

softphone not registering in VicidialNow - resolved

Postby jessie » Mon Dec 08, 2008 8:19 am

Guys,

this is just to share what happen. This might help others here in forum. You may try this parameters whoever may encounter the same scenario:

[cc100]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=100
secret=100
host=192.168.1.149 (change this from dynamic)
nat=yes (try this one if you have a NAT active in your network)
dtmfmode=inband
qualify=1000
mailbox=100

Big thanks to all of you guys...Merry X'mas.
jessie
 
Posts: 9
Joined: Fri Dec 05, 2008 9:24 pm

Postby ykhan » Sat Jan 24, 2009 4:55 pm

I seem to have a similar issue. All of my agent phones register ok, but Floor Manager and Floor Supervisor give the following error:

Code: Select all
NOTICE[2684]: chan_sip.c:11320 handle_request_register: Registration from '<sip:flrsuper01@XXX.XXX.XXX.XXX>' failed for 'XXX.XXX.XXX.XXX' - ACL error (permit/deny)



My sip.conf has this (excerpt only):

; Management

[flrsupervisor]
callerid="flrsuper' <2001>
disallow=all
allow=alaw
allow=ulaw
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=g729
type=friend
username=flrsuper01
secret=flrsuper01
host=dynamic
dtmfmode=rfc2833
qualify=1000
mailbox=2001
context=default

; agent extensions

[pagent01]
callerid="pagent01" <1001>
disallow=all
allow=alaw
allow=ulaw
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=g729
type=friend
username=pagent
secret=pagent
host=dynamic
dtmfmode=rfc2833
qualify=1000
mailbox=1001
context=default

I cannot figure out if I am going crazy or that both of the definitions are exactly the same except username and secret, of course.
ykhan
 
Posts: 352
Joined: Thu Jun 08, 2006 4:47 pm

Postby john_usc » Mon Jan 26, 2009 12:46 am

hmm I had the same problem initially for the operators numbers
I was using 100 in xlite instead of cc100
when I did that , it registered just fine
john_usc
 
Posts: 167
Joined: Sat Nov 08, 2008 9:59 pm


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 107 guests