[SR-Users] Duplicate relayed INVITE message using siptrace not working

Alex Balashov abalashov at evaristesys.com
Fri Aug 9 16:13:44 CEST 2013


On 08/09/2013 10:11 AM, Grant Bagdasarian wrote:

> That does it also. Thanks!

Sure thing.  Bear in mind that Kamailio is wildly inconsistent about 
when it requires a numerical parameter (e.g. a flag) as a string literal 
(in double quotes) vs. a numerical literal.

Generally speaking, module functions want numerical values in quotes:

    ds_select_domain("1", "4");
    t_relay("0x01");

while core functions expect numerical values straight up:

    strip(4);
    setflag(22);

This has to do with the way arguments are passed and validated by modules.

However, it's not a hard and fast rule, and there may be exceptions.

-- Alex

-- 
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/



More information about the sr-users mailing list