[OpenSIPS-Users] I need some help in attr matching while forming the Branch .

Sasmita Panda spanda at 3clogic.com
Wed Oct 18 10:31:59 UTC 2023


Hi All ,

Any help on this ?


*Thanks & Regards*
*Sasmita Panda*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*


On Tue, Oct 17, 2023 at 7:54 PM Sasmita Panda <spanda at 3clogic.com> wrote:

> Hi All ,
>
> My requirements seem complicated to me. I dont know whether I am right or
> wrong .
> I am using opensips 1.11 (I have opensips 3.2 as well )
>
> *scenario 1: *
> 989898 - is registered from 3 different  contact with different call-info
> header . and I saved the call-info header in attr column while saving data
> .
>
> 1 contact : call-info : x=hr,network;y=sales,z=marketing
> 2nd contact : call-info : x=hr;y=sales,z=marketing
> 3rd contact : call-info : x=hr,network;y=sales,z=marketing
>
> INVITE :
>     call-info :  x=hr;y=sales
>
> Now while forming a branch for this INVITE , how do I compare this
> call-info with attr to get all the contact and then do serial forking on
> this ?
>
> *scenario 2: *
> 989898 - is registered from 3 different  contact with different call-info
> header . and I saved the call-info header in attr column while saving data
> .
>
> 1 contact : call-info : x=hr,network;y=sales,z=marketing
> 2nd contact : call-info : x=hr;y=sales,z=marketing
> 3rd contact : call-info : x=hr,network;y=sales,z=marketing
>
> INVITE :
>     call-info :  call-info : x=hr,network;y=sales,z=marketing
>
> In this I am getting only 1 contact where there is exact match . And I am
> able to gove call to that contact .
>
> I am stuck on the 1st scenario . I am thinking of exec module to use on
> this . But not getting any better examples of how I do this . Please
> anybody help me out .
>
> Any kind of help is appreciated . thank you in advance .
>
>
> *Thanks & Regards*
> *Sasmita Panda*
> *Senior Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20231018/505ce0a2/attachment.html>


More information about the Users mailing list