[SR-Users] kamailio 4.0.1 websocket support

2013-05-23 Thread Rupayan Dutta
Dear All, I have build and installed kamailio 4.0.1 from source(tarball release) in Cent Os 5.8 in i386 machine.I can start kamailio but when i want to connect kamailio using SipMl5 client which uses sip over websocket the client can't connect with the server.I am attaching my generate

Re: [SR-Users] Simulating kamailio config flows

2013-05-23 Thread Daniel-Constantin Mierla
On 5/24/13 12:00 AM, Daniel-Constantin Mierla wrote: On 5/23/13 10:45 PM, Victor Seva wrote: 2013/5/23 Daniel-Constantin Mierla : First a general recommendation: try to avoid patching core that much for non-common use cases. Sure. I was just trying to see how this could be done. I don't wan

Re: [SR-Users] Simulating kamailio config flows

2013-05-23 Thread Daniel-Constantin Mierla
On 5/23/13 10:45 PM, Victor Seva wrote: 2013/5/23 Daniel-Constantin Mierla : First a general recommendation: try to avoid patching core that much for non-common use cases. Sure. I was just trying to see how this could be done. I don't want to mess with the core. :-) [snip] At this moment, I

Re: [SR-Users] add_path() and save()

2013-05-23 Thread אורן אברהם
does it mean that when using websockets - so the web uac don't know its ip and port, i need to make 2 kamailio servers ? one as an outbound and one as a registrar, or can i combine them in some way ? 2013/5/23 אורן אברהם > Im using Websockets and i need add_path() and save() on the same server.

Re: [SR-Users] Simulating kamailio config flows

2013-05-23 Thread Victor Seva
2013/5/23 Daniel-Constantin Mierla : > First a general recommendation: try to avoid patching core that much for > non-common use cases. Sure. I was just trying to see how this could be done. I don't want to mess with the core. :-) [snip] > At this moment, I think a good solution could be: [snip]

Re: [SR-Users] Simulating kamailio config flows

2013-05-23 Thread Daniel-Constantin Mierla
First a general recommendation: try to avoid patching core that much for non-common use cases. The pv spec does not store the pv name in most of the cases, storing it there will increase size of structure and it is not needed in typical use cases. At this moment, I think a good solution coul

Re: [SR-Users] add_path() and save()

2013-05-23 Thread אורן אברהם
Im using Websockets and i need add_path() and save() on the same server... 2013/5/23 Olle E. Johansson > > 23 maj 2013 kl. 17:49 skrev אורן אברהם : > > > Dear list. > > > > when using registrar module with path support does the following code > work: > > add_path(); > > save(); > > > > or may

Re: [SR-Users] add_path() and save()

2013-05-23 Thread Olle E. Johansson
23 maj 2013 kl. 17:49 skrev אורן אברהם : > Dear list. > > when using registrar module with path support does the following code work: > add_path(); > save(); > > or maybe the path is added only for outgouing messages and the save() won't > be affected ? When using path, one proxy runs add_path

[SR-Users] add_path() and save()

2013-05-23 Thread אורן אברהם
Dear list. when using registrar module with path support does the following code work: add_path(); save(); or maybe the path is added only for outgouing messages and the save() won't be affected ? ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr

Re: [SR-Users] TLS and SIP

2013-05-23 Thread Klaus Darilion
Hi Fabian! See http://www.kamailio.org/wiki/tutorials/tls/testing-and-debugging for TLS debugging. fix_nated_contact() is old-style NAT traversal. It basically works, but is a bit intrusive and may cause problems with strict clients. Nowadays add_contact_alias() and handle_ruri_alias() is th

Re: [SR-Users] Simulating kamailio config flows

2013-05-23 Thread Victor Seva
2013/5/23 Daniel-Constantin Mierla : > Look for ASSIGN_T in core, one place to go to and check is lval_assign(...) > function, not sure there are other in core. Ok. First attempt to get this done. I've created a new core cfg parameter "log_assign_actions" to activate/deactivate de log. No problem

Re: [SR-Users] nat_keepalive() and fix_contact() are incompatible - SOLVED

2013-05-23 Thread David
Hello, So the state file was easy because it showed up in syslog : May 23 10:30:05 kamailio-dev-nat /usr/sbin/kamailio[15119]: ERROR: nat_traversal [nat_traversal.c:1617]: failed to open keepalive state file for writing: Permission denied May 23 10:30:05 kamailio-dev-nat /usr/sbin/kamailio[151

Re: [SR-Users] nat_keepalive() and fix_contact() are incompatible - SOLVED

2013-05-23 Thread David
Hello, I was using add_path() to add the path, in this case it was the wrong method. To anyone who runs into the same problem as me, the solution is that the proxy doing nat should have add_path_received() instead of add_path() and the proxy should also have the parameter modparam("path", "

Re: [SR-Users] TLS and SIP

2013-05-23 Thread Fabian Borot
Thank you guys, I added this line "fix_nated_contact();" and it made the trick. Unfortunately I can not change the SIP-ALG on the firewall. I am curious about the null cipher option, is there an example of the TLS configuration tutorials? thank you again

Re: [SR-Users] topoch and xHTTP

2013-05-23 Thread Julia
It's an incoming request Debug3 : May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29536]: DEBUG: [ip_addr.c:247]: tcpconn_new: new tcp connection: 80.80.80.241 May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29536]: DEBUG: [tcp_main.c:1089]: tcpconn_new: on port 51898, type 2 May 23 15:44:

Re: [SR-Users] Radius and FLT_ACCFAILED

2013-05-23 Thread Daniel-Constantin Mierla
Hello, acc_radius is on top of acc module, so setting the FLT_ACCFAILED should give you what you want. The parameters in acc_radius are only those specific for radius, accounting the failed transactions is global on acc module, for all backends (db, radius, log). Cheers, Daniel On 5/23/13

Re: [SR-Users] topoch and xHTTP

2013-05-23 Thread Daniel-Constantin Mierla
Hello, iirc, topoh callbacks are executed only for incoming sip traffic. Do you try to relay the http request? That doesn't work, kamailio works only as http server, not proxy. If it is the case of incoming request, can you run with debug=3 and send the output of such case here? Cheers, Da

[SR-Users] topoch and xHTTP

2013-05-23 Thread Julia
Hello, I am testing the xHTTP module on kamailio-3.3 with topology hiding (topoch) and I get parsing error for each received HTTP message: /usr/local/sbin/kamailio[2937]: ERROR: [parser/parse_from.c:60]: ERROR:parse_from_header: bad msg or missing FROM header /usr/local/sbin/kamailio[2937]

Re: [SR-Users] Via header, branch parameter and syn_branch

2013-05-23 Thread Henning Westerholt
Am Donnerstag, 23. Mai 2013, 11:12:20 schrieb Richard Brady: > The syn_branch global parameter results in the use of a "synonym" > branch parameter in the Via header for statelessly forwarded requests > as a performance optimisation. > > This was originally done by setting branch=0 which, while no

[SR-Users] Radius and FLT_ACCFAILED

2013-05-23 Thread Victor V. Kustov
Hello! I do radius accounting. When I imitate call fail, BYE/CANCEL messages are loose, account stop packets not sending. I see FLT_ACCFAILED flag, can I set it for acc_radius module? -- WBR, Victor JID: coy...@bks.tv JID: coy...@bryansktel.ru I use FREE operation system: 3.9.2-calculate

[SR-Users] Via header, branch parameter and syn_branch

2013-05-23 Thread Richard Brady
Hi folks The syn_branch global parameter results in the use of a "synonym" branch parameter in the Via header for statelessly forwarded requests as a performance optimisation. This was originally done by setting branch=0 which, while not strictly compliant with 3261 (8.1.1.7 and 16.6 item 8), wou

[SR-Users] auth module Readme on website has missing ToC

2013-05-23 Thread Andrew Pogrebennyk
Hi, please check the link http://kamailio.org/docs/modules/stable/modules/auth.html - the Table of Contents is missing, there's only examples list. Andrew ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-rou

Re: [SR-Users] Simulating kamailio config flows

2013-05-23 Thread Daniel-Constantin Mierla
On 5/23/13 10:47 AM, Victor Seva wrote: 2013/4/22 Daniel-Constantin Mierla : From what Andreas suggesting, printing the value of variables as they are assigned is missing, probably can be added by hooking in the interpreter when doing the assignment operation. Can you point me to the right di

Re: [SR-Users] Simulating kamailio config flows

2013-05-23 Thread Victor Seva
2013/4/22 Daniel-Constantin Mierla : > From what Andreas suggesting, printing the value of variables as they are > assigned is missing, probably can be added by hooking in the interpreter > when doing the assignment operation. Can you point me to the right direction here? What are the files involv

Re: [SR-Users] TLS

2013-05-23 Thread Klaus Darilion
On 22.05.2013 11:19, Daniel-Constantin Mierla wrote: - Finally, do you know any free softphone that implements mutual TLS authentication? I am not aware of any. Like the softphone authenticating the server based on server certificate? MTLS just means, that the TLS server requires a certi

Re: [SR-Users] if (t_check_status("486|408"))

2013-05-23 Thread Daniel-Constantin Mierla
On 5/19/13 2:05 PM, hiro wrote: i'm trying to use the example kamailio.cfg to route to voicemail server on busy or decline. Only thing I did was adding decline code to t_check_status("486|408"), enabling the preprocessor variable for voicemail and changing the voicemail host and port to my voice

Re: [SR-Users] Contents of sr-users Digest, Vol 96, Issue 68

2013-05-23 Thread Daniel-Constantin Mierla
Hello, On 5/20/13 9:32 PM, Jignesh Gandhi wrote: Thanks for the quick reply. 1. Re: SCTP question (Daniel-Constantin Mierla) What I meant is if the SCTP association goes down from the Invite, 200 ok w/sdp to BYE. Should there be not an error at t_relay() level , since the association does

Re: [SR-Users] websocket support for kamailio 4.0.1

2013-05-23 Thread Daniel-Constantin Mierla
On 5/21/13 2:06 PM, Rupayan Dutta wrote: I have installed kamailio 4.0.1 in centOs 5.8 and trying to connect it using SipML 5 client (supplied by Doubango telecomm) using SIP over websocket.But the client can't connect to the server.Is there any special configuration needed for websocket suppo

Re: [SR-Users] TLS and SIP

2013-05-23 Thread Klaus Darilion
On 22.05.2013 15:49, Fabian Borot wrote: Thank you Klaus, good idea, but I forgot to mention that when I configure the client w/o TLS using regular SIP/UDP/5060 I dont have that problem. When the BYE from the called side comes it is sent to the calling side without any problems. But I do see th

Re: [SR-Users] Kamailio 4.0.1 websocket support

2013-05-23 Thread Daniel-Constantin Mierla
Hello, On 5/21/13 2:09 PM, Rupayan Dutta wrote: I have installed kamailio 4.0.1 in centOs 5.8 and trying to connect it using SipML 5 client (supplied by Doubango telecomm) using SIP over websocket.But the client can't connect to the server.Is there any special configuration needed for websocke

Re: [SR-Users] src record support (new topic)

2013-05-23 Thread Daniel-Constantin Mierla
On 5/21/13 11:00 AM, Olle E. Johansson wrote: 21 maj 2013 kl. 10:52 skrev Alex Balashov : The problem one always runs into when dealing with phones, softphones, ATAs, and other end-user clients is getting them to trust incoming calls from the secondary registrar in the event of a failure of

Re: [SR-Users] Fwd: Re: http://kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour

2013-05-23 Thread Daniel-Constantin Mierla
Hello, On 5/21/13 8:47 PM, johnc wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've got my Kamailio script working, hurray! I had created SRV and NAPTR records for the proxies but was missing a critical line in the script: dns_try_naptr=yes This enables Kamailio to query the N

Re: [SR-Users] TLS and SIP

2013-05-23 Thread Daniel-Constantin Mierla
On 5/22/13 3:49 PM, Fabian Borot wrote: Thank you Klaus, good idea, but I forgot to mention that when I configure the client w/o TLS using regular SIP/UDP/5060 I dont have that problem. When the BYE from the called side comes it is sent to the calling side without any problems. But I do see t

Re: [SR-Users] nat_keepalive() and fix_contact() are incompatible

2013-05-23 Thread Daniel-Constantin Mierla
Hello, if you have registrar behind a proxy, then you have to use path module. Cheers, Daniel On 5/22/13 3:17 PM, David wrote: Hello, fix_nated_register() doesn't seem to apply in this case because my NAT proxy is seperate from my usrloc proxy. I guess I forgot that information in my first

[SR-Users] "SER Getting Started" - what's the copyright and license?

2013-05-23 Thread Olle E. Johansson
http://kamailio.org/docs/ser-getting-started/SER-GettingStarted.pdf I'm looking for the authors of this document to find out what license it is published under. It would be nice to be able to use it and update it instead of starting a new "getting started" from scratch. Please contact me if yo