just got asterisk@home installed.
trying to get a sip softphone (xten lite) to interact with asterisk
i dont have any fxo or fxs, just the 1 sip softphone
ive only modified sip.conf and zapata.conf:
[root@asterisk1 ~]# vi /etc/asterisk/sip.conf
; Note: If your SIP devices are behind a NAT and your Asterisk
; server isn’t, try adding “nat=1” to each peer definition to
; solve translation problems.
[general]
bindport=5060 ; UDP Port to bind to (SIP standard port is 5060)
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
disallow=all
allow=ulaw
allow=alaw
#context = from-sip-external ; Send unknown SIP callers to this context
context=default ; Send unknown SIP callers to this context
#srvlookup=yes <—I added this
srvlookup=yes
callerid = Unknown
[Matt]
type=friend
secret=welcome
qualify=yes ;Qualify peer is no more than 2000 ms away
nat=no ;This phone is not natted
host=dynamic ;This device registers with us
============================
[root@asterisk1 ~]# vi /etc/asterisk/zapata.conf
;
; Zapata telephony interface
;
; Configuration file
[trunkgroups]
[internal]
exten => 100,1,Dial(SIP/Matt)
exten => 611,1,Echo()
exten => 102,1,Answer()
exten => 102,2,Playback(hello-world)
exten => 102,3,Hangup()
[channels]
language=en
context=from-pstn
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
"/etc/asterisk/zapata.conf" 59L, 910C
================
HERE ARE THE SETTINGS ON Xten Lite:
Display Name: Matt
User Name: Matt
Password: welcome
authorization user name: Matt
domain: 192.168.3.37
(register with domain and receive incoming calls is checked)
send outbound via: proxy: 192.168.3.37:5060
Dial plan i left alone : #1\a\a.T;match=1;prestrip=2;
It lets me register the device like its connected, but when i try to dial 100, 611, or 102 it gives me call cannot be placed message.
any idea?
thanks