[Freeswitch-users] Realm Value

Ali Al-Rubaie kerrada2003 at yahoo.com
Tue Feb 17 12:21:39 PST 2009


I have to use a specific softphone, HelpCaster, but it can not pass the authentication stage. However it can authenticate with OpenSips server! What I had noticed is that it uses static realm with OpenSips therefore I'm trying to do the same.





recv 292 bytes from udp/[209.82.10.250]:3458 at
16:35:24.758862:

  
------------------------------------------------------------------------

   REGISTER
sip:209.82.10.235 SIP/2.0

   Via: SIP/2.0/UDP
209.82.10.250:1059

   From:
sip:1001 at 209.82.10.235

   To:
sip:1001 at 209.82.10.235

   Contact:
sip:1001 at 209.82.10.250:1059

   Call-ID:
fc383368-e3e0-4c32-b87b-c3127d0cc2d8 at 192.168.10.23

   CSeq: 597775306
REGISTER

   Content-Length: 0

   Expires: 3600

 

  
------------------------------------------------------------------------

send 582 bytes to udp/[209.82.10.250]:1059 at
16:35:24.763948:

  
------------------------------------------------------------------------

   SIP/2.0 401
Unauthorized

   Via: SIP/2.0/UDP
209.82.10.250:1059

   From:
sip:1001 at 209.82.10.235

   To:
<sip:1001 at 209.82.10.235>;tag=7yam2F01ZH3vH

   Call-ID:
fc383368-e3e0-4c32-b87b-c3127d0cc2d8 at 192.168.10.23

   CSeq: 597775306
REGISTER

   User-Agent:
FreeSWITCH-mod_sofia/1.0.2-hacked

   Allow: INVITE, ACK,
BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE,
REGISTER, INFO, PUBLISH

   Supported: timer,
precondition, path, replaces

   WWW-Authenticate:
Digest realm="209.82.10.235",
nonce="40b63193-85c2-4ed9-874e-c03f81be313d", algorithm=MD5,
qop="auth"

   Content-Length: 0

 

   ------------------------------------------------------------------------

recv 466 bytes from udp/[209.82.10.250]:3458 at
16:35:24.772834:

  
------------------------------------------------------------------------

   REGISTER
sip:209.82.10.235 SIP/2.0

   Via: SIP/2.0/UDP
209.82.10.250:1059

   From:
sip:1001 at 209.82.10.235

   To:
sip:1001 at 209.82.10.235

   Contact:
sip:1001 at 209.82.10.250:1059

   Call-ID:
fc383368-e3e0-4c32-b87b-c3127d0cc2d8 at 192.168.10.23

   CSeq: 597775307
REGISTER

   Content-Length: 0

   Expires: 3600

   Authorization:
Digest
username="1001",realm="209.82.10.235",nonce="40b63193-85c2-4ed9-874e-c03f81be313d",response="eebe0ea43319e82cc5f6dba5877de706",uri="sip:209.82.10.235"

 

  
------------------------------------------------------------------------

send 458 bytes to udp/[209.82.10.250]:1059 at
16:35:24.774354:

  
------------------------------------------------------------------------

   SIP/2.0 403
Forbidden

   Via: SIP/2.0/UDP
209.82.10.250:1059

   From:
sip:1001 at 209.82.10.235

   To:
<sip:1001 at 209.82.10.235>;tag=873c4aH5vtSFD

   Call-ID:
fc383368-e3e0-4c32-b87b-c3127d0cc2d8 at 192.168.10.23

   CSeq: 597775307
REGISTER

   User-Agent:
FreeSWITCH-mod_sofia/1.0.2-hacked

   Allow: INVITE, ACK,
BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE,
REGISTER, INFO, PUBLISH

   Supported: timer,
precondition, path, replaces

   Content-Length: 0

 

  
------------------------------------------------------------------------


Thanks!
 


Message: 2
Date: Tue, 17 Feb 2009 11:39:58 -0600
From: Brian West <brian at freeswitch.org>
Subject: Re: [Freeswitch-users] Realm Value
To: freeswitch-users at lists.freeswitch.org
Message-ID: <2ADB8FA0-3E87-4C99-9A6F-F09C6E0F5DB8 at freeswitch.org>
Content-Type: text/plain; charset="us-ascii"

I'm trying to get a clear picture of what you're trying to  
accomplish.  Why would you need/want to set a static realm?  Anyway  
can you collect sip traces?

/b

On Feb 17, 2009, at 8:51 AM, Ali Al-Rubaie wrote:

> Thanks Brian,
>
> Actually we're using freeswitch ver 1.0.2.
>
>
> Regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090217/e801928a/attachment-0001.html






      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090217/8a59c8fc/attachment-0002.html 


More information about the FreeSWITCH-users mailing list