Re: [SR-Users] Update Kamailio tables

2017-03-01 Thread Andy Chen
s inside utils/kamctl/. > > Cheers, > Daniel > > On 28/02/2017 18:39, Andy Chen wrote: > > Hi all, > > What is the quickest way to update Kamailio tables? I wanted to check out > the SIPTRACE module and I noticed the table is not there. > > Thanks. > > --

[SR-Users] Update Kamailio tables

2017-02-28 Thread Andy Chen
Hi all, What is the quickest way to update Kamailio tables? I wanted to check out the SIPTRACE module and I noticed the table is not there. Thanks. -- Andy Chen ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users

Re: [SR-Users] record_route() function

2017-02-15 Thread Andy Chen
So how do I define what is used? Again when I did call "record_route" I need one of the records to have "transport=tcp" param and not the default UDP. On Wed, Feb 15, 2017 at 12:09 AM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > Hello, > > On 13/02/

Re: [SR-Users] record_route() function

2017-02-13 Thread Andy Chen
er tcp, but the record > route doesn't have transport=tcp? What function do you use to send the > request out? > > Cheers, > Daniel > > On 13/02/2017 17:39, Andy Chen wrote: > > Hi Daniel, > > To answer your earlier question, Kamailio receive the request via TLS, bu

Re: [SR-Users] record_route() function

2017-02-13 Thread Andy Chen
13, 2017 at 3:18 AM, Daniel-Constantin Mierla wrote: > No, you should use either record_route() or record_route_preset(), not > both of them for the same request. > > Cheers, > Daniel > > On 10/02/2017 20:44, Andy Chen wrote: > > One other question. Do I need to run

Re: [SR-Users] record_route() function

2017-02-10 Thread Andy Chen
One other question. Do I need to run record_route() after I run record_route_preset(string1, string2)? I tried this and the Record-Route doesn't show presets I defined. On Fri, Feb 10, 2017 at 9:25 AM, Andy Chen wrote: > So the ingress is actually TLS -> our VIP address and I see

Re: [SR-Users] record_route() function

2017-02-10 Thread Andy Chen
messages from the server will use TCP throughout the call. On Fri, Feb 10, 2017 at 9:05 AM, Alex Balashov wrote: > What is the actual goal? If one of the RRs is generated by an ingress > out of a TCP listener, it should already have ;transport=TCP in it. > > On Fri, Feb 10, 2017 at 08

[SR-Users] record_route() function

2017-02-10 Thread Andy Chen
tring per documentation within the () and added it to both. Thanks. -- Andy Chen ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] SIP message order

2017-01-30 Thread Andy Chen
e don't need to switch to TCP to fix this issue. Thanks. --Andy ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] missing memory after tls cleanup

2017-01-27 Thread Andy
Hi Daniel, Here is the output of kamctl stats, BEFORE: = core:bad_URIs_rcvd = 0 core:bad_msg_hdr = 0 core:drop_replies = 0 core:drop_requests = 0 core:err_replies = 0 core:err_requests = 0 core:fwd_replies = 0 core:fwd_requests = 0 core:rcv_replies = 3 core:rcv_requests = 5 core:unsupported_me

Re: [SR-Users] missing memory after tls cleanup

2017-01-26 Thread Andy
Thanks Daniel for the quick response, here is before/after I see real_used_size increased by 880k before: shmem:fragments = 26346 shmem:free_size = 8572547448 shmem:max_used_size = 19229728 shmem:real_used_size = 17387144 shmem:total_size = 8589934592 shmem:used_size = 11844368 after: shmem:fragm

[SR-Users] missing memory after tls cleanup

2017-01-25 Thread Andy
Hi, the tls total memory before and after a tls connection is cleaned up does not match, during test there were 10 tls connection created for which I see tls_h_close and tls_h_tcpconn_clean were called exactly 10 times for the same connection ids, bit before and after the tls shm memory does not

Re: [SR-Users] how to immediately close a tls connection

2017-01-11 Thread Andy
from c code -- View this message in context: http://sip-router.1086192.n5.nabble.com/how-to-immediately-close-a-tls-connection-tp154630p154909.html Sent from the Users mailing list archive at Nabble.com. ___ SIP Express Router (SER) and Kamailio (Ope

[SR-Users] how to immediately close a tls connection

2017-01-04 Thread Andy
Hi, trying to close a tls connection immediately, have ref to the connection (tcpconn) pointer please suggest, thanks! -- View this message in context: http://sip-router.1086192.n5.nabble.com/how-to-immediately-close-a-tls-connection-tp154630.html Sent from the Users mailing list archive at

Re: [SR-Users] register_timer cb function does not have access to shared memoery var

2016-12-21 Thread Andy
Thanks Daniel, it was global and not static, I realize somehow the pointer was changed while maintaining the linked list -- View this message in context: http://sip-router.1086192.n5.nabble.com/register-timer-cb-function-does-not-have-access-to-shared-memory-var-tp154231p154278.html Sent from

[SR-Users] register_timer cb function does not have access to shared memoery var

2016-12-19 Thread Andy
in mod_init I have something like list = (struct list_t*) shm_malloc . this list is available from any functions in the module, now there is a timer registered, in the same module register_timer(callback_f, 0 , 5) the callback_f function when tries to use list, always sees as empty -- Vie

Re: [SR-Users] event for new tcp connection from client

2016-12-13 Thread Andy
found that it is modparam("tls", "connection_timeout", 60) for tls -- View this message in context: http://sip-router.1086192.n5.nabble.com/event-for-new-tcp-connection-from-client-tp154075p154114.html Sent from the Users mailing list archive at Nabble.com. ___

Re: [SR-Users] event for new tcp connection from client

2016-12-13 Thread Andy
tcp_connection_lifetime works with tcp connection (while using tcp port), not when using tls port -- View this message in context: http://sip-router.1086192.n5.nabble.com/event-for-new-tcp-connection-from-client-tp154075p154113.html Sent from the Users mailing list archive at Nabble.com.

Re: [SR-Users] event for new tcp connection from client

2016-12-13 Thread Andy
Hi Camille, thanks for the suggestion, tcp_connection_lifetime works on idle connections, but what if the client sent crlf, I want to kill the connections which have not sent REGISTER request yet. also I did a telnet to kamailio on port 5060, with tcp_connection_lifetime=5, the connection is neve

Re: [SR-Users] event for new tcp connection from client

2016-12-13 Thread Andy
Hi Daniel, I want to track when clients connect to SIP Proxy via TCP, and do not send Register for certain period of time and finally cleanup this tcp connection -- View this message in context: http://sip-router.1086192.n5.nabble.com/event-for-new-tcp-connection-from-client-tp154075p154105

[SR-Users] event for new tcp connection from client

2016-12-12 Thread Andy
similar to tcp closed, can this be achieved when a client is connect to tcp -- View this message in context: http://sip-router.1086192.n5.nabble.com/event-for-new-tcp-connection-from-client-tp154075.html Sent from the Users mailing list archive at Nabble.com. __

Re: [SR-Users] tm:local-request does not intercept locally generated CANCEL

2016-11-25 Thread Andy
Thanks Alex, But that is what I used, and it is not catching the CANCELs (local) on onsend_route. -- View this message in context: http://sip-router.1086192.n5.nabble.com/tm-local-request-does-not-intercept-locally-generated-CANCEL-tp153549p153551.html Sent from the Users mailing list archive

[SR-Users] tm:local-request does not intercept locally generated CANCEL

2016-11-25 Thread Andy
should tm:local-request intercept CANCELs, if not then where can the locally generated CANCELs from t_cancel.c be intercepted -- View this message in context: http://sip-router.1086192.n5.nabble.com/tm-local-request-does-not-intercept-locally-generated-CANCEL-tp153549.html Sent from the Users m

Re: [SR-Users] tcp_set_connection_lifetime - does not close the connection immediately

2016-11-18 Thread Andy
Hi Daniel, Thanks for the reply, I am trying to kill a tcp connection inside an xhttp:request event, here are some related logs, the call to "tcpops_set_connection_lifetime" seems working, but I do notice the same connection is not killed for upto 60 secs ... Nov 18 14:18:25 kamailio[25789]: ERR

[SR-Users] tcp_set_connection_lifetime - does not close the connection immediately

2016-11-17 Thread Andy
I am calling tcp_set_connection_lifetime(conid, 1), which I understand is one sec after now, but I see it taking upto 60 secs to kill the connection, is there any other timer which has a larger interval which might affect this. -- View this message in context: http://sip-router.1086192.n5.nabb

[SR-Users] Help with dispatcher ping: Kamailo 4.1

2016-08-03 Thread Andy Chen
Hi, I'm currently running Kamailio 4.1 and was wondering if there is a way to control ds_ping_interval on a dispatcher setid. Thanks. -- Andy Chen Sr. Telephony Lead Engineer 415 516 5535 (M) ac...@thinkingphones.com ___ SIP Express Router (SER

[SR-Users] SIP problems using a comrex Access

2012-03-01 Thread Andy Bosley
, entering the same details in to the comrex fails. The comrex status displays "OFFLINE (Registering)" and does not get any further. Is it possible for you to check that the account is ok and that the unit has successfully been authenticated. regards Andy __ A

[SR-Users] Balancing Asterisk

2011-03-06 Thread Andy Lippitt
rom asterisk (which seems like it's going to take some hacking to make this work in 1.4), doesn't this now mean I have multiple UAC's trying to register for the same name? Can someone set me on the right track? Thanks, Andy Lippitt ___

[SR-Users] NAT Traversal IPTel example

2010-05-05 Thread Andy Savage
ike a good place to start. Kind regards, Andy Savage -- "The greatest challenge to any thinker is stating the problem in a way that will allow a solution" - Bertrand Russell Andy Savage Cell Phone: +852 936 34341 Skype ID: andy_savage Linked In: http://www.linked