Hi guys,
I’m trying to configure Asterisk to work in a scenario where the registrar (host A) is a different host from the proxy (host B). I’d like that Asterisk register on A and than perform other requests through B. My sip.conf is like the following (I’m using Asterisk 1.2.4):
[general]
context=from-net
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
registerattempts=0
checkmwi=10
pedantic=yes
tos=184
useragent=foo
disallow=all
allow=ulaw:30
allow=alaw:30
t38udptlsupport=yes
defaultexpiry=3600
register => userid@fromdomain:secret:userauth@host:port/userid
[userid]
type=peer
user=phone
insecure=very
canreinvite=no
promiscredir=yes
fromuser=userid
dtmfmode=inband
compatmode=off
remotemailbox=0
host=x.x.x.x
fromdomain=y.y.y.y
port=5060
username=userauth
secret=password
disallow=all
allow=ulaw:30
allow=alaw:30
faxtxcodec=ulaw
qualify=no
How can I configure Asterisk to work in the previous scenario?
Thanks a lot.
Enrico