[Kamailio-Devel] [ openser-Patches-1824748 ] Add callID testing to registrar:registered()

Aron Rosenberg arosenberg at sightspeed.com
Mon Sep 1 19:39:18 CEST 2008


We use this to run certain logic at the first login vs a reregister.

-Aron

-----Original Message-----
From: devel-bounces at lists.kamailio.org
[mailto:devel-bounces at lists.kamailio.org] On Behalf Of Klaus Darilion
Sent: Monday, September 01, 2008 2:06 AM
To: devel
Subject: Re: [Kamailio-Devel] [ openser-Patches-1824748 ] Add callID
testing to registrar:registered()

Hi!

I wonder whats the use-case of this feature?

regards
klaus

SourceForge.net schrieb:
> Patches item #1824748, was opened at 2007-11-02 16:32
> Message generated for change (Comment added) made by henningw
> You can respond by visiting: 
>
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1824748&gro
up_id=139143
> 
> Please note that this message will contain a full copy of the comment
thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: modules
>> Group: ver devel
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: Kobi Eshun (ekobi)
>> Assigned to: Henning Westerholt (henningw)
> Summary: Add callID testing to registrar:registered()
> 
> Initial Comment:
> Attached is a small patch to facilitate managing multiple registration
instances using the same credentials. It introduces a new module AVP,
reg_callid_avp. If reg_callid_avp is defined and populated when
registered() is invoked, the result is TRUE only if an active
registration with the specified callID is found.
> 
> --
> kobi
> 
> ----------------------------------------------------------------------
> 
>> Comment By: Henning Westerholt (henningw)
> Date: 2008-08-29 15:00
> 
> Message:
> Logged In: YES 
> user_id=337916
> Originator: NO
> 
> Thanks for the updates, i'll merge this patch with some small
adaptions.
> 
> ----------------------------------------------------------------------
> 
> Comment By: Kobi Eshun (ekobi)
> Date: 2008-08-29 00:14
> 
> Message:
> Logged In: YES 
> user_id=1039134
> Originator: YES
> 
> Revised again to resolve bad refs to LOG macros and xl_XXX()
funcitons.
> File Added: registrar_callid_test.patch
> 
> ----------------------------------------------------------------------
> 
> Comment By: Kobi Eshun (ekobi)
> Date: 2008-08-28 17:49
> 
> Message:
> Logged In: YES 
> user_id=1039134
> Originator: YES
> 
> My bad -- grabbed the wrong version. Try this one. Cheers,
> --
> kobi
> File Added: registrar_callid_test.patch
> 
> ----------------------------------------------------------------------
> 
> Comment By: Henning Westerholt (henningw)
> Date: 2008-08-28 13:24
> 
> Message:
> Logged In: YES 
> user_id=337916
> Originator: NO
> 
> Hi Kobi, i've tried, but get still this errors. It seems that both
patches
> differs only in one comment and line break.
> 
> ----------------------------------------------------------------------
> 
> Comment By: Kobi Eshun (ekobi)
> Date: 2008-08-27 20:49
> 
> Message:
> Logged In: YES 
> user_id=1039134
> Originator: YES
> 
> Adding updated version that compiles against 1.4. Be aware that it has
not
> been tested in this configuration.
> File Added: registrar_callid_test.patch
> 
> ----------------------------------------------------------------------
> 
> Comment By: Henning Westerholt (henningw)
> Date: 2008-08-11 10:21
> 
> Message:
> Logged In: YES 
> user_id=337916
> Originator: NO
> 
> Hi,
> 
> thank you for the patch. I've tried it, it did not compile anymore for
the
> actual trunk. I get the following errors:
> 
> reg_mod.c: In function mod_init:
> reg_mod.c:278: warning: implicit declaration of function
> xl_parse_spec
> reg_mod.c:279: Error: error: XL_THROW_ERROR undeclared (first use in
> this function)
> reg_mod.c:279: Error: error: (Each undeclared identifier is reported
only
> once
> reg_mod.c:279: Error: error: for each function it appears in.)
> reg_mod.c:279: Error: error: XL_DISABLE_MULTI undeclared (first use
> in this function)
> reg_mod.c:279: Error: error: XL_DISABLE_COLORS undeclared (first use
> in this function)
> reg_mod.c:280: Error: error: XL_AVP undeclared (first use in this
> function)
> reg_mod.c:281: warning: implicit declaration of function LOG
> reg_mod.c:286: warning: implicit declaration of function
> xl_get_avp_name
> 
> Perhaps do you have already created an updated version that you use
> internally? Cheers,
> 
> Henning
> 
> ----------------------------------------------------------------------
> 
> You can respond by visiting: 
>
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1824748&gro
up_id=139143
> 
> _______________________________________________
> Devel mailing list
> Devel at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/devel

_______________________________________________
Devel mailing list
Devel at lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/devel



More information about the Devel mailing list