pithen
August 23, 2005, 11:43pm
1
Hi all: I’m trying to set up asterisk for the first time. I have two Cisco 7960 phones, both loaded with firmware P0S3-06-3-00 (SIP). For the moment I’m simply trying to get it so that the phones can call each other, but when I try to dial the extension for one phone from the other, I simply get a fast busy signal. I’ll show as much as I can here, sorry for a long post.
If any other files or outputs would be helpful let me know. Thanks in advanced!
Ken
Results of “sip show peers” and “sip show users”
sip.conf
[general]
context=default
realm=voipmanager
port=5060
bindaddr=0.0.0.0
srvlookup=yes
[510]
type=friend
username=510
fromuser=510
secret=test
host=192.168.1.249
dtmfmode=rfc2833
context=default
canreinvite=no
nat=no
accountcode=1
[520]
type=friend
username=520
fromuser=520
secret=test
host=192.168.1.250
dtmfmode=rfc2833
context=default
canreinvite=no
nat=no
accountcode=1
extensions.conf
[general]
static=yes
writeprotect=no
[default]
exten => 510,1, Dial(SIP/510,20,mTt)
exten => 520,1,Dial(SIP/520,20,mTt)
SIPDefault.cnf
image_version: P0S3-06-3-00
proxy1_address: “192.168.1.100” ; Can be dotted IP or FQDN
proxy1_port: 5060
proxy_register: 1
timer_register_expires: 3600
preferred_codec: none
tos_media: 5
dtmf_inband: 1
dtmf_outofband: avt
dtmf_db_level: 3
timer_t1: 500 ; Default 500 msec
timer_t2: 4000 ; Default 4 sec
sip_retx: 10 ; Default 10
sip_invite_retx: 6 ; Default 6
timer_invite_expires: 180 ; Default 180 sec
dial_template: dialplan
tftp_cfg_dir: “” ; Example: ./sip_phone/
sntp_server: “194.81.227.227” ; SNTP Server IP Address (this is ntp1.ja.net )
sntp_mode: anycast ; unicast, multicast, anycast, or directedbroadcast (default)
time_zone: EST; Time Zone Phone is in
dst_offset: 1 ; Offset from Phone’s time when DST is in effect
dst_start_month: April ; Month in which DST starts
dst_start_day: “21” ; Day of month in which DST starts
dst_start_day_of_week: Sun ; Day of week in which DST starts
dst_start_week_of_month: 1 ; Week of month in which DST starts
dst_start_time: 02 ; Time of day in which DST starts
dst_stop_month: Oct ; Month in which DST stops
dst_stop_day: “20” ; Day of month in which DST stops
dst_stop_day_of_week: Sunday ; Day of week in which DST stops
dst_stop_week_of_month: 8 ; Week of month in which DST stops 8=last week of month
dst_stop_time: 2 ; Time of day in which DST stops
dst_auto_adjust: 1 ; Enable(1-Default)/Disable(0) DST automatic adjustment
time_format_24hr: 1 ; Enable(1 - 24Hr Default)/Disable(0 - 12Hr)
dnd_control: 0 ; Default 0 (Do Not Disturb feature is off)
callerid_blocking: 0 ; Default 0 (Disable sending all calls as anonymous)
anonymous_call_block: 0 ; Default 0 (Disable blocking of anonymous calls)
dtmf_avt_payload: 101 ; Default 101
sync: 1 ; Default 1
proxy_backup: “” ; Dotted IP of Backup Proxy
proxy_backup_port: 5060 ; Backup Proxy port (default is 5060)
proxy_emergency: “” ; Dotted IP of Emergency Proxy
proxy_emergency_port: 5060 ; Emergency Proxy port (default is 5060)
enable_vad: 0 ; VAD setting 0-disable (Default), 1-enable
nat_enable: 0 ; 0-Disabled (default), 1-Enabled
nat_address: “” ; WAN IP address of NAT box (dotted IP or DNS A record only)
voip_control_port: 5060 ; UDP port used for SIP messages (default - 5060)
start_media_port: 16384 ; Start RTP range for media (default - 16384)
end_media_port: 32766 ; End RTP range for media (default - 32766)
nat_received_processing: 0 ; 0-Disabled (default), 1-Enabled
outbound_proxy: “192.168.1.100” ; restricted to dotted IP or DNS A record only (this is fwdnat.pulver.com )
cnf_join_enable : 1 ; 0-Disabled, 1-Enabled (default)
semi_attended_transfer: 1 ; 0-Disabled, 1-Enabled (default)
telnet_level: 2 ; 0-Disabled (default), 1-Enabled, 2-Privileged
remote_party_id: 1 ; 0-Disabled (default), 1-Enabled
call_hold_ringback: 0 ; Default 0 (Disable ringback of held call)
SIP{mac}.cnf: Two of these, exactly the same except the other replaces 520 with 510, and yes I did replace {mac} with the correct macs for the phones.
dialplan.xml
Make sure that NAT is enabled from your CISCO phone and play around by enabling the NAT from your extensions and disabling it.