Hi Community,
I would like to seek your help in SIP Registration. I have review and check guides online but unfortunately still unable to register.
The current working phones registered to Asterisk SIP Protocol System are Lynksys.
I need your assistance to enlighten how to register sip protocol using New handset Cisco IP Phone 7942G.
The information details:
Asterisk System version 1.4.26 - IP 172.28.252.61
Lynksys VoIP switch - IP 192.168.242.1 - this were phones are connected.
Nextone - IP 61.28.XXX.XXX
Cisco IP Phone 7942G Firmware SIP42.8-5-3S - IP 192.168.242.74
Below the current config of asterisk server.
1073/1073 172.28.252.28 D N 5060 OK (1 ms) - Working Lynksys
1078/1078 (Unspecified) D N 0 UNKNOWN - Unable to register Cisco Phones 7942G
- Name : 1073 : 1078
Secret : :
MD5Secret : :
Context : from-internal : from-internal
Subscr.Cont. : :
Language : :
AMA flags : Unknown : Unknown
Transfer mode: open : open
CallingPres : Presentation Allowed, Not Screened : Presentation Allowed, Not Scr
Callgroup : :
Pickupgroup : :
Mailbox : :
VM Extension : asterisk : asterisk
LastMsgsSent : 32767/65535 : 32767/65535
Call limit : 0 : 0
Dynamic : Yes : Yes
Callerid : “” <> : “” <>
MaxCallBR : 384 kbps : 384 kbps
Expire : 606 : -1
Insecure : no : no
Nat : Always : Always
ACL : No : No
T38 pt UDPTL : No : No
CanReinvite : Yes : Yes
PromiscRedir : No : No
User=Phone : No : No
Video Support: No : No
Trust RPID : No : No
Send RPID : No : No
Subscriptions: Yes : Yes
Overlap dial : Yes : Yes
DTMFmode : auto : auto
LastMsg : 0 : 0
ToHost : : 172.28.252.28
Addr->IP : 172.28.252.28 Port 5060 : (Unspecified) Port 0
Defaddr->IP : 0.0.0.0 Port 5060 : 0.0.0.0 Port 5060
Def. Username: 1073 : 1078
SIP Options : (none) : (none)
Codecs : 0x8 (alaw) : 0x8 (alaw)
Codec Order : (alaw:20) : (alaw:20)
Auto-Framing: No No
Status : OK (1 ms) : UNKNOWN
Useragent : Linksys/SPA922-5.1.15 (a) :
Reg. Contact : sip:1073@172.28.252.28:5060 :
1 . sip.conf
[general]
port = 5060
bindaddr = 0.0.0.0
disallow=all
;allow=g729
;allow=ulaw
allow=alaw
pedantic=no
dtmfmode=auto
nat=yes
qualify=yes
registerattempts=0
registertimeout=20
[1078]
type=friend
username=1078
secret=qwerty!23
host=dynamic
context=from-internal
[1073]
type=friend
username=1073
secret=!+,zxA0vB+
host=dynamic
dtmfmode=auto
context=from-internal
2 . extension.conf
[globals]
PHIL=632
RECPATH=/var/spool/asterisk/monitor/calls/
RECPATH2=/var/spool/asterisk/monitor/ext/
RECTEST=/home/franco/test/
CELLULAR=63
PH=63
TRIES=0
[default]
exten => h,1,DeadAgi(callInit|hup|${UNIQUEID})
include => queues
[from-internal]
; Queue Dialing
exten => _1XXX,1,Dial(SIP/${EXTEN},15,kK)
exten => _1XXX,n,UserEvent(DialStatus|Context: ${CONTEXT}|Exten: ${EXTEN}|Uniqueid: ${UNIQUEID}|Epoch ${EPOCH}|Param1: ${DIALSTATUS})
exten => _1XXX,n,Hangup
exten => _31XXX,1,Dial(SIP/${EXTEN:1},kK)
exten => _31XXX,n,UserEvent(DialStatus|Context: ${CONTEXT}|Exten: ${EXTEN}|Uniqueid: ${UNIQUEID}|Epoch ${EPOCH}|Param1: ${DIALSTATUS})
exten => _31XXX,n,Hangup
Cisco IP Phone 7942G config
a. dialplan.xml
b. SEP44ADD9D5B0D0.cnf.xml
SIP cisco cisco M/D/Ya China Standard/Daylight Time 8.8.8.8 Unicast 2000 5060 5061 172.28.252.61 true true x-serviceuri-cfwdall x-cisco-serviceuri-pickup x-cisco-serviceuri-opickup x-cisco-serviceuri-gpickup x-cisco-serviceuri-meetme x-cisco-serviceuri-abbrdial false 2 true true 2 2 0 true 6 10 180 3600 5 120 120 5 500 4000 70 true None 1 false true false false g711ulaw 101 3 avt false false 3 false 1078 0 false 10 false 16384 32766 9 Agent MiGZ 61.28.XXX.XXX 5060 1078 1078 2 3 1078 false 1 3501 4 5 1078 true true false true 5060 184 0 dialplan.xml true 1 SIP42.8-5-3S false false 0 1 0 0 0 0 1 1 1 1143565489-a3cbf294-7526-4c29-8791-c4fce4ce4c37 US US 5.0(2) 1 96 0 96 2 0 3804 falsec. SIP44ADD9D5B0D0.cnf
proxy1_address: "172.28.252.61"
proxy2_address: ""
proxy3_address: ""
proxy4_address: “”
line1_name: "1078"
line1_shortname: "1078"
line1_displayname: "Agent 1078"
line1_authname: "1078"
line1_password: “secretpassword”
line2_name: ""
line2_shortname: ""
line2_displayname: ""
line2_authname: "UNPROVISIONED"
line2_password: “UNPROVISIONED”
proxy_emergency: ""
proxy_emergency_port: "5060"
proxy_backup: ""
proxy_backup_port: "5060"
outbound_proxy: ""
outbound_proxy_port: “5060”
nat_enable: "0"
nat_address: ""
voip_control_port: "5060"
start_media_port: "16348"
end_media_port: "20134"
nat_received_processing: “0”
phone_label: "Phone Title "
time_zone: CST
logo_url: “http://domain.ext/imagefile.bmp”
telnet_level: "2"
phone_prompt: "Cisco7942”
phone_password: ""
enable_vad: "0"
network_media_type: "auto"
user_info: phone
d. XMLDefault.cnf.xml
2000 2427 2428 SIP42.8-5-3SYour assistance is really appreciate. You may also add me to gmail account miguel.tantay@gmail.com
- migsterisk*