On 2/10/21 8:50 AM, Mihai wrote:
the $fd has the value: asterisk-wind.voicevw.lan; and i want to take the the first part - asterisk-wind
Sure!
Have a look at Kamailio's equivalent of a .split() method:
https://www.kamailio.org/wiki/cookbooks/5.4.x/transformations#sselect_index_...
In essence: $(fd{s.select,0,.});
-- Alex