[Freeswitch-users] Error in default Sofia profile checking

Peter P GMX Prometheus001 at gmx.net
Mon Jul 13 02:30:14 PDT 2009


Which twinkle version are you using? I use Twinkle 1.0.1 and my SIP
register looks as follows. As you can see, the contact header is there.

U 127.0.0.1:5062 -> 127.0.0.1:5060
REGISTER sip:127.0.0.1 SIP/2.0.
Via: SIP/2.0/UDP 192.168.178.146:5062;rport;branch=z9hG4bKtvnvzdwy.
Max-Forwards: 70.
To: "8353310" <sip:8353310 at 127.0.0.1>.
From: "8353310" <sip:8353310 at 127.0.0.1>;tag=avpju.
Call-ID: ibubkykiithqlne at 192.168.178.146.
CSeq: 5792 REGISTER.
Contact: <sip:8353310 at 192.168.178.146:5062>;expires=60.
Authorization: Digest
username="8353310",realm="127.0.0.1",nonce="4bcfe1b0-6f8f-11de-bc32-2dff86a04420",uri="sip:127.0.0.1",response="922690317852a402052da6f74f7196df",algorithm=MD5,cnonce="k9662kmk64",qop=auth,nc=00000001.
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO.
User-Agent: Twinkle/1.0.1.
Content-Length: 0.
.

#
U 127.0.0.1:5060 -> 127.0.0.1:5062
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
192.168.178.146:5062;rport=5062;branch=z9hG4bKtvnvzdwy;received=127.0.0.1.
From: "8353310" <sip:8353310 at 127.0.0.1>;tag=avpju.
To: "8353310" <sip:8353310 at 127.0.0.1>;tag=4p5K211F33N2c.
Call-ID: ibubkykiithqlne at 192.168.178.146.
CSeq: 5792 REGISTER.
Contact: <sip:8353310 at 192.168.178.146:5062>;expires=60.
Date: Mon, 13 Jul 2009 09:26:51 GMT.
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-12955M.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH.
Supported: timer, precondition, path, replaces.
Content-Length: 0.

Can you ngrep your traffic and port your register request?
ngrep -d any port 5060 -W byline


Best regards
Peter

velusamy velu schrieb:
>
> Dear Peter,
>           I have followed your steps, For me my FS and Twinkle running
> in separate machine. But, I am still receiving the same error
>               "[ERR] sofia_reg.c:1135
> sofia_reg_handle_sip_i_register() NO CONTACT!"
>
>          Please give any suggestions to rectify this error..
>
> Thanks in Advance,
>
> Regards,
> K.Velusamy.
>
>
>
>     On Jul 11, 2009, at 8:46 AM, Peter P GMX wrote:
>
>     > I have several Twinkles running against freeswitch on a locally
>     > installed machine (FS acts as a SIP/TLS proxy).
>     > So in general Twinkle works (on various Ubuntu machines from 7
>     upto 9
>     > with various Twinkle versions). It must be some kind of setting in
>     > Twinkle. E.g.
>     >
>     >    * set the local Twinkle SIP UDP port to 5062 in general settings
>     >    * Set the right network interface (e.g. eth0)
>     >    * In the profile do not set the realm
>     >    * Allow missing contact header on 200 OK
>     >
>     > Best regards
>     > Peter
>     >
>     >
>     >
>     > Mathieu Rene schrieb:
>     >> Chances are the registering UA didnt provide a Contact header
>     >> (required by rfc3261)
>     >>
>     >> Mathieu Rene
>     >> Avant-Garde Solutions Inc
>     >> Office: + 1 (514) 664-1044 x100
>     >> Cell: +1 (514) 664-1044 x200
>     >> mrene at avgs.ca <mailto:mrene at avgs.ca>
>     >>
>     >>
>     >>
>     >>
>     >> On 11-Jul-09, at 1:23 AM, velusamy velu wrote:
>     >>
>     >>
>     >>> Dear Friends,
>     >>>          When I register my Softphone(Twinkle) with predefined
>     >>> sofia registration("1000" with password "1234").   I have got the
>     >>> following error in FreeSWITCH console.
>     >>>
>     >>>          "2009-07-11 09:37:16 [ERR] sofia_reg.c:1135
>     >>> sofia_reg_handle_sip_i_
>     >>> register() NO CONTACT!"
>     >>>
>     >>>        Please help me to solve this problem...
>     >>>
>     >>> Regards,
>     >>> K.Velusamy.
>     >>> _______________________________________________
>     >>> Freeswitch-users mailing list
>     >>> Freeswitch-users at lists.freeswitch.org
>     <mailto:Freeswitch-users at lists.freeswitch.org>
>     >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     >>>
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     >>> http://www.freeswitch.org <http://www.freeswitch.org/>
>     >>>
>     >>
>     >>
>     >> _______________________________________________
>     >> Freeswitch-users mailing list
>     >> Freeswitch-users at lists.freeswitch.org
>     <mailto:Freeswitch-users at lists.freeswitch.org>
>     >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     >>
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     >> http://www.freeswitch.org <http://www.freeswitch.org/>
>     >>
>     >>
>     >
>     > _______________________________________________
>     > Freeswitch-users mailing list
>     > Freeswitch-users at lists.freeswitch.org
>     <mailto:Freeswitch-users at lists.freeswitch.org>
>     > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     >
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     > http://www.freeswitch.org <http://www.freeswitch.org/>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>   




More information about the FreeSWITCH-users mailing list