[Freeswitch-users] Configuration
Jonas Gauffin
jonas.gauffin at gmail.com
Tue Jan 8 07:39:40 EST 2008
> > * I only get audio one way when dialing from one registered UA to
> > another, check attached log internal_call.log
>
> Chances are mydomain.com is your public IP right? and I suspect NAT is
> involved? If so then you need to setup a profile for Natted phones
> behind the same nat. One profile for phones outside the nat to
> register with FreeSWITCH ... and the public one listed below.
>
mydomain.com points on my public ip, correct. The phones and FS are
behind a router (on the same lan).
FS have loaded the three profiles (nat, default and outbound). I have
made no changes to them.
Currently I have just tested with phones that is on the same lan as FS.
here is a registration trans:
REGISTER sip:mydomain.com SIP/2.0
Via: SIP/2.0/UDP
192.168.1.123:5060;rport;branch=z9hG4bK6f95bcc8e01f69dda9f5ebf92adc2c93
From: <sip:tobbe at mydomain.com>;tag=66055002
To: <sip:tobbe at mydomain.com>
Call-ID: 58ee65fb0b696f5a370d839058387f2c at 192.168.1.123
Contact: <sip:tobbe at 192.168.1.123:5060>
CSeq: 53 REGISTER
Expires: 300
Authorization: Digest username="tobbe",realm="mydomain.com",[...
some info stripped out
...],uri="sip:mydomain.com",nc=00000001,algorithm=MD5
User-Agent: CMI CM5K
Content-Length: 0
tobbe has user_context set to "default" in conf/directory/default/tobbe.xml
>
> >
> >
> > * Inbound external calls do not work, i get [407][Proxy
> > Authentication Required], check log external_call.log
>
> This is why you need to start another profile to accept calls from the
> outside world with authentication turned off. That would fix that
> problem.
well. the nat profile exists and it has auth_calls set to false. but
maybe it isnt used in my config?
>
> I honestly like having multiple UA's it solves many problems.
>
what do u mean by that? I'm using multiple UA's, all of them are
currently on the same LAN as FS right now (testing enviroment), but
later on, they may also be elsewhere.
But currently I'm trying to get two UA's to be able to talk with each
other (as I said, the audio is just going one way).
And I'm not saying that it's one UA to rule them all.. =) I'm just
trying to understand this all new configuration how a profile is
selected (for inbound/outbound external calls, internal calls,
internal registration (on the same lan as FS) and external
registration (not on the same lan as FS)).
thanks,
jonas
More information about the Freeswitch-users
mailing list