3 Replies Last post: May 11, 2007 11:04 AM by Guest  
Guest

May 10, 2007 9:44 PM

Re: [OpenSIPStack] OpenSBC as complete SBC for a softswitch

Correct.  B2BUpperReg is the correct setting for your topology.   In this mode, if you point your domains to resolve to OpenSBC, OpenSBC would think it is authoritative of that domain and would therefore try to authenticate the calls.  For upper registration to work, you need to point the domains to PortaSIP.  And set upper registration routes to that domain.

-- Joegen --



This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Guest
1. May 11, 2007 4:54 AM in response to: Guest
Re: [OpenSIPStack] OpenSBC as complete SBC for a softswitch
Thank you for that answer. That is what I have done and it 'quite' works. 'Quite' because I have encounter a strange behaviour :
- OpenSBC behave as a B2BUA with Upper registration for domain 'd', it consider 'd' as a trusted domain and add n 'opensbc route' declared as sip:@d sip::5060
- my sipphone register to domain 'd' and it is declared to use opensbc as proxy : it works. Every REGISTER requests goes though openSBC and sipphone get authenticated.
- Opensbc routes each call coming from Portasip to the sipphone perfectly. Media proxy works fine. Great :-)
- for calls coming from my sipphone :
  SIPPhone issue an INVITE
  this INVITE is forwarded to PortaSIP following the opensbc route
  PortaSIP answers an 'SIP/2.0 401 Unauthorized' because no authentication information are available in the request
  Here is the problem : O
PENSBC TRANSLATE IT INTO A 'SIP/2.0 407 Proxy Authentication Required'. As a result, my sipphone authenticate with a 'Proxy-Authorization:' header.
  This answers is forwarded to my PortaSIP which is waiting for a 'Authorization:' header because it issued a 401 error code. As a result, PortaSIP does not authenticate my phone and call can not be established.

Do you think that it is normal to concert 401 responses to 407 responses when openSBC is not used as a proxy but as a B2BUA ? I do not think so but perhaps am I missing some other point ?

In fact, that conversion make it impossible for me to use opensbc as I wish. do you think that it would be possible to take my problem into account and at least offer the choice to convert or not 401 t0 407, depending of the targetted use for opensbc ?

thanks in advance,
best regards,
Cedric



This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Guest
2. May 11, 2007 8:57 AM in response to: Guest
Re: [OpenSIPStack] OpenSBC as complete SBC for a softswitch
Congratualations!  You just found a genuine bug.   Fix is now in CVS.  Thanks for the bug report.


This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Guest
3. May 11, 2007 11:04 AM in response to: Guest
Re: [OpenSIPStack] OpenSBC as complete SBC for a softswitch
It works now perfectly. Thank you for correcting this bug so quickly

Best regards,
Cedric


This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel