[Freeswitch-users] Strange 400 with some clients

Luis Daniel Lucio Quiroz luis.daniel.lucio at gmail.com
Wed Jul 18 06:59:30 MSD 2012


Using FS 1.0, I'm having problems registering some devices,

Android 4.0.4, Linphone 3.4.0 under Wifi works
Android 2.3.4, Linphone 3.4.0 under Wifi works

it fails here

iPhone IOS 5.1.1, Linphone 3.5.2 under Wifi fails
iPod IOS 5.1.1, Linphone 3.5.2 under Wifi fails

As far as i seen im getting error 400 when IOS is trying to register


here is failling dump

        REGISTER sip:corporate.xxxx.com SIP/2.0
        Via: SIP/2.0/UDP 189.146.85.112:10649;rport;branch=z9hG4bK842453785
        From: <sip:107 at corporate.xxxx.com>;tag=1058009119
        To: <sip:107 at corporate.xxxx.com>
        Call-ID: 508811206
        CSeq: 19 REGISTER
        Contact: <sip:107 at 189.146.85.112:10649:10649;line=06e1d79779fb5b1>
        Max-Forwards: 70
        User-Agent: Linphone/3.5.2 (eXosip2/3.6.0)
        Expires: 600
        Content-Length: 0



        SIP/2.0 400 Bad Contact Header
        Via: SIP/2.0/UDP
189.146.85.112:10649;rport=10649;branch=z9hG4bK842453785
        From: <sip:107 at corporate.xxxx.com>;tag=1058009119
        To: <sip:107 at corporate.xxxx.com>;tag=1FvU4KjDH0ggg
        Call-ID: 508811206
        CSeq: 19 REGISTER
        Content-Length: 0

here is workig request


        REGISTER sip:corporate.xxxx.com SIP/2.0
        Via: SIP/2.0/UDP 189.146.85.112:5060;rport;branch=z9hG4bK86735004
        From: <sip:104 at corporate.xxxx.com>;tag=134885940
        To: <sip:104 at corporate.xxxx.com>
        Call-ID: 591954255
        CSeq: 2 REGISTER
        Contact: <sip:104 at 189.146.85.112:5060;line=26e5d923f2f5be6>
        Authorization: Digest username="104",
realm="corporate.xxxx.com",
nonce="f418e392-b7d1-43e9-98d5-b841134ad19c",
uri="sip:corporate.xxxx.com",
response="f599fa83cb2660595d61bb3cadba6c5b", algorithm=MD5,
cnonce="0a4f113b", qop=auth, nc=00000001
        Max-Forwards: 70
        User-Agent: Linphone/3.4.0 (eXosip2/unknown)
        Expires: 3600
        Content-Length: 0



        SIP/2.0 200 OK
        Via: SIP/2.0/UDP 189.146.85.112:5060;rport=5060;branch=z9hG4bK86735004
        From: <sip:104 at corporate.xxxx.com>;tag=134885940
        To: <sip:104 at corporate.xxxx.com>;tag=Xc0Hp99F0S0Um
        Call-ID: 591954255
        CSeq: 2 REGISTER
        Contact: <sip:104 at 189.146.85.112:5060;line=26e5d923f2f5be6>;expires=3600
        Date: Wed, 18 Jul 2012 02:54:14 GMT
        User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-261505a
2012-02-13 13-50-21 -0600
        Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE,
INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
        Supported: timer, precondition, path, replaces
        Content-Length: 0


Just wondering how to workarround this

regards


LD



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list