[Asterisk-Users] asterisk as sip proxy registrar

Anand S. Katti askatti at ece.iisc.ernet.in
Thu Nov 4 00:10:25 MST 2004


Hello ALl,

	I have Asterisk up and running. Now I want to set it up as sip
proxy registrar. I have few machines with xlite and linphone sip UA's.

How do i register these UA's in asterisk ?

My Asterisk server IP is 10.0.0.2
and my sip UA's IP addresses are 10.0.0.3,10.0.0.4,and 10.0.0.5

When my sip ua's sends reigstration request to Asterisk server, On the
Asterisk console it displays error NOTICE saying

GOT SIP RESPONSE 403 "Forbidden" back from 10.0.0.2

Please let me know if there are any documentation on setting up soft
phones like linphone/xlite with asterisk.

Thanks in advance,
Anand

My sip.conf file looks like this..

;
; SIP Configuration for Asterisk
;
[general]
port = 5060                     ; Port to bind to
bindaddr = 10.0.0.2        ; Address to bind to
context = sip               ; Default for incoming calls
srvlookups=yes
dtmfmode=inband
allow=all
tos = lowdelay
register => clienta at 10.0.0.3/1000
register => sourabha at 10.0.0.4/1001
register => salisd at 10.0.0.5/1002

[sourabha]
type=friend
secret=oneday
host=dynamic
defaultip=10.0.0.3
username=1001

[clienta]
type=friend
secret=oneday
host=dynamic
defaultip=10.0.0.4
username=1000
[salisd]
type=friend
;insecure=yes
username=1002
secret=oneday
host=dynamic
defaultip=10.0.0.4

---------------------------
$extensions.conf file


[globals]
clienta=SIP/1000
sourabha=SIP/1001
salisd=SIP/1002

[incoming]
exten => s,1,Dial,Zap/1,3
exten => s,2,Playback(vm-nobodyavail)

[sip]
;calls to SIP UAs
exten => 1000,1,Dial(${CLIENTA})
exten => 1001,1,Dial(${SOURABHA})
exten => 1002,1,Dial(${SALISD})

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







More information about the asterisk-users mailing list