Re: [SR-Users] Can this be done with xhttp module (3.1 devel)?

2010-10-01 Thread Sergey Okhapkin
I never checked with datagram/RPC, I use MI FIFO for that in production environment. On Friday 01 October 2010, Alex Balashov wrote: > On 10/01/2010 07:38 PM, Sergey Okhapkin wrote: > > Yes, it returns final SIP response back. Checked with kamailio/opensips > > 1.4, kamailio 1.5 and 3.1 > > Does

Re: [SR-Users] Can this be done with xhttp module (3.1 devel)?

2010-10-01 Thread Alex Balashov
On 10/01/2010 07:38 PM, Sergey Okhapkin wrote: Yes, it returns final SIP response back. Checked with kamailio/opensips 1.4, kamailio 1.5 and 3.1 Does it do this with the MI FIFO interface too, or just datagram/RPC? If it does it only via datagram or RPC, this is quite logical because the cli

Re: [SR-Users] Can this be done with xhttp module (3.1 devel)?

2010-10-01 Thread Sergey Okhapkin
Yes, it returns final SIP response back. Checked with kamailio/opensips 1.4, kamailio 1.5 and 3.1 On Friday 01 October 2010, Alex Balashov wrote: > On 10/01/2010 07:24 PM, Sergey Okhapkin wrote: > > t_uac_dlg returns final response to the initiated request. I don't know > > if it really waits f

Re: [SR-Users] [Kamailio-Business] Meeting in Vinenna, next week, Wed 6, 2010

2010-10-01 Thread Manwe
El Fri, 01 Oct 2010 13:12:55 +0200 Daniel-Constantin Mierla escribió: > Hello, > > some of us will be next Wednesday in Vienna, Austria and planned to have > a dinner - among the things to celebrate is the 3.1 release. > > If you are around and want to join us, drop me an email. So far, from

Re: [SR-Users] Can this be done with xhttp module (3.1 devel)?

2010-10-01 Thread Alex Balashov
On 10/01/2010 07:24 PM, Sergey Okhapkin wrote: t_uac_dlg returns final response to the initiated request. I don't know if it really waits for the response or uses some kind of async callback. Really? Very interesting. The documentation does not say that it does that at all, although that

Re: [SR-Users] Can this be done with xhttp module (3.1 devel)?

2010-10-01 Thread Sergey Okhapkin
t_uac_dlg returns final response to the initiated request. I don't know if it really waits for the response or uses some kind of async callback. On Friday 01 October 2010, Alex Balashov wrote: > Sergey, > > On 10/01/2010 06:11 PM, Sergey Okhapkin wrote: > > There is a way, t_uac_dlg MI does tha

Re: [SR-Users] Can this be done with xhttp module (3.1 devel)?

2010-10-01 Thread Alex Balashov
Sergey, On 10/01/2010 06:11 PM, Sergey Okhapkin wrote: There is a way, t_uac_dlg MI does that. I wonder why something similar is not available from cfg script. You can issue http request and wait for response from cfg, it would be nice to have t_uac_dlg() script function too. You can send a

Re: [SR-Users] Can this be done with xhttp module (3.1 devel)?

2010-10-01 Thread Sergey Okhapkin
There is a way, t_uac_dlg MI does that. I wonder why something similar is not available from cfg script. You can issue http request and wait for response from cfg, it would be nice to have t_uac_dlg() script function too. I have no problem to run apache and invoke t_uac_dlg from CGI, but I'd pr

Re: [SR-Users] Can this be done with xhttp module (3.1 devel)?

2010-10-01 Thread Alex Balashov
Sergey, There is no way to get Kamailio to "wait" for a reply. You would have to come up with some sort of asynchronous means of providing the reply result to the waiting HTTP client that is prompted by a reply on the Kamailio side also asynchronously. -- Alex On 10/01/2010 11:56 AM, Serge

Re: [SR-Users] Tutorial: SIP SIMPLE Presence Made Simple with Kamailio 3.1

2010-10-01 Thread Rouskol Andrey
Daniel, In addition to my previous letter, for multidomain case, to prevent u...@domain1 from changing xcaps for u...@domain2, we need do something like this (withing second WITH_XHTTPAUTH section): #!ifdef WITH_MULTIDOMAIN $var(tmp) = "sip:"+$aU; if ($var(uri)!=$var(tmp)) { #!e

Re: [SR-Users] Problem with ser - INVITE size problem tcp->udp?

2010-10-01 Thread Simone Felici
Thank you a lot for your answer! I'll try these modifications, starting from some tune on actual config of ser-2.0 to bring all working correctly and then ending with a test phase of the ser-3.0 version. I'll let you know if I should have some new issues. Thank you!!! Simon Il 30/09/2010 18

Re: [SR-Users] Tutorial: SIP SIMPLE Presence Made Simple with Kamailio 3.1

2010-10-01 Thread Rouskol Andrey
Hello, Daniel, could you verify your tutorial for cases with multidomain support. I've tried it (with curl as an xcap client) and I had to use u...@domain:pass as an authentication string to pass through www_authorize("xcap", "subscriber"), after this I had to modify $var(url) assignment a little

[SR-Users] Can this be done with xhttp module (3.1 devel)?

2010-10-01 Thread Sergey Okhapkin
I need to get http request with xhttp module, process request parameters, build SIP request (based on received http parameters), receive SIP reply and send http response back based on SIP reply. HTTP part is simple, but how to send SIP request from event_route[xhttp:request] and get SIP reply?

[SR-Users] kamailio pre-3.1 configuration error

2010-10-01 Thread Rouskol Andrey
Hello, It looks, there is a small error in default kamailio.cfg: #!define FLB_NATSIPPING 7 .. route[REGISTRAR] { .. # uncomment next line to do SIP NAT pinging ## setbflag(FLB_SIPPING); ^^^ R

Re: [SR-Users] XCAP 3.1 configuration !

2010-10-01 Thread Dani Popa
Hi, sip-communicator doesn't have full implemented authorization steps for xcap. You have to add the contact in your list, and the contact have to add you in his list to see him online. Dani Daniel-Constantin Mierla wrote: Hello, to be sure you have last version, have you updated ka

Re: [SR-Users] XCAP 3.1 configuration !

2010-10-01 Thread Daniel-Constantin Mierla
Hello, to be sure you have last version, have you updated kamailio config like in the wiki as well, or only sip communicator? Cheers, Daniel On 10/1/10 3:00 PM, X- x -X wrote: Hey Daniel, I tested the with sip-communicator-1.0-alpha6-nightly.build.2979-linux.bin

Re: [SR-Users] Error on radius accounting

2010-10-01 Thread dotnetdub
On 1 October 2010 10:43, Asim Riaz wrote: > Hi List, > > Having an issue with my freeradius, I am getting below errors when kamailio > sends radius records and freeradius try to store into database; > > Error: Ignoring request from unknown client 192.168.1.100:1814 > > Radius client and server ar

Re: [SR-Users] XCAP 3.1 configuration !

2010-10-01 Thread X- x -X
Hey Daniel, I tested the with sip-communicator-1.0-alpha6-nightly.build.2979-linux.bin . The thing about contact still being in the buddy list still holds. (I.e the status of the person (Alice) online

[SR-Users] Meeting in Vinenna, next week, Wed 6, 2010

2010-10-01 Thread Daniel-Constantin Mierla
Hello, some of us will be next Wednesday in Vienna, Austria and planned to have a dinner - among the things to celebrate is the 3.1 release. If you are around and want to join us, drop me an email. So far, from registered developers, there will be myself, Klaus Darilion, Andreas Graning and

Re: [SR-Users] Error on radius accounting

2010-10-01 Thread Asim Riaz
Hi List, Having an issue with my freeradius, I am getting below errors when kamailio sends radius records and freeradius try to store into database; Error: Ignoring request from unknown client 192.168.1.100:1814 Radius client and server are running on the same machine and I have necessary config

Re: [SR-Users] "Create Certificates to be used with Kamailio" changes

2010-10-01 Thread Klaus Darilion
Am 30.09.2010 17:27, schrieb Juha Heinanen: now that 3.1 has async tls support, i decided (first time ever) to try to test tls. things went quite smoothly when i followed "Create Certificates to be used with Kamailio" document http://kamailio.org/dokuwiki/doku.php/tls:create-certificates#usi

Re: [SR-Users] "Create Certificates to be used with Kamailio" changes

2010-10-01 Thread Klaus Darilion
Am 30.09.2010 21:20, schrieb Juha Heinanen: Juha Heinanen writes: i tried with command ssldump -i any -k /etc/sip-proxy/certs/sip-proxy/key.pem tcp and port 5061 where /etc/sip-proxy/certs/sip-proxy/key.pem is the same file as specified as tls module private key: modparam("tls", "private_k