[Asterisk-Users] Asterisk Server gives 403 forbidden

Greg Hill gregh-asterisk at hillnet.us
Wed Jul 21 12:02:30 MST 2004


On Wed, 21 Jul 2004, Preeti Gopalan wrote:

> [679 at 172.16.4.40]
> type=user                       ; either "friend" (peer+user), "peer" or
> "user"
> context=default
> username=678 at 172.16.4.40                        ; usually matches the
> section title
> host=172.16.4.79             ; we have a static but private IP address
> nat=no                        ; there is not NAT between phone and
> Asterisk
> canreinvite=no               ; allow RTP voice traffic to bypass
> Asterisk

Usually things are set up as user at host. Maybe your username should be 678,
without the host tacked on the end. Also, host= is a way to tell asterisk
the ip of the remote machine, not its own IP. Maybe have one more look at
the samples in sip.conf..

Greg




More information about the asterisk-users mailing list