[reSIProcate] Proxying Registrations with a B2BUA

Julio Cabezas jcabezas at inovax.com.br
Tue Jul 31 11:44:14 CDT 2007


Hi,   

 

I am writing a SIP server that is a B2BUA. 

I will configure UAs to point to my server as an outbound proxy.

So my server will receive REGISTERs from UAs, rewrite Via and Contact
header-fields and forward them to the domain SIP Registrar. 

My B2BUA is not a registrar, I am doing this so any future incoming INVITEs
reach B2BUA instead of getting to the UAs.

       

 

Flow below shows what I need. Symbol "*" means a rewrite of parts of a SIP
message as it is forwarded:

 

UA                      B2BUA(my app)                  REGISTRAR   

                                                                   

|           REGISTER          ||                             |      

|--------------------------->>||           REGISTER*         |      

|                             ||--------------------------->>|      

|                             ||                             |      

|                             ||   407 Proxy Auth.Required   |      

|                             ||<<---------------------------|      

|   407 Proxy Auth.Required   ||                             |      

|<<---------------------------||                             |      

|                             ||                             |      

|           REGISTER          ||                             |      

|--------------------------->>||                             |      

|                             ||           REGISTER*         |      

|                             ||--------------------------->>|      

|                             ||                             |      

|                             ||            200 OK           |      

|                             ||<<---------------------------|      

|            200 OK           ||                             |      

|<<---------------------------||                             |      

|                             ||                             |      

 

 

I am using DUM for the B2BUA and I wonder if someone has some clues of what
and where to do in reciprocate/my B2BUA to achieve that. 

Can it be done by merely subclassing stack/DUM classes or will I need to
rewrite stack/DUM classes ?

 

 

Thank you all, 

Julio Cabezas

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070731/1facf0ba/attachment.htm>


More information about the resiprocate-devel mailing list