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

2010-10-02 Thread Iñaki Baz Castillo
2010/10/2 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. I suppose it works as follows: - t_uac_dlg is invoked. - Kamailio MI process receives the MI request and creates an out

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

2010-10-02 Thread Daniel-Constantin Mierla
Hello Andrey, On 10/1/10 7:47 PM, Rouskol Andrey wrote: 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 $v

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

2010-10-02 Thread Daniel-Constantin Mierla
Hello Andrey, On 10/1/10 6:10 PM, Rouskol Andrey wrote: 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"

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

2010-10-02 Thread Daniel-Constantin Mierla
On 10/2/10 10:05 AM, Andrei Pelinescu-Onciul wrote: On Oct 02, 2010 at 03:43, Alex Balashov wrote: Daniel, On 10/02/2010 03:39 AM, Daniel-Constantin Mierla wrote: you can use t_uac_dlg MI command via XMLRPC. That is done via http. This command is a bit special, doing a wait until the repl

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

2010-10-02 Thread Andrei Pelinescu-Onciul
On Oct 02, 2010 at 03:43, Alex Balashov wrote: > Daniel, > > On 10/02/2010 03:39 AM, Daniel-Constantin Mierla wrote: > > >you can use t_uac_dlg MI command via XMLRPC. That is done via http. > > > >This command is a bit special, doing a wait until the reply comes, > >blocking working process, so

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

2010-10-02 Thread Andrei Pelinescu-Onciul
On Oct 02, 2010 at 09:39, Daniel-Constantin Mierla wrote: > Hello, > > On 10/2/10 1:49 AM, Sergey Okhapkin wrote: > >I never checked with datagram/RPC, I use MI FIFO for that in production > >environment. > > you can use t_uac_dlg MI command via XMLRPC. That is done via http. > > This command

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

2010-10-02 Thread Daniel-Constantin Mierla
Hi Alex, On 10/2/10 9:43 AM, Alex Balashov wrote: Daniel, On 10/02/2010 03:39 AM, Daniel-Constantin Mierla wrote: you can use t_uac_dlg MI command via XMLRPC. That is done via http. This command is a bit special, doing a wait until the reply comes, blocking working process, so use it carefu

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

2010-10-02 Thread Alex Balashov
Daniel, On 10/02/2010 03:39 AM, Daniel-Constantin Mierla wrote: you can use t_uac_dlg MI command via XMLRPC. That is done via http. This command is a bit special, doing a wait until the reply comes, blocking working process, so use it carefully. Doesn't this aspect of the command make it a b

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

2010-10-02 Thread Daniel-Constantin Mierla
Hello, On 10/2/10 1:49 AM, Sergey Okhapkin wrote: I never checked with datagram/RPC, I use MI FIFO for that in production environment. you can use t_uac_dlg MI command via XMLRPC. That is done via http. This command is a bit special, doing a wait until the reply comes, blocking working proc