Re: [SR-Users] Need to add extra header in 200 OK message by using kamailio.cfg file

2015-06-05 Thread Priyaranjan Nayak
Hi Mikko, I have configured the kamailio.cfg file as given below onreply_route[MANAGE_REPLY] { xdbg("incoming reply\n"); if(method == "REGISTER") { *append_to_reply*("Security-Server: ipsec-3gpp; q=0.1; alg=hmac-md5-96; ealg=des-ede3-cbc; prot=ah; mod=trans; spi-c=; spi

Re: [SR-Users] Need to add extra header in 200 OK message by using kamailio.cfg file

2015-06-05 Thread Mikko Lehto
Priyaranjan Nayak : > I wanted to send a extra header(i.e. Security-Server ) in the 200 OK from > kamailio server. Could you please suggest me how can I add extra header in > 200 OK message by using kamailio.cfg file ? Hi Priyaranjan Maybe you are looking for script function append_to_reply() ?

[SR-Users] Need to add extra header in 200 OK message by using kamailio.cfg file

2015-06-05 Thread Priyaranjan Nayak
Hi All, I wanted to send a extra header(i.e. Security-Server ) in the 200 OK from kamailio server. Could you please suggest me how can I add extra header in 200 OK message by using kamailio.cfg file ? Thanks Priyaranjan ___ SIP Express Router (SER) and

[SR-Users] Private IP in SDP packet headers

2015-06-05 Thread Alex
Hello! Please help to fix problem with sdp headers UAC Inet -> (X.X.X.X) Kamailio (192.168.30.250) -> Asterisk (192.168.30.2) When i call from UAC to 9002 i received INVITE/SDP from kamailio SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.52:27080 ;received=10.10.101.50;branch=z9hG4bK-d8754z-

Re: [SR-Users] Kamailio second contact header

2015-06-05 Thread Ali Taher
Hi Daniel, Below solution works very well. Thanks :) Ali From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Friday, June 05, 2015 12:49 PM To: Ali Taher; 'Kamailio (SER) - Users Mailing List' Subject: Re: [SR-Users] Kamailio second contact header Hello, there is no p

Re: [SR-Users] Kamailio second contact header

2015-06-05 Thread Daniel-Constantin Mierla
Hello, there is no parameter to disable adding new r-uri as a contact, I suggested to be added. Meanwhile I looked at the code and there could be an option to get it work. Append a branch after each next_gw() and before sending reply, do "revert_uri();" (ie., instead of dropping last branch do r

Re: [SR-Users] Kamailio second contact header

2015-06-05 Thread Daniel-Constantin Mierla
Hello, can you try with latest master branch? I pushed some code to clean up dropping last branch. If all ok, I will backport. Cheers, Daniel On 05/06/15 09:26, Ali Taher wrote: > > Hi Daniel, > > > > Here is the log I got : > > 2015-06-05T10:04:35.864338+03:00 ubuntu > /usr/local/sbin/kamail

Re: [SR-Users] Need information regarding kamilio setup to support IPSec

2015-06-05 Thread Priyaranjan Nayak
Hi Daniel, I am sending Security-Client header in register message to kamailio server. I need one Security-Server header in 200 OK message as given below. *Security-Server:* ipsec-3gpp; q=0.1; alg=hmac-md5-96; ealg=des-ede3-cbc; prot=ah; mod=trans; spi-c=; spi-s=; port-c=5066; port-s=506

Re: [SR-Users] Kamailio second contact header

2015-06-05 Thread Ali Taher
Hi Daniel, I tried the following mod param : modparam("sl", "bind_tm", 0), which is the only boolean param in sl module , but unfortunately still the same How could I shift the URIs ? Thanks, Ali From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Friday, June 05, 2015 1

Re: [SR-Users] Kamailio second contact header

2015-06-05 Thread Ali Taher
Hi Daniel, Here is the log I got : 2015-06-05T10:04:35.864338+03:00 ubuntu /usr/local/sbin/kamailio[25115]: INFO:

Re: [SR-Users] Misc Radius can't parse sip-avps?

2015-06-05 Thread ycaner
Hello Daniel i am not good at it but i am gonna try when i have free time. i am busy now so i stopped my radius project. Thanks for helps. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Misc-Radius-can-t-parse-sip-avps-tp138137p138472.html Sent from the Users mailing

Re: [SR-Users] Kamailio second contact header

2015-06-05 Thread Daniel-Constantin Mierla
Hello, the last address from next_gw() becaomes the last r-uri and that is added as first contact. You will have to shift the URIs. Maybe the simplest way would be to disable adding r-uri as contact in 3xx via a mod param in sl module. Also, if you use 4.3, might worth looking at rtjson module, y