Page 1 of 1
Cant get phones to register!
Posted:
Thu Jul 17, 2008 12:50 am
by itiliti
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
Posted:
Thu Jul 17, 2008 5:06 am
by gardo
That error is usually related to incorrect passwords/credentials. Have you reloaded asterisk when you made the changes?
softphone not registering in VicidialNow
Posted:
Sun Dec 07, 2008 8:41 pm
by jessie
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.
Posted:
Mon Dec 08, 2008 7:21 am
by gardo
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?
softphone not registering in VicidialNow
Posted:
Mon Dec 08, 2008 7:40 am
by jessie
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.
softphone not registering in VicidialNow
Posted:
Mon Dec 08, 2008 7:57 am
by jessie
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"
softphone not registering in VicidialNow - resolved
Posted:
Mon Dec 08, 2008 8:19 am
by jessie
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.
Posted:
Sat Jan 24, 2009 4:55 pm
by ykhan
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.
Posted:
Mon Jan 26, 2009 12:46 am
by john_usc
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