03-09-2015 10:37 AM - edited 03-17-2019 02:15 AM
I have a cisco IP PHONE 7941G-GE already with SIP firmware, but when i upload the config file with asterisk extension, etc the phone keeps saying "Registering" and never finish registering.
My SIP Configuration File : http://pastebin.com/SB6XPiXD
There are any log that i cant use to see if asterisk is blocking the phone or something like that ?
Can anyone help me out ?
Regards ;)
03-09-2015 02:09 PM
Your SIP IP address is a public IP address. Where is this SIP located? Is it in your own location?
03-10-2015 03:03 AM
Thanks for your reply.
The SIP IP is internal, not external. Asterisk server (172.152.1.4) is in my office network.
03-10-2015 04:34 AM
Does your Asterisk server have a firewall of some sort, like fail2ban?
Disable NAT in your LAN.
03-10-2015 04:34 AM
I already disabled firewall and NAT, and still the same.
I added a sip.conf file to TFTP to enable TCP for the phone and "Registering" is gone, but Line one still with a cross over it, and i cant make or receive calls.
03-10-2015 02:19 PM
I added a sip.conf file to TFTP to enable TCP for the phone and "Registering" is gone,
This means the phone can see Asterisk.
but Line one still with a cross over it, and i cant make or receive calls
Does your Asterisk register with our voice service provider (VSP)?
03-11-2015 02:58 AM
Well, i dont know that. But now i can make calls from the phone but cant receive.
03-11-2015 07:00 PM
But now i can make calls from the phone but cant receive.
One-way calls is indicative of a NAT issue within your network.
Does your router support ALG, if so DISABLE this.
03-09-2015 05:33 PM
Note - you started the thread in SPA IP Phones / XML Phone Applications
But 7941G is not member of SPA product line and your's question has nothing to do with XML Application at all. So you are off-topic here. Please consider drop of this thread here (red button on top of page) and create it in more appropriate forum (you should add information mentioned by Leo Laohoo as well as information mentioned by me in next paragraph).
According the question itself - best way to analyze registration problem is packet capture. You need to catch SIP REGISTER packets sent from your phone to Asterisk and responses sent in opposite direction. Use a packet catcher (tcpdump, wireshark or so) or display them on Asterisk's console (sip set debug peer ...)
03-10-2015 03:05 AM
Thanks for your time.
Currently im using wireshark to capture the packets, the phone try to contact the asterisk server and thats it, nothing happens after that and keep "Registering"
In asterisk console nothing shows up about the phone.
03-11-2015 02:49 AM
Then it's necessary to identify where TCP packets to Asterisk become dropped. I'm using traceroute program for it most of time. But sorry, I will not pollute this forum with further off-topic messages.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide