Re: [sr-dev] [kamailio/kamailio] tr_lookup(): error parsing [{param.count, , }] (#1041)

2017-03-23 Thread Sergey Lavrov
Unfortunately, this doesn't work: ``` $var(delimiter) = ","; $var(count) = $(hdr(History-Info)[*]{param.count, $var(delimiter)}); ``` ``` ERROR: pv [pv_trans.c:2631]: tr_parse_paramlist(): invalid separator in transformation: count, $var(delimiter)}

Re: [sr-dev] avp and topoh questions

2017-03-23 Thread Daniel-Constantin Mierla
Hello, the avps are not available when the callbacks used by topos are executed. An option would be to store in a hash table using from-tag/call-id as a key (requiring to bind to htable, ...). The alternative, if you will develop a solution that requires to mark only the initial request,

Re: [sr-dev] [kamailio/kamailio] tr_lookup(): error parsing [{param.count, , }] (#1041)

2017-03-23 Thread Daniel-Constantin Mierla
Can you try storing the delimiter in a variable (eg. $var(...)) and provide the variable to the transformation? It could be a quick around for now. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] rtpproxy: jammed two IP in SDP o line (#1042)

2017-03-23 Thread Rick
@msalman212 thank you, you pointed me to the misstake I did some tinkering with the sdp bevor calling rtpproxy_manage() -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] rtpproxy: jammed two IP in SDP o line (#1042)

2017-03-23 Thread Rick
Closed #1042. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1042#event-1012738673___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] rtpproxy: jammed two IP in SDP o line (#1042)

2017-03-23 Thread msalman212
Hello, Are you sure you are not changing SDP multiple times in your config? Multiple IP addresses in SDP is a very common cause of miss-handled SDP management in configuration. Either you are calling rtpproxy function multiple time or fixing sdp somewhere. Regards, Salman Zafar On Thu, Mar 23,

Re: [sr-dev] [kamailio/kamailio] rtpproxy: jammed two IP in SDP o line (#1042)

2017-03-23 Thread Rick
Happens as well with an newer version with same config. ``` kamailio -v version: kamailio 5.1.0-dev0 (x86_64/freebsd) flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY,

[sr-dev] [kamailio/kamailio] rtpproxy: jammed two IP in SDP o line (#1042)

2017-03-23 Thread Rick
### Description manage_rtpproxy creates wrong SDP with jammed IPs in o line ### Troubleshooting Reproduction ``` if (nat_uac_test("8")) { rtpproxy_manage("fco"); } else { rtpproxy_manage("fcor"); } ``` SIP Traffic SDP bevor manage_rtpproxy

[sr-dev] [kamailio/kamailio] tr_lookup(): error parsing [{param.count, , }] (#1041)

2017-03-23 Thread Sergey Lavrov
Kamailio can't parse construction like $(hdr(History-Info)[*]{param.count,,}) where delimiter is comma. I tried to use delimiter as , / ',' / "," wuthout success. ERROR: pv [pv_trans.c:2631]: tr_parse_paramlist(): invalid separator in transformation: count,,} ERROR: [pvapi.c:1629]:

Re: [sr-dev] [kamailio/kamailio] db_postgress: insert_update() with DO NOTHING (#1039)

2017-03-23 Thread Julien Chavanton
Closed #1039. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/1039#event-1012500837___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] avp and topoh questions

2017-03-23 Thread Paul Claudiu Boriga
Hello all, My name is Claudiu and I am a new developer in the 1&1 team, also new to SIP and Kamailio. I am having some issues trying to change the way topoh module works, could you help me with some avp and topoh related issues? The idea is to modify how the topoh module works by

Re: [sr-dev] [kamailio/kamailio] db_postgress: insert_update() with DO NOTHING (#1039)

2017-03-23 Thread Daniel-Constantin Mierla
Traveling during the past week, didn't have time to follow up on this. You can close it if you plan another patch. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] uri_db: rework the possibiltiy to use any sip uri (#1034)

2017-03-23 Thread Rick
@miconda hope it is Ok how I did the changes you asked for. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/1034#issuecomment-288715244___

Re: [sr-dev] [kamailio/kamailio] uri_db: rework the possibiltiy to use any sip uri and log macros updates (#1034)

2017-03-23 Thread Rick
@dunst0 pushed 1 commit. 93cf236 uri_db: removed change from log macros -- You are receiving this because you are subscribed to this thread. View it on GitHub: