[Freeswitch-users] Changing internal profile
kriko
kristjan.ugrin at gmail.com
Sat Jan 3 09:23:44 PST 2009
This is sofia status:
http://pastebin.com/m2d6d4a80
When registering I get:
http://pastebin.com/m2381d6a5
I can also provide a wireshark trace, but I don't see anything unusual or network related-problem.
FS actually replies to the phone with 403 Forbidden
On Sat, 03 Jan 2009 17:07:35 +0100, Brian West <brian at freeswitch.org> wrote:
> What is the output of "sofia status"?
>
> And what have you changed from the default config ie in vars.xml?
>
> /b
>
>
> On Jan 3, 2009, at 2:43 AM, kriko wrote:
>
>> I'm trying to change internal address to something else than default
>> external, so I would be able to make calls from phone on wireless
>> to e.g. gtalk users. I already tried this scenario at different
>> location and it work, but everything was on same lan, now I have
>> eth0 interface with external ip e.g. 212.235.180.41
>> eth1 interface with internal ip 192.168.0.1
>>
>> on eth1 is wireless router attached with wireless clients (my phone
>> is 192.168.0.102), messages are going trough, no problem with that.
>> If I got it right I have to change:
>> <param name="rtp-ip" value="$${local_ip_v4}"/>
>> <param name="sip-ip" value="$${local_ip_v4}"/>
>>
>> to 192.168.0.1, after that I modified acl.conf.xml domains section to:
>> <list name="domains" default="deny">
>> <node type="allow" domain="$${domain}"/>
>> <node type="allow" domain="192.168.0.1"/>
>> </list>
>>
>>
>> but I'm getting forbidden:
>> 2009-01-03 09:39:42 [WARNING] sofia_reg.c:1533
>> sofia_reg_parse_auth() Can't find user [1000 at 192.168.0.1]
>> You must define a domain called '192.168.0.1' in your directory and
>> add a user with the id="1000" attribute
>> and you must configure your device to use the proper domain in it's
>> authentication credentials.
>>
>> What directory? Should I delete added node from acl.conf.xml?
>>
>> --
>
--
kriko
More information about the FreeSWITCH-users
mailing list