Re: [SR-Users] Append to reply in default action of failure_route

2015-12-22 Thread Dmitri Savolainen
Andrew, I use smth like this for adding header to any response request_route{ if (is_method("INVITE")){ t_check_trans(); t_on_failure("INV_FAIL"); t_relay("mysip", "5060"); } } failure_route[INV_FAIL] { xlog("L_INFO", "failure_route code: $T_reply_code; reason:

Re: [SR-Users] Append to reply in default action of failure_route

2015-12-22 Thread Andrew Pogrebennyk
Hello Efelin, I stumbled upon the issue you described here. Have you been able to find a solution? I've tried to play with t_reply(), but no luck so far. Regards, Andrew On 11/18/2013 10:00 AM, Efelin Novak wrote: > Hi, > > I would like to append a header to a 'winning' negative reply in > failu

[SR-Users] Too many packets in rtpengine UDP receive queue

2015-12-22 Thread Zodiac
Hi friends: I am running rtpengine daemon on a CentOS machine functionally. SIP server is Kamailio. Vedio and audio calls are both OK with rtpengine. But there is always prompts like following in rtpengine’s log: Dec 22 19:57:52 localhost rtpengine[12679]: [oaNEqGokmqgaXzj0xWyPeJDGPX7ln0gG po

Re: [SR-Users] why msg_apply_changes() from REQUEST_ROUTE only

2015-12-22 Thread Andrew Pogrebennyk
Hi, I have a similar issue with kamailio 4.3.4. I want to append a header to external 486 or 603 reply. If I got it right I should call append_hf, not append_to_reply which is for locally generated replies. I've added append_hf() and in the end of failure route call exit but for some reason that h

Re: [SR-Users] Issue with end to end MESSAGE over TCP

2015-12-22 Thread Thierry Luo
Hi Daniel, Thanks for your reply. I'm not really familiar with the scripts of Kamailio. I copied some sample cfg file from google. From the script, I did not find any routing logics for MESSAGE. However, end to end MESSAGE over UDP is successful, but over TCP is not. Any special routing lo

Re: [SR-Users] rtpproxy does not response, disable it

2015-12-22 Thread smititelu
I solved this problem by changing the 127.0.0.1 in rtpengine startup config into 10.109.247.90 which is the eth0 address of the rtpengine machine. Now Kamailio successfully connect to the rtpengine daemon. Nice you solved it. Didn't think of it :D ___

Re: [SR-Users] rtpproxy does not response, disable it

2015-12-22 Thread smititelu
I’ve already set modparam("rtpengine", "force_send_interface", “10.109.247.80”) in my kamailio.cfg from the very beginning. Can you try force ping from kamailio machine (.80) to rtpengine machine (.90), on 10.109.247.80 interface? (it should work) There is nothing prompt out on command “kamc

Re: [SR-Users] rtpproxy does not response, disable it

2015-12-22 Thread Zodiac
I solved this problem by changing the 127.0.0.1 in rtpengine startup config into 10.109.247.90 which is the eth0 address of the rtpengine machine. Now Kamailio successfully connect to the rtpengine daemon. > 在 2015年12月22日,17:38,Zodiac 写道: > > Hi, I am very glad that you can answer me for tha

Re: [SR-Users] rtpproxy does not response, disable it

2015-12-22 Thread Zodiac
Hi, I am very glad that you can answer me for that. I’ve already set modparam("rtpengine", "force_send_interface", “10.109.247.80”) in my kamailio.cfg from the very beginning. The port 7723 on 10.109.247.90 which rtpengine daemon runs is not blocked by firewall. There is nothing prompt out on

Re: [SR-Users] Issue with end to end MESSAGE over TCP

2015-12-22 Thread Daniel-Constantin Mierla
Hello, how do you route MESSAGE requests? Using location records (lookup("location"))? Cheers, Daniel On 22/12/15 03:48, Thierry Luo wrote: > netease mail > > Anybody give some hints on this? > > > > Thanks. > > > > Thierry Luo > > > > *From:* sr-users-boun...@lists.sip-router.org > [mailt