Re: [SR-Users] Inserting local path into shared USRLOC table.

2017-10-11 Thread Daniel-Constantin Mierla
Hello, you may need msg_apply_changes() there, see the details from:   - https://www.kamailio.org/wiki/tutorials/faq/main#why_changes_made_to_headers_or Cheers, Daniel On 11.10.17 00:36, Marrold wrote: > Hi All, > > I am wondering if the following is possible. For simplicity imagine > two

Re: [SR-Users] It does not log any route. Clean installation

2017-10-11 Thread Daniel-Constantin Mierla
Hello, systemd might divert the logs to its journal, and no longer seen via syslog, use journalctl to see if there are available there. Cheers, Daniel On 06.10.17 02:12, Bruno Henrique Gomes Gouvêa wrote: > Hello, > >  I am doing some tests with version 4.2.3 (installed of RPM centos 7 >

Re: [SR-Users] Path module adds either received or outbound

2017-10-11 Thread Daniel-Constantin Mierla
Hello, On 03.10.17 00:46, Rick Barenthin wrote: > Hey, > > Maybe someone from the list can share some information about the path > module. Why can the path module only add either the received parameter > to path or the flow token with the ob parameter, but not both. > > Does the RFC mandates it?

Re: [SR-Users] Forcing a TCP Connection Closed?

2017-10-11 Thread Sergey Safarov
You can use dns name as SIP realm. Then you can silencly drop messages that contains IP address to From/To field Example https://github.com/2600hz/kazoo-configs-kamailio/blob/master/kamailio/traffic-filter-role.cfg вт, 10 окт. 2017 г., 13:36 Daniel-Constantin Mierla : >

Re: [SR-Users] [4.2.8] SUBSCRIBE message was not handled

2017-10-11 Thread Daniel-Constantin Mierla
A reply is re-sent in case of retransmission if the transaction of the first subscribe sent out already a reply, otherwise no -- you can see in the c code you pasted the function to retransmit reply. Anyhow, it is up to yiou if you want to do retransmission handling as per default config, you can

Re: [SR-Users] kamailio QOS questions

2017-10-11 Thread Daniel-Constantin Mierla
Hello, haven't worked directly with, just pointing to the ims cfg examples, they may have what you need or at least help in the direction:   - https://github.com/kamailio/kamailio/tree/master/misc/examples/ims Also, if you search on kamailio.org website for ims, there were couple of articles

Re: [SR-Users] 200 OK - need to include Expires

2017-10-11 Thread Daniel-Constantin Mierla
Hello, the pcap doesn't include the PUBLISH, only the reply. Can you grab a pcap with both the PUBLISH request and the reply? Cheers, Daniel On 03.10.17 18:42, Subba Krishna MG wrote: > Attached is the pcap sent by Kamailio. > > My SIP client / Presence client requires 200 OK to be mandatory

Re: [SR-Users] [4.2.8] SUBSCRIBE message was not handled

2017-10-11 Thread Jack Wang
Okay, I see. Thanks a lot. :D 2017-10-11 16:59 GMT+08:00 Daniel-Constantin Mierla : > A reply is re-sent in case of retransmission if the transaction of the > first subscribe sent out already a reply, otherwise no -- you can see in > the c code you pasted the function to

Re: [SR-Users] Inserting local path into shared USRLOC table.

2017-10-11 Thread Daniel Tryba
On Tue, Oct 10, 2017 at 11:36:56PM +0100, Marrold wrote: > I've included add_path_received() in my REGISTRAR routing block, however I > see 'Path: [not set]' in the USRLOC table. > > Is it possible to force the insertion of the local proxy into the path > field? Like Daniel already mentioned,

Re: [SR-Users] Inserting local path into shared USRLOC table.

2017-10-11 Thread Charles Chance
Hello, On 11 Oct 2017 10:16 a.m., "Daniel Tryba" wrote: On Tue, Oct 10, 2017 at 11:36:56PM +0100, Marrold wrote: > I've included add_path_received() in my REGISTRAR routing block, however I > see 'Path: [not set]' in the USRLOC table. > > Is it possible to force the insertion

Re: [SR-Users] kamailio 4.4.5 Crash

2017-10-11 Thread Andrew Paul
Thanks Daniel. We have increase shm memory to 1024 from 64 and private memory to 64 from 8MB. We will closely monitor and will update the thread if encounter any issue. Regards Varghese Paul On Tue, Oct 10, 2017 at 10:04 PM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > Hello, > >

Re: [SR-Users] kamailio 4.4.5 Crash

2017-10-11 Thread Daniel-Constantin Mierla
Still curious if you got a core file so far (or it was just those error messages) and if yes, it would be good to get the backtrace. Cheers, Daniel On 11.10.17 05:27, Andrew Paul wrote: > Thanks Daniel. We have increase shm memory to 1024 from 64 and private > memory to 64 from 8MB. > > We will

Re: [SR-Users] Route Not accessable

2017-10-11 Thread Daniel-Constantin Mierla
Hello, On 05.10.17 12:54, anil kumar k wrote: > Dear Kamailio Uers, > > IN my [SIPOUT] by default not getting the Route from header . Any bode > can help on this  > > it is not clear what you want to do, can you provide more details? Cheers, Daniel -- Daniel-Constantin Mierla

Re: [SR-Users] kamailio 4.4.5 Crash

2017-10-11 Thread Sergey Safarov
Hello Daniel Could you look this ticket with attached backtrace https://2600hz.atlassian.net/browse/KAZOO-5699 I not sure where is root of issue. May be your comment clean this. ср, 11 окт. 2017 г. в 10:43, Daniel-Constantin Mierla : > Still curious if you got a core file

Re: [SR-Users] presentce handly_subscribe() protocol/port mismatch to WS endpoint

2017-10-11 Thread Yuriy Gorlichenko
Hi. Got debug 3 information and found next (here is pastebin link with dump https://pastebin.com/ALHQkM9E) After NOTIFY was created i trying to handle it by tm:local-request route and found there one thing afnter changed $fs and $ru with $du DEBUG: tm [uac.c:329]: t_run_local_req(): apply new

Re: [SR-Users] how to use SIP header Route

2017-10-11 Thread Daniel-Constantin Mierla
Hello, On 03.10.17 12:46, anil kumar k wrote: > HI, > > How to use SIP header Route in [SIPOUT] route instead of uri > you can do loose_route() if you have a preloaded Route header that want to be used. Cheers, Daniel -- Daniel-Constantin Mierla www.twitter.com/miconda --

Re: [SR-Users] kamailio QOS questions

2017-10-11 Thread Lv, Victor (NSB - CN/Qingdao)
Thanks Daniel for your reply. It looks no one successfully make it works for ims_qos module, am I right? Thanks, Victor Lv From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: 2017年10月11日 15:46 To: Kamailio (SER) - Users Mailing List ; Lv, Victor (NSB -

Re: [SR-Users] [4.2.8] SUBSCRIBE message was not handled

2017-10-11 Thread Jack Wang
Yes, the SUBSCRIBE was sent continuously 2~3 times captured by wireshark, I tested using Ekiga as the sip client on windows 7. However, after I rebooted the pc and re-test this, it only send one SUBSCRIBE now no matter how I tried, even I changed the codes back. And as you said, "it means that

Re: [SR-Users] It does not log any route. Clean installation

2017-10-11 Thread Bruno Henrique Gomes Gouvêa
Thanks for the reply. journalctl does not show me any additional information as well. I changed the log to /var/log/kamailio.log using: debug = 3; log_stderror = no; log_facility = LOG_LOCAL6 and in rsyslog.conf local6. * /var/log/kamailio.log but I still see the initialization of kamailio

Re: [SR-Users] Having kamailio bind to a VRF device

2017-10-11 Thread George Diamantopoulos
Hello Daniel, I'm including the original sketch for clarity: +--+ +---+ | eth0 | |vrf-green | | 1.1.1.1 | |127.0.0.1 | +--+ +---+ | +--+

Re: [SR-Users] Having kamailio bind to a VRF device

2017-10-11 Thread Mark Boyce
Hi All Just to dive in here with something which may be related. I was about to do a post with a much simpler problem where I have one real NIC and one VPN created NIC. If I listen to the public IP all’s well. If I listen to the IP of the VPN NIC Kamailio doesn’t see any traffic. I can

Re: [SR-Users] presentce handly_subscribe() protocol/port mismatch to WS endpoint

2017-10-11 Thread Yuriy Gorlichenko
Ok. solved I moved record_route for subscribe to other part of the config file and for now if msg_apply_changes() works so if someone intrested in solution: For me it works like this if(is_method("SUBSCRIBE")) { if ( $pr == "wss" ) { xlog("L_INFO", "$rm from WSS proto. contact :

Re: [SR-Users] presentce handly_subscribe() protocol/port mismatch to WS endpoint

2017-10-11 Thread Yuriy Gorlichenko
Continue talking with myself... )) Found when presence building NOTIFY request it uses entry from active_watchers table for sending NOTIFY When SUBSCRIBE from webPhone receives by kamailio it stors it like this presentity_uri| watcher_username