Re: [SR-Users] IP fragment

2015-06-09 Thread Tuan Viet Nguyen
Thank you for this information ! Best regards, On Thu, Jun 4, 2015 at 7:45 PM, Alex Balashov wrote: > On 06/04/2015 11:14 AM, Tuan Viet Nguyen wrote: > > I would like to know if Kamailio handles the case where we receive a big >> SIP message fragmented in IP layer? >&g

[SR-Users] IP fragment

2015-06-04 Thread Tuan Viet Nguyen
Hello, I would like to know if Kamailio handles the case where we receive a big SIP message fragmented in IP layer? Thanks, ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router

Re: [SR-Users] dialog is not deleted when BYE received

2014-03-25 Thread Tuan Viet Nguyen
Hello, Does someone have the same problem? Thanks in advance. On Wed, Mar 12, 2014 at 1:07 PM, Tuan Viet Nguyen wrote: > Hello, > > I disable the rr module and only use SIP elements for dialog match > modparam("dialog", "dlg_match_mode", 2) > > Upon re

[SR-Users] [Sr-users]siptrace duplicate_uri

2014-03-21 Thread Tuan Viet Nguyen
Hello, I set duplicate_uri to store sip messages in an external server #!ifdef WITH_SIPTRACE modparam("siptrace", "db_url", mysql_conn_data) modparam("siptrace", "traced_user_avp", "$avp(s:traced_user)") modparam("siptrace", "trace_on",1) # disable siptrace modparam("siptrace", "trace_flag",FLT_S

[SR-Users] dialog is not deleted when BYE received

2014-03-12 Thread Tuan Viet Nguyen
Hello, I disable the rr module and only use SIP elements for dialog match modparam("dialog", "dlg_match_mode", 2) Upon receipt of a BYE request, the request is correctly forwarded and the call ended but the dialog still exists with ref_count = 2 kamctl fifo dlg_list dialog:: hash=731:5167 st

Re: [SR-Users] Kamailio crashes with double qm_free

2014-02-28 Thread Tuan Viet Nguyen
ilio.cfg > > I saw that other developers will start soon to investigate, I will look > over the reports soon as well, currently being out of office. > > Cheers, > Daniel > > > On 28/02/14 13:31, Tuan Viet Nguyen wrote: > > Hello, > > I have another kamaili

[SR-Users] Kamailio crashes with double qm_free

2014-02-28 Thread Tuan Viet Nguyen
Hello, I have another kamailio crash with 4.1.1. The scenario is simple: + call a number, fail + retry on another peer, fails In this case, I use t_reply("404", "Not found") then exit. It seems that we have a double qm_free. Log file Feb 28 13:15:56 kamailio23 /usr/local/sbin/kamailio[29595]: WA

[SR-Users] kamailio crashes

2014-02-28 Thread Tuan Viet Nguyen
Hello, I have a crash with the following scenario: I try to route an INVITE to a remote host, it fails, I route to the second suing the dispatcher module. It fails the second time and I stop the call. It seems that I did not release the transaction in this case 93454 Feb 28 11:39:08 kamailio23 /u

Re: [SR-Users] core generated - 502 Bad gateway

2014-02-13 Thread Tuan Viet Nguyen
n" (gdb) Regards, On Wed, Feb 12, 2014 at 12:24 PM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > Hello, > > the backtrace you got is not relevant, because it is from the main process > that is handling the singnal of the child process that crashed. So the >

[SR-Users] core generated - 502 Bad gateway

2014-02-11 Thread Tuan Viet Nguyen
Hello, Upon receipt an 502 Bad gateway, I have the following error then Kamailio crashed Feb 11 11:49:57 kamailio23 /usr/local/sbin/kamailio[28895]: WARNING: tm [t_lookup.c:1564]: t_unref(): WARNING: script writer didn't release transaction Feb 11 11:50:03 kamailio23 /usr/local/sbin/kamailio[28926

Re: [SR-Users] Get information in 'Reason' header field

2014-02-10 Thread Tuan Viet Nguyen
' in the 'RELAY' route when the > method is 'BYE': > > $(hdr(Reason){param.value,cause}); > > Cheers, > Björn Bylander > > On 07/02/14 15:09, Tuan Viet Nguyen wrote: > > Hello, > Thanks for your reply > > Here is the field > Reason: Q.

Re: [SR-Users] Get information in 'Reason' header field

2014-02-07 Thread Tuan Viet Nguyen
er here and how you used it in the config? Have > tried to print it with xlog or in some other expression? Also, in what kind > of routing block you try to get it? > > Cheers, > Daniel > > > On 07/02/14 13:14, Tuan Viet Nguyen wrote: > > Hello, > > How to ge

[SR-Users] Get information in 'Reason' header field

2014-02-07 Thread Tuan Viet Nguyen
Hello, How to get ISUP cause in the 'Reason' header field of SIP error reply ? I've tried a few ways but it did not work @message.header.Reason.params["cause"] or $hdr(Reason) gives null Thanks, ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-

[SR-Users] [sr-users] Function sdp_get_line_startswith in sdpops removes \r in SIP messages

2013-12-06 Thread Tuan Viet Nguyen
Hello, It seems that when calling the function sdp_get_line_startswith, it removes the \r (0d in hexa) from the SIP message before forwarding it. In the code (sdpops_mod.c) from line 1402 to 1406, we see that // remove ending \r\n if exists if (avp_val.s.s[line.len-2] == '\r' && avp_val.s.s