Re: [SR-Users] How to configure Kamailio in stateful mode ?

2014-11-27 Thread Zaka Ul Isam
Hello: It is stateful, ofcourse except the ACKs which are sent statelessly (using SL module). If you want to see the difference, try an example shipped with the product. The latter uses SL module. Hope it helped, Zaka From: sr-users-boun...@lists.sip-router.o

Re: [SR-Users] CNXCC PrePaid module

2014-11-27 Thread Rene Montilva
Hi Carlos is there any different issue with kamailio 4.2.1, because i have the same error, you solved above, i got the same error with float value /usr/sbin/kamailio[13336]: WARNING: [rvalue.c:1016]: rval_get_int(): automatic string to int conversion for "0.0005" failed and with the basic value,

Re: [SR-Users] Issue with 4.2.0 and nathelper and/or rtpproxy

2014-11-27 Thread Igor Potjevlesch
Hello Daniel, Did you see something with the SIP message? Regards, Igor. De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] Envoyé : lundi 24 novembre 2014 19:43 À : 'Daniel-Constantin Mierla' Cc : 'Kamailio (SER) - Users Mailing List' Objet : RE: [SR-Users] Issue with 4.2.0

Re: [SR-Users] Kamailio as pass through proxy?

2014-11-27 Thread Daniel Tryba
On Thursday 27 November 2014 08:29:51 Rizwan Khan wrote: > We want to use Kamailio as the pass-thru proxy in front of the SBC just to > receive the request on a random port, and then forward the request to the > SBC internally being on the same private network. > > What would be the best way to do

Re: [SR-Users] xavp "contact_avp" question

2014-11-27 Thread Julia Boudniatsky
Daniel, thank you for quick response. After t_load_contact() i try to use pv_printf("$var(contact)", "$xavp(contacts[0]=>dst_uri)"); xlog ("L_NOTICE", "var(contact)=$var(contact)\r\n"); and receive result null. What is wrong? On Thu, Nov 27, 2014 at 12:58 PM, Daniel-Constantin Mierla < mico...

Re: [SR-Users] WebRTC + Kamailio as SIP-proxy + rtpproxy(?) as media-proxy

2014-11-27 Thread Ben Langfeld
The main thing you need to look out for is that your registrar supports the Path and Outbound specifications in order to correctly route INVITEs to your WebSocket clients via the edge proxy. I'm in a situation right now where I'm having some difficulty getting a Kamailio WebSocket edge proxy playin

Re: [SR-Users] WebRTC + Kamailio as SIP-proxy + rtpproxy(?) as media-proxy

2014-11-27 Thread Camille Oudot
Hi, > a) Can kamailio be used as sip-proxy while using WebRTC based UA > calling to plain UAC/WebRTC based UAC ? Yes, kamailio can do SIP over websocket, so all you need is a javascript SIP stack (e.g. JsSIP, jain-sip JS, ...) on your WebRTC enabled client. > b) What to use for media proxying (t

[SR-Users] Fwd: [Kamailio 4.2.0] Carrieroute Routing Questions

2014-11-27 Thread Massimo Varriale (IPZeta)
Hi, is there someone could give me a hint on how to configure this module? I can see that the call is going out to my external gateway interrogating the routing table, however I'm getting a CANCEL from Kamailio. If using this cr_route I can see that users can't place calls themself (internal cal

Re: [SR-Users] Ubuntu Moving LOG files

2014-11-27 Thread Massimo Varriale (IPZeta)
Hi Daniel! It's really a permission problem! It's not relative to permission itself (could be also 777) but it's the owner of the custom folder that should be exactly that way: In my example the folder is >> /home/sip_logs/kamailio.log /home could be any user, in my system is owner root:root sip

Re: [SR-Users] Kamailio as pass through proxy?

2014-11-27 Thread Ben Langfeld
You could quite easily just do this with iptables. See http://askubuntu.com/questions/320121/simple-port-forwarding for ideas. On 27 November 2014 at 05:29, Rizwan Khan wrote: > Hi All, > > What we want to do is to by-pass the restrictions imposed by different > ISPs etc. which normally block ba

Re: [SR-Users] Ubuntu Moving LOG files

2014-11-27 Thread Daniel-Constantin Mierla
Hello, might be a permissions problem, can you try with kamailio log path being /var/log/kamailio.log? Cheers, Daniel On 27/11/14 11:49, Massimo Varriale (IPZeta) wrote: > Hi All! > I've edited rsyslog files adding local7.none and it's not yet working. > Of course restarting both kamailio and rs

Re: [SR-Users] xavp "contact_avp" question

2014-11-27 Thread Daniel-Constantin Mierla
Hello, On 27/11/14 10:16, Julia Boudniatsky wrote: > > Hello, > > We use get_redirects(*) and t_load_contacts in script. > > modparam("tm", "contacts_avp", "$avp(contacts)") > > In versions previous to 4.1 > >print all contacts: $(avp(contacts[*]) > > delete all cont

Re: [SR-Users] Ubuntu Moving LOG files

2014-11-27 Thread Massimo Varriale (IPZeta)
Hi All! I've edited rsyslog files adding local7.none and it's not yet working. Of course restarting both kamailio and rsyslogd What i have now is that I'm even trying to run the process as root but it's always writing logs into syslog and not in my custom folder log file. I've tried using LOG7 a

[SR-Users] xavp "contact_avp" question

2014-11-27 Thread Julia Boudniatsky
Hello, We use get_redirects(*) and t_load_contacts in script. modparam("tm", "contacts_avp", "$avp(contacts)") In versions previous to 4.1 print all contacts: $(avp(contacts[*]) delete all contacts: $(avp(contacts[*])=$null >From 4.1 this avp is changed to