Has anyone got a Cisco 7940 working in PBXIAF??

Fonestar

New Member
Joined
Feb 18, 2009
Messages
28
Reaction score
0
Hi,

I'm very frustrated after getting a ATA186 adapter and being told it supports SCCP + SIP, finding it doesn't do SIP, returning it, given a 7940 with SIP software loaded, spending two days messing with it and making no head-way with it either...

If anyone has a 7940 working in PBXIAF could you post your SIPDefault.cnf and SIP<MAC_ADDRESS>.cnf for me to view?

I've tried three different firmware versions now, I did have it registering as an extension in PBXIAF for awhile, now it doesn't even do that. Usually, gives an "W310 Error(s) Parsing: SIPDefault.cnf".

I really like the phone, I just want it to work! Any help is appreciated!:confused5:
 

phonebuff

Guru
Joined
Feb 7, 2008
Messages
1,115
Reaction score
129
Sir,

I have numerous ATA-186 units working SIP with no real issues.. Not sure why you think they don't.

http://www.voip-info.org/wiki/view/Cisco+ATA+186+SIP+and+Asterisk+-+HowTo

I also have numerous 7940, 7960 & 7970 phones working SIP, you you search here you will find numerous how to postings on this subject. You can also check voipinfo.
http://www.voip-info.org/wiki/view/Setup+SiP+on+7940+-+7960

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

Hi,

I'm very frustrated after getting a ATA186 adapter and being told it supports SCCP + SIP, finding it doesn't do SIP, returning it, given a 7940 with SIP software loaded, spending two days messing with it and making no head-way with it either...

If anyone has a 7940 working in PBXIAF could you post your SIPDefault.cnf and SIP<MAC_ADDRESS>.cnf for me to view?

I've tried three different firmware versions now, I did have it registering as an extension in PBXIAF for awhile, now it doesn't even do that. Usually, gives an "W310 Error(s) Parsing: SIPDefault.cnf".

I really like the phone, I just want it to work! Any help is appreciated!:confused5:
 

bbguy5

New Member
Joined
Jan 24, 2009
Messages
40
Reaction score
0
service iptables stop

set nat=no in the extension config

if that works then its an iptables issue
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
service iptables stop

set nat=no in the extension config

if that works then its an iptables issue

nat=no isn't an iptables issue though is it?

But good catch there because the 79xx's won't work with nat=yes
 

Fonestar

New Member
Joined
Feb 18, 2009
Messages
28
Reaction score
0
tried it

nat=no isn't an iptables issue though is it?

But good catch there because the 79xx's won't work with nat=yes


Set extensions.conf to nat=no and SIPDefault.cnf also has enable_nat: "0". Disabled fail2ban and iptables in PBXIAF. Restarted phone and PBXIAF, still nothing.

Other people mentioned on other forums that Inband dtmf screwed them up. What should that be set at in extensions.conf? RFC2833 or inband? What about the other settings? Someone else mentioned the Cisco phones need ports 10000 - 20000 and not 16384 - 32766 to work properly. Call status shows "no errors".

There are many variables here, which one is causing my phone not to register? Without knowing the specifics of SIPDefault.cnf, extensions.conf and SIP<MAC_ADDR>.cnf I could be messing with this and eternally rebooting my 7940 for a very long time.

Thanks for the advice, any other ideas?
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
Set extensions.conf to nat=no and SIPDefault.cnf also has enable_nat: "0". Disabled fail2ban and iptables in PBXIAF. Restarted phone and PBXIAF, still nothing.

Other people mentioned on other forums that Inband dtmf screwed them up. What should that be set at in extensions.conf? RFC2833 or inband? What about the other settings? Someone else mentioned the Cisco phones need ports 10000 - 20000 and not 16384 - 32766 to work properly. Call status shows "no errors".

There are many variables here, which one is causing my phone not to register? Without knowing the specifics of SIPDefault.cnf, extensions.conf and SIP<MAC_ADDR>.cnf I could be messing with this and eternally rebooting my 7940 for a very long time.

Thanks for the advice, any other ideas?


Im curious. Did you even attempt to use the configuration files I attached above that I have used with my 7940??
 

Fonestar

New Member
Joined
Feb 18, 2009
Messages
28
Reaction score
0
yes

Im curious. Did you even attempt to use the configuration files I attached above that I have used with my 7940??

yes, I did. Thank you for sending those but it didn't help solve the problem
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
What boot rom are you using?
 

Fonestar

New Member
Joined
Feb 18, 2009
Messages
28
Reaction score
0
OH OH!

-- Registered SIP '1080' at 192.168.200.79

This is progress! It wouldn't register before but still a fast busy!
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
OH OH!

-- Registered SIP '1080' at 192.168.200.79

This is progress! It wouldn't register before but still a fast busy!


ugh!!

I specifically remember dealing with this SAME issue you are having now and I quite frankly can't remember the solution! :banghead:

You're on the right path though!

(FYI I am using the SCCP module for asterisk with my 7940 because I couldn't deal with all the SIP issues, but I did get it to register with SIP and I was able to make and take calls)
 

Fonestar

New Member
Joined
Feb 18, 2009
Messages
28
Reaction score
0
Also, I noticed your config uses:

voip_control_port: "5060"

where the others used 5061 and I thought that was strange
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
Oh I just remembered

Besides setting nat=no

trying ALSO setting qualify=no
 

Fonestar

New Member
Joined
Feb 18, 2009
Messages
28
Reaction score
0
ugh!!

I specifically remember dealing with this SAME issue you are having now and I quite frankly can't remember the solution! :banghead:

You're on the right path though!

(FYI I am using the SCCP module for asterisk with my 7940 because I couldn't deal with all the SIP issues, but I did get it to register with SIP and I was able to make and take calls)


I'm beginning to think that is what Cisco had in mind!!
 

The Deacon

Guru
Joined
Jan 29, 2008
Messages
296
Reaction score
14
You do have a current version of the SIP firmware, and you can verify that the phone does load the firmware, right?

Here are my SIPDefault.cnf and my SIP001234567EE8.cnf files. Of course, the SIP001234567EE8.cnf file needs to be renamed to match the SIP<macaddress>.cnf of your 7940 phone and change the extension 799 in the SIP001234567EE8.cnf file to the extension you've configured your 7940 to be. Additionally, you may need to change the time_zone parameter (unless you live in the PST time zone).

In both files, make sure to change the 192.168.1.250 address to match the IP address of your PIAF box

Hopefully these will help.

SIPDefault.cnf
Code:
# Image Version
#image_version: "P0S3-07-5-00"
image_version: "P0S3-08-12-00"

# Proxy Server
proxy1_address: "192.168.1.250"
 
# Proxy Server Port (default - 5060)
proxy1_port:"5060"

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

# Backup Proxy info
proxy_backup: "192.168.1.250"
proxy_backup_port: "5060"
 
# Outbound Proxy info
outbound_proxy: ""
outbound_proxy_port: "5060"
 
# NAT/Firewall Traversal
nat_enable: "0"
nat_address: ""
voip_control_port: "5061"
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: "none"
 
# 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: "2"      ; 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 speed dial to PIAF box
messages_uri: "*97"

# t*f*t*p Phone Specific Configuration File Directory
tftp_cfg_dir: "./"
 
# Time Server
sntp_mode: "unicast"
sntp_server: "192.168.1.250"
time_zone: "PST"
dst_offset: "1"
dst_start_month: "Mar"
dst_start_day: ""
dst_start_day_of_week: "Sun"
dst_start_week_of_month: "2"
dst_start_time: "02"
dst_stop_month: "Nov"
dst_stop_day: ""
dst_stop_day_of_week: "Sunday"
dst_stop_week_of_month: "1"
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: "1"

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

# URL for external Phone Services
services_url: "http://192.168.1.250/xmlservices/index.php"

# URL for external Directory location
directory_url: "http://192.168.1.250/xmlservices/PhoneDirectory.php"

# URL for branding logo
logo_url: "http://192.168.1.250/cisco/asterisk-tux.bmp"

# Remote Party ID
remote_party_id: 1              ; 0-Disabled (default), 1-Enabled
SIP001234567EE8.cnf
Code:
# Cisco SIP Configuration
 phone_label: "SIP_799…"
 line1_name: "799"
 line1_shortname: "799"
 line1_displayname: "799"
 line1_password: "s3cr3t_p^55wurd"
 line2_name: "799"
 line2_shortname: "799"
 line2_displayname: "799"
 line2_password: "s3cr3t_p^55wurd"
 line3_name: "799"
 line3_shortname: "799"
 line3_displayname: "799"
 line3_password: "s3cr3t_p^55wurd"
 line4_name: "799"
 line4_shortname: "799"
 line4_displayname: "799"
 line4_password: "s3cr3t_p^55wurd"
 line5_name: "799"
 line5_shortname: "799"
 line5_displayname: "799"
 line5_password: "s3cr3t_p^55wurd"
 line6_name: "799"
 line6_shortname: "799"
 line6_displayname: "799"
 line6_password: "s3cr3t_p^55wurd"
 line1_authname: "799"
 line2_authname: "799"
 line3_authname: "799"
 line4_authname: "799"
 line5_authname: "799"
 line6_authname: "799"
 
 # end SIPmacaddress.cnf
 

bbguy5

New Member
Joined
Jan 24, 2009
Messages
40
Reaction score
0
try turning iptables off and then playing with your phone. It will help. If i turn iptables on, my 7940 will no longer register
 

Fonestar

New Member
Joined
Feb 18, 2009
Messages
28
Reaction score
0
Thanks for all of the help. What it turned out to be was one of my lines in extensions.conf was not commented out, so the file would not parse. My Cisco 7940 works fine now! I really appreciate all the help. Note to self, eliminate the most obvious things first!
 

Members online

Forum statistics

Threads
25,782
Messages
167,509
Members
19,202
Latest member
pbxnewguy
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.
Top