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@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@gmail.com> wrote:


On Fri, May 16, 2014 at 3:28 PM, Rahul MathuR <rahul.ultimate@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@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev




--

_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev




--
Warm Regds.
MathuRahul

_______________________________________________
sr-dev mailing list
sr-dev@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