• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

Weird happenings with remote extention

Status
Not open for further replies.

aftermarket

Joined
Aug 2, 2008
Messages
85
Reaction score
0
Just trialing the 3cx software managed to get all the internal phones connecting however the remote ones seem to connect for a short period then disconnect randomly and keep doing this. Here’s the log of whats happening (the the way the fire wall is off on the 3cx router aswell as the router at the remote location) the 3cx router has the following ports opened:
5060 tcp & udp
5090 tcp
9000 – 9050 tcp & udp
23:12:30.653 Active calls counted toward license limit: []
23:11:58.653 Active calls counted toward license limit: []
23:11:26.653 Active calls counted toward license limit: []
23:10:54.653 Active calls counted toward license limit: []
23:10:23.434 [CM503008]: Call(28): Call is terminated
23:10:22.653 Active calls counted toward license limit: [28]
23:10:18.293 [CM503007]: Call(28): Device joined: sip:[email protected]:40600;rinstance=4857bc8389a63875
23:10:18.293 [CM503007]: Call(28): Device joined: sip:[email protected]:5060;transport=udp
23:10:18.293 [CM503002]: Call(28): Alerting sip:[email protected]:40600;rinstance=4857bc8389a63875
23:10:18.168 [CM503025]: Call(28): Calling Unknown:Ext.EndCall@[Dev:sip:[email protected]:40600;rinstance=4857bc8389a63875]
23:10:18.106 [CM503016]: Call(28): Attempt to reach <sip:[email protected]> failed. Reason: No Answer
23:09:50.653 Active calls counted toward license limit: [28]
23:09:18.653 Active calls counted toward license limit: [28]
23:09:18.434 [CM505001]: Ext.100: Device info: Device Identified: [Man: Cisco;Mod: 7940;Rev: General] Capabilities:[reinvite, replaces, unable-no-sdp, no-recvonly] UserAgent: [Cisco-CP7940G/8.0] PBX contact: [sip:[email protected]:5060]
23:09:18.434 [CM503002]: Call(28): Alerting sip:[email protected]:5060;transport=udp
23:09:18.075 [CM503025]: Call(28): Calling Ext:Ext.100@[Dev:sip:[email protected]:5060;transport=udp]
23:09:17.903 [CM503004]: Call(28): Route 1: Ext:Ext.100@[Dev:sip:[email protected]:5060;transport=udp]
23:09:17.903 [CM503010]: Making route(s) to <sip:[email protected]>
23:09:17.903 [CM505001]: Ext.104: Device info: Device Identified: [Man: Cisco;Mod: 7940;Rev: General] Capabilities:[reinvite, replaces, unable-no-sdp, no-recvonly] UserAgent: [Cisco-CP7940G/8.0] PBX contact: [sip:[email protected]:5060]
23:09:17.903 [CM503001]: Call(28): Incoming call from Ext.104 to <sip:[email protected]>
23:08:46.653 Active calls counted toward license limit: []
23:08:35.622 [CM504001]: Ext.100: new contact is registered. Contact(s): [sip:[email protected]:5060;transport=udp/100]
23:08:14.653 Active calls counted toward license limit: []
23:08:08.200 [CM503008]: Call(27): Call is terminated
23:08:05.012 [CM503007]: Call(27): Device joined: sip:[email protected]:40600;rinstance=4857bc8389a63875
23:08:05.012 [CM503007]: Call(27): Device joined: sip:[email protected]:5060;transport=udp
23:08:05.012 [CM503002]: Call(27): Alerting sip:[email protected]:40600;rinstance=4857bc8389a63875
23:08:04.903 [CM503025]: Call(27): Calling Unknown:Ext.EndCall@[Dev:sip:[email protected]:40600;rinstance=4857bc8389a63875]
23:08:04.840 [CM503016]: Call(27): Attempt to reach <sip:[email protected]> failed. Reason: Not Registered
23:08:04.840 [CM503016]: Call(27): Attempt to reach <sip:[email protected]> failed. Reason: Not Registered
23:08:04.840 [CM503017]: Call(27): Target is not registered: Ext:Ext.103
23:08:04.840 [CM503010]: Making route(s) to <sip:[email protected]>
23:08:04.840 [CM505001]: Ext.104: Device info: Device Identified: [Man: Cisco;Mod: 7940;Rev: General] Capabilities:[reinvite, replaces, unable-no-sdp, no-recvonly] UserAgent: [Cisco-CP7940G/8.0] PBX contact: [sip:[email protected]:5060]
23:08:04.840 [CM503001]: Call(27): Incoming call from Ext.104 to sip:[email protected]

As can be seen the phone manged to register and was able to call it (dont know if the audio was ok as it was never answered) then it randomly unregisters again. Anyone any ideas?
 
aftermarket said:
23:10:18.106 [CM503016]: Call(28): Attempt to reach <sip:[email protected]> failed. Reason: No
Answer

Yes, the call goes through and there is no answer. 3CX identified the device and rang it for one minute. The log doesn't show the set (Ext 100) un-registering.

3CX expects a set to register every 30 minutes or less otherwise it will be considered to be not registered. Once a registration occurs, you could unplug the set and until 3CX tries a call and it fails (no response from the set), the set will still show as registered for 30 minutes. Most ATA and SIP phones will "obey" the registration time that 3CX gives it. Some don't. Make sure that your device is set to re-register at least every 30 minutes.
 
hey, thanks for your reply i've set the phone to register every 25 seconds and still nothing. when it first booted up it connected and i was sucessfull in making a to a mobile however it then unregistered itself again. i'm using the cisco 7940 phone and the confige i'm using is below, any ideas? thanks in advance!

# SIP Default Generic Configuration File

# Image Version
image_version: P003-8-12-00

# Proxy Server
proxy1_address: xxx.xxx.xxx.xxx ; Can be dotted IP or FQDN

# Proxy Server Port (default - 5060)
proxy1_port: 5060

# Proxy Registration (0-disable (default), 1-enable)
proxy_register: 1

# Phone Registration Expiration [1-3932100 sec] (Default - 3600)
timer_register_expires: 25

# Codec for media stream (g711ulaw (default), g711alaw, g729a)
preferred_codec: g711alaw

# Setting for Message speeddial to UOne box
messages_uri: 121

# Time Server
sntp_mode: "unicast"
sntp_server: "time.nist.gov"
time_zone: "GMT"
dst_offset: "1"
dst_start_month: "January"
dst_start_day: ""
dst_start_day_of_week: "Mon"
dst_start_week_of_month: "1"
dst_start_time: "02"
dst_stop_month: "Oct"
dst_stop_day: ""
dst_stop_day_of_week: "Sunday"
dst_stop_week_of_month: "8"
dst_stop_time: "2"
dst_auto_adjust: "1"

#Time Format (0-12hr, 1-24hr [default])
time_format_24hr: "0"

# SIP Timers
timer_t1: "500" ; Default 500 msec
timer_t2: "4000" ; Default 4 sec
sip_retx: "10" ; Default 11
sip_invite_retx: "6" ; Default 7
timer_invite_expires: "180" ; Default 180 sec

# Network Media Type (auto, full100, full10, half100, half10)
network_media_type: "auto"

#Autocompletion During Dial (0-off, 1-on [default])
autocomplete: "0"

# DTMF AVT Payload (Dynamic payload range for AVT tones - 96-127)
dtmf_avt_payload: "100" ; Default 100

# URL for external Phone Services
services_url:

# Dialtone Stutter for MWI
stutter_msg_waiting: 1 ; 0-Disabled (default), 1-Enabled

# Phone Label (Text desired to be displayed in upper right corner)
phone_label: ..Ams..

# Telnet Level (enable or disable the ability to telnet into this phone
telnet_level: "0" ; 0-Disabled (default), 1-Enabled, 2-Privileged
 
Every 25 seconds is a bit of overkill, 1800 seconds should work just fine. When you look at the 3CX logs you should see the initial registration, when the set is first powered up, and then again every 30 minutes. I don't see any STUN settings in your post. This is a "remote" extension isn't it? You should be using STUN.

What leads you to believe that the set is no longer registered?

Did you follow this? http://www.3cx.com/sip-phones/cisco-7940g-7960g/
 
yea this is a remote extension, i haven’t come across and settings to put in the sip default config file that relate to stun. i can see it register and unregister when looking at the extension status on the pbx server. It also doesn’t let us call out or between extensions every now and again. its driving me mad, once i get this cracked I’ll be buying the full package, i have seen somewhere that these phones are particularly difficult in registering as remote extensions
 
From what I can gather, the 7940 either doesn't support STUN, or only the latest firmware will support STUN. There may be a work-around, but without STUN you are going to have issues. Any VoIP set that does not include the STUN option was only intended to be used on the same network as the SIP server. You could put the phone "directly" on the net, not behind a router. If your ISP allows you to have more than one public IP, go to a switch from your modem and then one cable to your router and one to the phone. Each will get a public IP and the set should work.
 
seems that these phones have had their time. Think we'll put cisco 7940 on our internal network and just have to buy new 504g's for the remote sites. thanks for your help and advice
 
Why buy phones that Cisco do not support anymore? 7940's are not easy to configure at all.

I know a bunch of people who gave them away for free and bought nice modern phones that can be configured in less than 1 minute. I'd suggest to go for anything else but that series of phones unless you are really sure of what you are doing.
 
we only bought them to get testing the 3cx system out. we've now sold them all and have ordered the spa504g phones
 
Status
Not open for further replies.

Getting Started - Admin

Latest Posts

Members Online Now

Forum statistics

Threads
141,626
Messages
748,904
Members
144,739
Latest member
Ghisl1
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.