Re: [Freeswitch-users] Error in default Sofia profile checking

2009-07-13 Thread Brian West
Its not a bug... its just something we do not support in FreeSWITCH  
yet...   Register with no contact is a fetch operation.

/b

On Jul 13, 2009, at 4:30 AM, Peter P GMX wrote:

> 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" .
> From: "8353310" ;tag=avpju.
> Call-ID: ibubkykiithq...@192.168.178.146.
> CSeq: 5792 REGISTER.
> Contact: ;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=0001.
> 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" ;tag=avpju.
> To: "8353310" ;tag=4p5K211F33N2c.
> Call-ID: ibubkykiithq...@192.168.178.146.
> CSeq: 5792 REGISTER.
> Contact: ;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
 mr...@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@lists.freeswitch.org
>>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>
>>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org 
>


 ___
 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 


>>>
>>> ___
>>> 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 
>>
>> 
>>
>> ___
>> Freeswitch-users mailing list
>> Freeswitch-users@lists.freeswitch.org
>> http://lists.freeswitch.org/

Re: [Freeswitch-users] Error in default Sofia profile checking

2009-07-13 Thread Peter P GMX
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" .
From: "8353310" ;tag=avpju.
Call-ID: ibubkykiithq...@192.168.178.146.
CSeq: 5792 REGISTER.
Contact: ;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=0001.
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" ;tag=avpju.
To: "8353310" ;tag=4p5K211F33N2c.
Call-ID: ibubkykiithq...@192.168.178.146.
CSeq: 5792 REGISTER.
Contact: ;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
> >> mr...@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@lists.freeswitch.org
> 
> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>> http://www.freeswitch.org 
> >>>
> >>
> >>
> >> ___
> >> 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 
> >>
> >>
> >
> > ___
> > 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 
>
> 
>
> ___
> Freeswitch-users mailing list
> Freeswitch-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> 

[Freeswitch-users] Error in default Sofia profile checking

2009-07-12 Thread velusamy velu
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
> >> mr...@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@lists.freeswitch.org
> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>> http://www.freeswitch.org
> >>>
> >>
> >>
> >> ___
> >> 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
> >>
> >>
> >
> > ___
> > 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
>
>
___
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


Re: [Freeswitch-users] Error in default Sofia profile checking

2009-07-11 Thread Brian West
http://jira.freeswitch.org/browse/MODENDP-86

/b

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
>> mr...@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@lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>
>>
>> ___
>> 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
>>
>>
>
> ___
> 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


___
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


Re: [Freeswitch-users] Error in default Sofia profile checking

2009-07-11 Thread Peter P GMX
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
> mr...@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@lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>> 
>
>
> ___
> 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
>
>   

___
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


Re: [Freeswitch-users] Error in default Sofia profile checking

2009-07-11 Thread Jason White
Mathieu Rene  wrote:
> Chances are the registering UA didnt provide a Contact header  
> (required by rfc3261)

Just what I thought, hence the suggestion to obtain a sip trace.


___
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


Re: [Freeswitch-users] Error in default Sofia profile checking

2009-07-11 Thread Mathieu Rene
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
mr...@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@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org


___
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


Re: [Freeswitch-users] Error in default Sofia profile checking

2009-07-11 Thread Jason White
velusamy velu  wrote:
>   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!"

Activate sip tracing on the profile (e.g., sofia profile internal siptrace
on), try to register again and save the trace. This should help you to solve
the problem.


___
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


[Freeswitch-users] Error in default Sofia profile checking

2009-07-10 Thread velusamy velu
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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org