Jump to content

Axon and Cisco 7940 problem


Recommended Posts

Hello,

 

I use axon pbx for a while all is working fine. Recently I try to connect a Cisco 7940 (SIP Version POS3_8_11_00) but without success.

If I try to connect my cisco phone directly to my SIP provider it work very fine.

 

In Axon Log, I've:

 

----------------------------------------------------------------

 

18:51:00 UDP Packet Received from 192.168.0.22:51008 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

REGISTER sip:192.168.0.250 SIP/2.0

Via: SIP/2.0/UDP 192.168.0.22:5060;branch=z9hG4bK4a543bb1

From: <sip:102@192.168.0.250>;tag=0014a9bed3250002348c8254-5bf26fc2

To: <sip:102@192.168.0.250>

Call-ID: 0014a9be-d3250002-25151895-62aa677e@192.168.0.22

Max-Forwards: 70

CSeq: 101 REGISTER

User-Agent: Cisco-CP7940G/8.0

Contact: <sip:102@192.168.0.22:5060;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-0014a9bed325>";+u.sip!model.ccm.cisco.com="8"

Content-Length: 0

Expires: 3600

 

 

----------------------------------------------------------------

 

18:51:00 UDP Packet Sent to 192.168.0.22:51008 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

SIP/2.0 401 Unauthorized

Via: SIP/2.0/UDP 192.168.0.22:5060;branch=z9hG4bK4a543bb1

To: <sip:102@192.168.0.250>

From: <sip:102@192.168.0.250>;tag=0014a9bed3250002348c8254-5bf26fc2

Call-ID: 0014a9be-d3250002-25151895-62aa677e@192.168.0.22

CSeq: 101 REGISTER

User-Agent: NCH Swift Sound Axon 1.20

WWW-Authenticate: Digest realm="axon@pbx",nonce="v4307qaq60887w",opaque="",stale=FALSE,algorithm=MD5

Content-Length: 0

 

-----------------------------------------------------------------

 

 

 

I've check the password manytimes and it is correct. (I also tried 1234 password very simple...)

Here are my phone config files

 

 

SIP-formyphone.cnf

 

# THIS FILE NEEDS TO BE CALLED SIPxxxxxxxxxxxx.cnf WHERE 123456789A12 IS YOUR CISCO PHONES MAC ADDRESS 
# CONFIG FOR SIP 8.2 
# SIP Phone Specific Configuration File for Cisco 7940 For MAC Address xxxxxxxxxxxx (start) 
# description 


# Line 1 Settings 

line1_name: "102" ; Line 1 Your user id 

# line1_displayname: "102" ; Line 1 Display Name against buttons on right of screen 

line1_password: "cisco" ; Line 1 Your password 

line1_shortname: "102" 




# Phone Label (Text desired to be displayed in upper right hand corner) 

phone_label: "Bureau" ; Has no effect on SIP messaging 



# Voice mail options 

messages_uri: "xxxx" ; number to dial for voice mail 

mwi_status : "1" 



# Time Zone phone will reside in 

time_zone: GMT 



# Telnet options for this phone 

telnet_level: "2" ; 0-Disabled (default), 1-Enabled, 2-Privileged 

phone_prompt: "Cisco7940" ; Telnet/Console Prompt 

phone_password: "cisco" ; Telnet/Console Password 


# SIP Phone Specific Configuration File for Cisco 7940 For MAC Address xxxxxxxxxxxx (end) 

 

 

 

SIPDefault.cnf

 

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

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

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

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

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

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

# NAT/Firewall Traversal 
nat_enable: "0" 
nat_address: "" 
voip_control_port: "5060" 
start_media_port: "12000" 
end_media_port: "20000" 
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: "1" 

# 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: "0" ; 0-Disabled, 1-Enabled (default) 

# Telnet Level (enable or disable the ability to telnet into this phone 
telnet_level: "0" ; 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: "129.132.2.21" 
time_zone: "EST" 
dst_offset: "1" 
dst_start_month: "April" 
dst_start_day: "" 
dst_start_day_of_week: "Sun" 
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" 

# 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: "syncinfo" 

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

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

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

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

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

# URL for branding logo 
# logo_url: "http://192.168.0.149/cisco/bmp/xcall2logo.bmp" 

 

 

Please help Me...

 

Best Regards.

 

Dan.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...