[Asterisk-Users] Basic Sip proxy setup question
Jeff Donovan
donovan at beth.k12.pa.us
Tue Feb 10 05:52:02 MST 2004
greetings
i have installed Asterisk on OSX 10.2.8
i have two xlite phones.
'i can connect to the PBX and access the menu,but i don't know how i
would connect to the other phones.
When i dial 1234 i get the operator, so i am making a connection. Where
do i add the users? is there something more i need to configure? I just
want to run an internal SIP proxy.
here is my sip.conf
[general]
port = 5060
bindaddr = 192.227.1.69
context = default
[user1]
type=friend
secret=sippass
host=dynamic
default=192.227.1.68
mailbox=2345, 1234
[jeffsip]
type=friend
secret=sip4me
host=192.227.1.68
mailbox=1234
-------------------
both xlite phones can call the PBX but they cannot register. login time
out.
xlite settings:
proxy1
enabled:yes
display name: Asterisk
user name: jeffsip
Authorization User; jeffsip
password: sip4me
Domain/realm: 192.227.1.69
Sip proxy: 192.227.1.69
Send internal Ip: Always
(default on the rest)
xlite logs
(c)2003 Xten Networks Inc. All rights reserved.
Private build: 1101
License key: 7C61966E56CC11D89580000393DAC2D8
Established SIP protocol listen on: 192.227.1.68:5060
Discovered Port Restricted Cone NAT Firewall
SIP: 192.227.1.68:5060
RTP: 192.227.1.68:8000
NAT: 209.96.101.186
PROXY#1: 192.227.1.69:5060
SEND >> 192.227.1.69:5060
REGISTER sip:192.227.1.69 SIP/2.0
Via: SIP/2.0/UDP
192.227.1.68:5060;rport;branch=z9hG4bK57E17DD65B3211D8831E000393DAC2D8
From: Asterisk <sip:jeffsip at 192.227.1.69>
To: Asterisk <sip:jeffsip at 192.227.1.69>
Contact: "Asterisk" <sip:jeffsip at 192.227.1.68:5060>
Call-ID: 57D77A4C5B3211D8831E000393DAC2D8 at 192.227.1.69
CSeq: 41874 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite build 1101
Content-Length: 0
RECEIVE << 192.227.1.69:5060
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP
192.227.1.68:5060;rport;branch=z9hG4bK57E17DD65B3211D8831E000393DAC2D8
From: Asterisk <sip:jeffsip at 192.227.1.69>
To: Asterisk <sip:jeffsip at 192.227.1.69>;tag=as1e082ecd
Call-ID: 57D77A4C5B3211D8831E000393DAC2D8 at 192.227.1.69
CSeq: 41874 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:jeffsip at 192.227.1.69>
Content-Length: 0
SEND >> 192.227.1.69:5060
REGISTER sip:192.227.1.69 SIP/2.0
Via: SIP/2.0/UDP
192.227.1.68:5060;rport;branch=z9hG4bK63EB396E5B3211D8831E000393DAC2D8
From: Asterisk <sip:jeffsip at 192.227.1.69>
To: Asterisk <sip:jeffsip at 192.227.1.69>
Contact: "Asterisk" <sip:jeffsip at 192.227.1.68:5060>
Call-ID: 57D77A4C5B3211D8831E000393DAC2D8 at 192.227.1.69
CSeq: 41875 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite build 1101
Content-Length: 0
RECEIVE << 192.227.1.69:5060
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP
192.227.1.68:5060;rport;branch=z9hG4bK63EB396E5B3211D8831E000393DAC2D8
From: Asterisk <sip:jeffsip at 192.227.1.69>
To: Asterisk <sip:jeffsip at 192.227.1.69>;tag=as20b465ce
Call-ID: 57D77A4C5B3211D8831E000393DAC2D8 at 192.227.1.69
CSeq: 41875 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:jeffsip at 192.227.1.69>
Content-Length: 0
-----------------------------------
jeff donovan
basd network operations
(610) 807 5571 x4
AIM xtdonovan
fwd# 248217
More information about the asterisk-users
mailing list