Re: [SR-Users] Add country code on incoming calls - if not present

2015-09-02 Thread Daniel-Constantin Mierla
As alternative, if you need the country code for caller only, then look at load_credentials parameter for auth_db module. If you add the country code in the subscriber table, it will be loaded from database whent he authentication is done (i.e., in the same query with the password). Cheers, Daniel

Re: [SR-Users] unsupported route_type 64

2015-09-02 Thread Daniel-Constantin Mierla
The error message is written because you attempt to print the tm sip reply code in an event_route (where the transaction is not available). Overall it is harmless, the returned value is 0. In master branch I pushed a patch changing the error level to info for such case. Cheers, Daniel On 30/08/1

Re: [SR-Users] Information

2015-09-02 Thread Daniel-Constantin Mierla
Hello, I expect that iptel.org is not maintained in regard to ser. Actually, ser was merged into Kamailio and Kamailio is not the project that has to be used -- for more, see: - http://www.kamailio.org - http://www.kamailio.org/wiki/ (includes installation tutorials) Note that Kamailio (SER)

Re: [SR-Users] Kamailio TLS handshake fails above 6500 TLS connections

2015-09-02 Thread Daniel-Constantin Mierla
Hello, first, look at doc/tcp_tunning.txt in the source code tree to get some hints on scaling the capacity for tcp (under-layer for tls). Then, tls handshaking failure can happen from various reasons, you can run kamailio with debug=3 in config and see more details about what is happening when t

Re: [SR-Users] during registration nonce expired, after backwards time shift

2015-09-02 Thread Daniel-Constantin Mierla
Hello, good that you revived the thread, it got out of my sight being distracted by other stuff. I think that check has to be kept there, because it covers some situations that can appear after restart, so removing it completely won't be safe. It can be a solution to reset up_since in this case,

Re: [SR-Users] Add country code on incoming calls - if not present

2015-09-02 Thread Michael Nielsen
Oh, I see... This should be what I was looking for. Thanx On Wed, Sep 2, 2015 at 9:14 AM, Daniel-Constantin Mierla wrote: > As alternative, if you need the country code for caller only, then look at > load_credentials parameter for auth_db module. If you add the country code > in the subscriber

[SR-Users] Change caller id with Kamailio

2015-09-02 Thread Michael Nielsen
The same way I can change called party id with $rU, is there also a way to change the caller id of the person making the call? ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-route

Re: [SR-Users] Change caller id with Kamailio

2015-09-02 Thread Alex Balashov
On 09/02/2015 09:30 AM, Michael Nielsen wrote: The same way I can change called party id with $rU, is there also a way to change the caller id of the person making the call? Define "Caller ID": - From URI - P-Asserted-Identity - Remote-Party-ID Either way, the proxy can strip/modify/add the

Re: [SR-Users] during registration nonce expired, after backwards time shift

2015-09-02 Thread Vasiliy Ganchev
Hi! Tested with this part: + /* if current time is less than start time, reset the start time + (e.g., after start, the system clock was set in the past) */ + t=time(0); + if (t < up_since) + up_since = t; +

Re: [SR-Users] Change caller id with Kamailio

2015-09-02 Thread Michael Nielsen
Well, I'm using a PSTN (sip) gateway to call out from, and what to change my caller id here. On Wed, Sep 2, 2015 at 3:55 PM, Alex Balashov wrote: > On 09/02/2015 09:30 AM, Michael Nielsen wrote: > > The same way I can change called party id with $rU, is there also a way >> to change the caller i

Re: [SR-Users] during registration nonce expired, after backwards time shift

2015-09-02 Thread Daniel-Constantin Mierla
Hello, the rpc process doesn't have the up_since value updated, because it is stored in a local variable per process, thus only the sip worker process updated its value. Probably they need a fix as well in this case. Regarding: """ Do not understand how (mostly even why) to use this: / since >=

[SR-Users] [Kamailio 4.2] Crash during burn-in test

2015-09-02 Thread Jack Wang
[Steps] 1. one MCU call multi-endpoints 2. MCU hangup all endpoints repeatedly. And all through Kamailio proxy. [Results] For a while, Kamailio crashed. Followings are related logs: == Sep 2 19:08:34 ./kamailio[3712]: : tm [t_fwd.c:1632]: t_send_bran

[SR-Users] 408 Request Timeout

2015-09-02 Thread vamsi
I am an web developer and want to create a WEBRTC application. My knowledge level in SIP is beginner. I want my application to talk to kamailio and in process of setting up kamailio by following the below articles. http://nil.uniza.sk/sip/kamailio/configuring-kamailio-4x-websocket http://kamailio.