Yeah, this is a good answer :)

I did somemore research with Fring,and it seems that i'ts not the iphone that talks SIP, iphone talks "fring'ish" with fring servers, who in turn talks SIP with eg your FreeSWITCH .. I have yet to hear of somone having less than 1000ms delay on the media, so I think ("as the SIP guy over here") that it's better to hold out for another app to the iphone for SIP functionality...
Some of these SIP servers uses official addresses in CONTACT, and some not. Servers I have seen has been located (if RIPE is correct) in Finland, Israel, and UK.. there probably is more ...

anyhow tought you might like to know.
regds
Torstein




On Wed, Oct 8, 2008 at 3:10 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
That should be framed so nobody can forget how they passed the buck to.... "the SIP stack" the all knowing SIP stack.  What does that mean?  Tell him next time he wants to pretend he knows what he's talking about to say "THE RFC SAYS...." That's how the pros do it.

For example... The RFC says that if you call someone with a contact header that you MUST send any subsequent communication to that contact address so if you send FS an INVITE with a contact with a local addr, we will try to send the rest of the signaling to that addr.

The solution is for them to use STUN, we all know they won't so the other solution is to turn on the NAT hacks in FS that will make us
do an acl lookup on the contact addr and lock the traffic to be pumped out the reverse port.

In your sip profile add the params
<param name="apply_nat_acl" value="rfc918"/>
<param name="agressive_nat_detection" value="true"/>

This will make FS break all the normal rules so the phone can be behind nat and be stupid and blissful while we pretend they
did the right thing and lie to them so they think you are calling somone on the local lan.





On Wed, Oct 8, 2008 at 7:48 AM, Torstein Knutsen <torstein.knutsen@gmail.com> wrote:
Fring uses private address in contact.fields on some servers ...
on reporting this I got this answer :

Hello,
Thank you for contacting our support team.

I've checked with our SIP guy here and it seems like this is how other SIP softwares work (X-Lite for example)
According to the SIP stack, Contact header MAY exist and it is not a MUST parameter.

If you have further queries, please do not hesitate to contact us again.
Thank you,
Omri.
fring support team.

regards
Torstein



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org