< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] Receiving registration with DUM


You also need to set a registration persistence manager
DialogUsageManager::setRegistrationPersistenceManager.  You can use the
prebuilt InMemoryRegistraionDatabase as your persistence manager.

InMemoryRegistrationDatabase regData;
dum->setRegistrationPersistenceManager(regData);

Also - checkout repro for reference.

It will not be very straight forward to do what you want.
ServerRegistrationHandler is setup to respond to registrations - not to
blindly proxy them.  You will need to do some work to get this going.

Scott

> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx
> [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of
> Julio Cabezas
> Sent: Thursday, July 26, 2007 5:30 PM
> To: resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
> Subject: [reSIProcate] Receiving registration with DUM
> 
> 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 contact header-
> field
> and forward them to the domain SIP Proxy.
> My B2BUA is not a registrar, I am doing this so any future incoming
> INVITEs
> reach my server instead of getting to the UAs.
> 
> I am using DUM for the B2BUA and I have already inserted in the code:
> 
> _mMasterProfile->addSupportedMethod(REGISTER);                //allows
to
> receive REGISTER requests
> _mDUM->setServerRegistrationHandler(_mCallbackHandler);       //my
> handler object
> derived from ServerRegistrationHandler
> 
> But the UAs are receiving "405 Method Not Allowed" from my server as
> response to REGISTER.
> 
> 
> What am I missing here to allow my server to receive and forward
> transparently REGISTER requests ?
> 
> Many thanks,
> Julio Cabezas
> 
> 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel