[sr-dev] Fwd: Create multiple profiles using dialog module

Carlos Ruiz Díaz carlos.ruizdiaz at gmail.com
Fri May 16 23:31:27 CEST 2014


Any pseudo variable should work.

I don't exactly know how your business work, but I'd suggest that instead
of using from header domain, use the domain part of the request-uri, $rd.

Regards,
Carlos


On Fri, May 16, 2014 at 4:28 PM, Rahul MathuR <rahul.ultimate at gmail.com>wrote:

> Thank you very much Carlos !
>
> One last thing, can I use $fd in cnxcc_set_max_channels as below -
> cnxcc_set_max_channels("$fd", "$var(max_chan)");
> to restrict the simultaneous calls hitting a particular domain ?
>
>
>
>
> On Sat, May 17, 2014 at 2:03 AM, Carlos Ruiz Díaz <
> carlos.ruizdiaz at gmail.com> wrote:
>
>> Create a profile [1], and count the number of calls of that profile [2].
>>
>> Alternatively, you can use cnxcc module [3].
>>
>> [1]
>> http://kamailio.org/docs/modules/stable/modules/dialog.html#idp1919576
>> [2]
>> http://kamailio.org/docs/modules/stable/modules/dialog.html#idp1964064
>> [3] http://kamailio.org/docs/modules/stable/modules/cnxcc.html#idp132608
>>
>>
>> On Fri, May 16, 2014 at 3:28 PM, Rahul MathuR <rahul.ultimate at gmail.com>wrote:
>>
>>> *Hello,*
>>>
>>> *Please accept my apologies for asking a simple question - Is there any example which shows how can I create the dialog profile **value based on the SIP domain or SIP Server IP (IP like- 112.23.134.5). I** need to control many SIP Server IPs with limited channels to each with my** Kamailio Proxy.*
>>>
>>> *I am a newbie to kamailio world.*
>>>
>>>
>>>
>>> *-- Warm Regds.MathuRahul*
>>>
>>>
>>>
>>> _______________________________________________
>>> sr-dev mailing list
>>> sr-dev at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>>>
>>>
>>
>>
>> --
>> Carlos
>> http://caruizdiaz.com
>> http://ngvoice.com
>> +52 55 3048 3303
>>
>> _______________________________________________
>> sr-dev mailing list
>> sr-dev at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>>
>>
>
>
> --
> Warm Regds.
> MathuRahul
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>


-- 
Carlos
http://caruizdiaz.com
http://ngvoice.com
+52 55 3048 3303
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20140516/e23041c3/attachment-0001.html>


More information about the sr-dev mailing list