trixbox 2.6.0.2: Cisco Endpoint Manager incorrectly generates SIPDefault.cnf

glc650
Posts: 36
Member Since:
2006-11-23

Hello,

The SIPDefault.cnf file generated by the Endpoint Manager does not work. First, the phone reports (settings/5/1) 2 W310 parsing errors. Second, the phone won't register with trixbox ("x" next to line icon). I've created an extension for it and doubled checked the authname and password.

The phone's console keeps kicking back the following msg:

%E620 REG auth failed: ack timer

The only thing I changed in SIPDefault.cnf is the time zone (from EST to PST).

TIA>
-g.



glc650
Posts: 36
Member Since:
2006-11-23
Ok X-Lite registers with the

Ok X-Lite registers with the extension but I still cannot get the Cisco phone to register. Does a package or freepbx module have to be installed before Cisco phones will register?



glc650
Posts: 36
Member Since:
2006-11-23
Finally got a phone to

Finally got a phone to register after starting over from scratch with 2.6.0.5. Cisco Endpoint Manager still produces parsing errors. Not sure why. Is this something that should be submitted as a bug or am I the only one getting parsing errors?



peterfry
Posts: 1
Member Since:
2007-04-23
I'm seeing them too

I had 2 parsing errors on SIPDefault.cnf, and that has been the case with trixbox versions for more than a year.

Hasn't ever caused any problems for me, but I'd like to take care of it anyway. I've got it down to one error now by changing...

dtmf_outofband: "0"
to
dtmf_outofband: ""

Per my cfg file, "0" isn't a valid option:
# Out of band DTMF Settings (none-disable, avt-avt enable (default), avt_always - always avt )



engjohn
Posts: 522
Member Since:
2006-05-31
I had the same problem. I

I had the same problem. I resolved it by changing NAT to NO on the extension config. Then my phone registered and worked fine.



kerryg
Posts: 6793
Member Since:
2006-05-31
I thought all this was fixed

I thought all this was fixed in current versions of the endpoint manager.

--

Kerry Garrison
http://www.VoipStore.com - http://3cxbook.com
(888) VOIPSTORE - (888) 864-7786



erwindr
Posts: 8
Member Since:
2007-01-21
Cisco Endpoint Manager incorrectly generates SIPDefault.cnf

Sorry to dig up this old thread.

Yesterday I upgraded the firmware from SIP7.4 to SIP8.9 on my real estate 7940/7960's
I didn't have any parsing errors in the SIPDefault.cnf with 7.4 but there is one error listed with 8.9 (and also tried 8.8 and 8.6, same)
The SIPDefault.cnf I'm using was once generated by AAH2.7 and I copied it to all following installations.
I can't figure out where this parsing error comes from but the phones work well.

The Trixbox 2.6.1.1 generated SIPDefault.cnf does seem to generate two **extra** errors (at least in my setup):
nat_enable: "0" >> phone does not register, "1" works (must set nat=never in extension.conf !!)
preferred_codec: "none" >> is not a valid option

Still the one error to resolve. Maybe one of you has seen the light?

Regards,
Erwin



ekhaskel
Posts: 47
Member Since:
2006-07-03
Hi, thanks for clue. I got

Hi, thanks for clue. I got the simular problem with my Cisco 7940 http://trixbox.org/forums/trixbox-forums/trixbox-endpoints/proble... and changing nat_enable from "0" to '1" partially resolved it. But phone don't recieve incoming calls and don't detect hangup.
Any ideas?



erwindr
Posts: 8
Member Since:
2007-01-21
Copy-paste my SIPDefault?

OK, try my SIPDefault, just change firmware number and IP addresses.
One more thing: VOIP control port is set to 5061 as standard, that doesn't seem right.

Copy-paste-change below:
======

# Image Version
image_version: "P0S3-08-9-00"

# Proxy Server
proxy1_address: "192.168.1.10"
proxy2_address: "192.168.1.10"
proxy3_address: ""
proxy4_address: ""
proxy5_address: ""
proxy6_address: ""

# Proxy Server Port (default - 5060)
proxy1_port:"5060"
proxy2_port:"5060"
proxy3_port:"5060"
proxy4_port:"5060"
proxy5_port:"5060"
proxy6_port:"5060"

# Emergency Proxy info
proxy_emergency: "192.168.1.10"
proxy_emergency_port: "5060"

# Backup Proxy info
proxy_backup: "192.168.1.10"
proxy_backup_port: "5060"

# Outbound Proxy info
outbound_proxy: ""
outbound_proxy_port: "5060"

# NAT/Firewall Traversal
nat_enable: "1"
nat_address: ""
voip_control_port: "5060"
start_media_port: "16384"
end_media_port: "32766"
nat_received_processing: "0"

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

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

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

# TOS bits in media stream [0-5] (Default - 5)
tos_media: "5"

# Enable VAD (0-disable (default), 1-enable)
enable_vad: "0"

# Allow for the bridge on a 3way call to join remaining parties upon hangup
cnf_join_enable: "1" ; 0-Disabled, 1-Enabled (default)

# Allow Transfer to be completed while target phone is still ringing
semi_attended_transfer: "1" ; 0-Disabled, 1-Enabled (default)

# Telnet Level (enable or disable the ability to telnet into this phone
telnet_level: "1" ; 0-Disabled (default), 1-Enabled, 2-Privileged

# Inband DTMF Settings (0-disable, 1-enable (default))
dtmf_inband: "1"

# Out of band DTMF Settings (none-disable, avt-avt enable (default), avt_always - always avt )
dtmf_outofband: "avt"

# DTMF dB Level Settings (1-6dB down, 2-3db down, 3-nominal (default), 4-3db up, 5-6dB up)
dtmf_db_level: "3"

# 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

# Setting for Message speeddial to UOne box
messages_uri: "*97"

#********* Release 2 new config parameters **********

# TFTP Phone Specific Configuration File Directory
tftp_cfg_dir: "./"

# Time Server
sntp_mode: "unicast"
sntp_server: "193.67.79.202"
time_zone: "CET"
dst_offset: "1"
dst_start_month: "March"
dst_start_day: ""
dst_start_day_of_week: "Sun"
dst_start_week_of_month: "4"
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"

# Do Not Disturb Control (0-off, 1-on, 2-off with no user control, 3-on with no user control)
dnd_control: "0" ; Default 0 (Do Not Disturb feature is off)

# Caller ID Blocking (0-disabled, 1-enabled, 2-disabled no user control, 3-enabled no user control)
callerid_blocking: "0" ; Default 0 (Disable sending all calls as anonymous)

# Anonymous Call Blocking (0-disbaled, 1-enabled, 2-disabled no user control, 3-enabled no user control)
anonymous_call_block: "0" ; Default 0 (Disable blocking of anonymous calls)

# Call Waiting (0-disabled, 1-enabled, 2-disabled with no user control, 3-enabled with no user control)
call_waiting: "1" ; Default 1 (Call Waiting enabled)

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

# XML file that specifies the dialplan desired
dial_template: "dialplan"

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

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

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

# URL for external Phone Services
services_url: "http://192.168.1.10/cisco/services/index_cisco.php"

# URL for external Directory location
directory_url: "http://192.168.1.10/cisco/services/PhoneDirectory.php"

# URL for branding logo
logo_url: ""



mattjgalloway
Posts: 3
Member Since:
2009-01-19
Fix for the web interface

If you're interested, I ran across this problem with DTMF Out of band settings and found a fix:

/var/www/html/maint/modules/endpointcfg/templates/endpoint_cisco_edit_default.tpl

Line 122:

{translation charString = $OUTOFBANDDTMFSETINGS language = $trixbox_language} {html_options name=dtmf_outofband options=$enable_disable_list selected=$default.dtmf_outofband}

to

{translation charString = $OUTOFBANDDTMFSETINGS language = $trixbox_language} {html_options name=dtmf_outofband options=$dtmf_outofband_list selected=$default.dtmf_outofband}

So annoying, but it seems the code is there to have the correct list, but it doesn't make it through to the smarty tempate file!



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.