[OpenSIPS-Users] Ring Group - Memory Hunt - with serial forking?

Iñaki Baz Castillo ibc at aliax.net
Mon Apr 20 10:12:44 CEST 2009


2009/4/20 Chris Maciejewski <chris at wima.co.uk>:
> Thank you very much for help. I didn't notice load_contacts and
> next_contacts in LCR module :-(
>
> However I have one more question. What is the correct syntax of
> contacts lists in:
>
> modparam("lcr", "contact_avp", "$avp(i:711)")
>
> Say, my contacts are: a at ex.com, b at ex.com and c at ex.com. How should
> $avp(i:711) variale
> look like before calling next_contact() ?

I don't remember it very well, but I expect it should be:

   sip:a at ex.com


> Also would you know any tutorial, reference etc. relating to Opensips
> / CPL-c usage?

Read RFC 3880:
  http://tools.ietf.org/html/rfc3880

CPL is a standard (based on XML) so if you learn from this RFC (the
real specification) you can programmr your own CPL's which will work
perfectly on your OpenSIPs.

Read also about the CPL module, of course.


-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the Users mailing list