[SR-Users] Duplicate relayed INVITE message using siptrace not working
Grant Bagdasarian
GB at cm.nl
Fri Aug 9 16:18:45 CEST 2013
Good to know. I'll keep that in mind. Thanks.
Grant
-----Original Message-----
From: sr-users-bounces at lists.sip-router.org [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of Alex Balashov
Sent: Friday, August 9, 2013 4:14 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Duplicate relayed INVITE message using siptrace not working
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/
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users at lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
More information about the sr-users
mailing list