[Freeswitch-users] SIP/2.0 403 Forbidden

Al Bogner freeswitch at ml102.pinguin.uni.cc
Tue Jun 28 00:05:04 MSD 2011


I am doing my first steps with freeswitch. 

I have installed on an Ubuntu 11.04 server:

ii  freeswitch                           1.0.7~20110603-0natty6  
ii  freeswitch-codec-passthru-g7231      1.0.7~20110603-0natty6  
ii  freeswitch-codec-passthru-g729       1.0.7~20110603-0natty6  
ii  freeswitch-lang-de                   1.0.7~20110603-0natty6  
ii  freeswitch-lang-en                   1.0.7~20110603-0natty6


Following the tutorial at
http://www.onlinesolution.co.nz/viewtopic.php?t=102
I modified /opt/freeswitch/conf/directory/default/1000.xml

<include>
  <user id="1000">
    <params>
      <param name="password" value="siptest"/>
      <param name="vm-password" value="siptest"/>
    </params>
    <variables>
      <variable name="toll_allow" value="domestic,local"/>
      <variable name="accountcode" value="1000"/>
      <variable name="user_context" value="default"/>
      <variable name="effective_caller_id_name" value="Extension 1000"/>
      <variable name="effective_caller_id_number" value="1000"/>
      <variable name="outbound_caller_id_name"
value="$${outbound_caller_name}"/> <variable
name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
<variable name="callgroup" value="techsupport"/> </variables>
  </user>
</include>


Then I tried to connect to the server from another machine:


+++ 27-6-2011 17:07:30.279796 INFO SIP ::send_sip_udp
Send to: udp:192.168.2.100:5060
REGISTER sip:192.168.2.100 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.108;rport;branch=z9hG4bKcvkohckk
Max-Forwards: 70
To: "FS Admin" <sip:1000 at 192.168.2.100>
From: "FS Admin" <sip:1000 at 192.168.2.100>;tag=nyyvz
Call-ID: zmjxppampyrrgxk at client.local.tld
CSeq: 645 REGISTER
Contact: <sip:1000 at 192.168.2.108>;expires=3600
Allow:
INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
User-Agent: Twinkle/1.4.2 Content-Length: 0


---

+++ 27-6-2011 17:07:30.281799 INFO SIP ::process_sip_msg
Received from: udp:192.168.2.100:5060
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP
192.168.2.108;received=192.168.2.108;rport=5060;branch=z9hG4bKcvkohckk
To: "FS Admin" <sip:1000 at 192.168.2.100>;tag=iairy From: "FS Admin"
<sip:1000 at 192.168.2.100>;tag=nyyvz Call-ID:
zmjxppampyrrgxk at client.local.tld CSeq: 645 REGISTER
Server: Twinkle/1.4.2
Content-Length: 0


What could be wrong, so I can't connect?

Al



More information about the FreeSWITCH-users mailing list