Hi,

On Mon, Sep 11, 2017 at 8:26 AM, Logeshwaran G <logeshwara...@gmail.com> wrote:
> Is there any way to use the Mapping technique in kamailio.
>
> For Example:
> ==========
>
> Key = 91, Value = India
> Key = 92, Value = Srilanka
>
> How to store Key Value Pairs into kamailio and how to Retrieve?

You can use a htable for that and read it from DB on startup (or
trigger reload via RPC).

$sht(yourHtableName=>91) would give you India then.

HTH
Sebastian

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to