[reSIProcate] Asynch Registration
I'm creating asynch Registration (no authorization). Proxy gets registration
then sends the message to a 3rd party server whom decides if to accept or
reject.
Ok, here is what I tried.
I implemented a Registrar. When I get the ServerRegistration Handler ::OnAdd()
I keep the resip::ServerRegistrationHandle for later use.
Once I get accept from the 3rd party Server I use the
resip::ServerRegistrationHandle for sending OK message.
This seems to work fine, but am I asking for memory exceptions?
How long will the resip::ServerRegistrationHandle will be relevant?
What happens if another registration request arrives before I send the accept?
Can the dum handle several resip::ServerRegistrationHandles ?
I would rather keep a clone of the register message or message ID, but it seems
like all the Dum member functions for finding a relevant Registration instances
are not exposed (private), or am I missing something?
Oren
Oren Shochat
Email: orens@xxxxxxxxxxxxxxxx
Tel: ++972-9-9590059 ext. 348
Cel: ++055-3022494
Fax: ++972-9-9567244
1 CLICK AWAY From Being There - www.vcon.com
Money Isn't Everything... But it Sure Keeps the Kids In Touch
<<Oren Shochat.vcf>>
BEGIN:VCARD
VERSION:2.1
N:Shochat;Oren
FN:Oren Shochat
ORG:VCON Ltd.
TEL;WORK;VOICE:+972 (9) 959 0059/304
TEL;WORK;VOICE:+972 (9) 959 0000
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;Bet Lumir,=0D=0A22 Maskit St.;Herzliya;;46 733;Israel
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Bet Lumir,=0D=0A22 Maskit St.=0D=0AHerzliya 46 733=0D=0AIsrael
EMAIL;PREF;INTERNET:orens@xxxxxxxxxx
REV:20030211T143855Z
END:VCARD