Re: [SR-Users] UAC module refresh registration, could not reuse callid/fromtag !!!

2014-06-23 Thread nevious
Thank Godness for your reply!!! In RFC3261, section 10.2.4 Refreshing Bindings. I've checked the packages of X-lite and Linphone, they act just like what the RFC says. the registration procedure of them like : R+401+R(auth)+200+R(auth)+200+R(auth)+200+.. During registration, call id and from t

[SR-Users] How to route on whether INVITE is for MSRP

2014-06-23 Thread Alex Villací­s Lasso
So far, I have a kamailio.cfg that routes INVITEs between Asterisk and the external networks. Now I want to start adding MSRP support. However, with my current configuration, the test client (Blink) sends an INVITE with a SDP payload that specifies msrps media. This gets routed to Asterisk, and it

[SR-Users] Setting up two Kamailio Proxies in Tandem

2014-06-23 Thread AliReza Khoshgoftar Monfared
Hi, I am trying to build a simple architecture like this: UAC <--> Proxy1 <--> Proxy2 <--> UAS (each on a different VM) Is it possible to have this architecture built without any "registrar" module? I have simulated my UAC and UAS using SIPp and the routing in Proxy1 and Proxy2 is to forward to

Re: [SR-Users] kamailio not sending 202 after 408 is sent

2014-06-23 Thread Allen Zhang
Hi Daniel, In failure route, I used t_reply(). Shall I try send_reply()? What’s the difference? Cheers, Allen From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Monday, 23 June 2014 8:31 p.m. To: Allen Zhang; Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] kamailio not

Re: [SR-Users] Specifying Upstream and Downstream Servers for a simple SIP proxy

2014-06-23 Thread AliReza Khoshgoftar Monfared
Hi, I have another update. The problem that I had is fixed now and it is fixed in an unexpected way! The fix seems to be in changing the SIPp default client scenario. In specific, once I change the UAC.xml in SIPp trunk to generate the "BYE" message's "To" field like this: To: sut > inst

[SR-Users] Warning message on SIP websocket

2014-06-23 Thread Alex Villací­s Lasso
Just a quick question. What is supposed to be wrong with the below message? Jun 23 12:47:16 elx /usr/sbin/kamailio[20891]: ERROR: [parser/parse_fline.c:243]: parse_first_line(): parse_first_line: bad message (offset: 22) Jun 23 12:47:16 elx /usr/sbin/kamailio[20891]: ERROR: [parser/msg_parser

Re: [SR-Users] Kamailio Development Workshop, July 9-10, 2014, Paris, France

2014-06-23 Thread Daniel-Constantin Mierla
I want to announce that we are giving away 2 grants for students or unemployed people willing to attend the development workshop and learn how to extend Kamailio by writing C code. There are many companies looking to hire persons with such knowledge, therefore it can be a good chance for a nice

Re: [SR-Users] Adding/manipulating headers in CANCEL

2014-06-23 Thread Daniel-Constantin Mierla
There was an alternative patch pushed -- if you change To header via uac_replace_to(...), then the CANCEL has the new header value. Cheers, Daniel On 20/06/14 19:23, Örn Arnarson wrote: Found this on the issue: http://lists.sip-router.org/pipermail/sr-dev/2012-October/016657.html Seems that t

Re: [SR-Users] Adding/manipulating headers in CANCEL

2014-06-23 Thread Daniel-Constantin Mierla
Hello, On 20/06/14 18:30, Örn Arnarson wrote: Hello, I'm running Kamailio 4.0.4, and I'm running into problems when trying to insert or update headers when the method is CANCEL. It just seems that nothing at all happens to the message. Is this a bug or a design choice? the CANCEL is generated

Re: [SR-Users] Is Kamailio PacketCable 2.0 compatible

2014-06-23 Thread Daniel-Constantin Mierla
Maybe you can give more details on what packetcable 2.0 is. On the other hand, Kamailio is a SIP server with a proxy architecture as foundation. SIP core is specified by IETF in RFC3261, and extended by a rather large group of other RFCs. Cheers, Daniel On 20/06/14 19:48, Horo, Priyam wrote:

Re: [SR-Users] UAC module refresh registration, could not reuse callid/fromtag !!!

2014-06-23 Thread Daniel-Constantin Mierla
On 21/06/14 13:22, nevious wrote: Hello all! I make kamailio1 remotely register to kamailio2. Here I set K1 modparam("uac", "reg_timer_interval", 15), and expires in uacreg as 30s. Then K1 should refresh registration after 15s. However the callid and from tag of every registration are differe

Re: [SR-Users] kamailio not sending 202 after 408 is sent

2014-06-23 Thread Daniel-Constantin Mierla
Hello, what function are you using inside kamailio.cfg to send the 202? Iirc, m_store() doesn't send anything internally, it is done via config. Be sure you use send_reply() or t_reply() inside the failure route block. Cheers, Daniel On 22/06/14 23:32, Allen Zhang wrote: Hi Daniel, R sent