Re: [SR-Users] pua.publish using RPC

2017-12-12 Thread Daniel-Constantin Mierla
It seems that ctl module doesn't implement async (delayed response)
support for rpc commands. You have to try with xmlrpc or jsonrpc via
http/https.

Cheers,
Daniel


On 11.12.17 14:59, Володимир Іванець wrote:
> I was trying to execute *kamcmd pua.publish* followed by space
> separated parameter values.
>
> Thank you!
>
> 2017-12-11 15:28 GMT+02:00 Daniel-Constantin Mierla  >:
>
> Hello,
>
> how do you execute the command?
>
> IIRC, the async mode is available via xmlrpc module (over
> http/https), not sure if the other rpc transports were enhanced
> for it.
>
> Cheers,
> Daniel
>
>
> On 11.12.17 12:54, Володимир Іванець wrote:
>> Hello!
>>
>> I'm using Kamailio version 5.0.4. I was trying to use pua.publish
>> command from pua_rpc module but constantly getting "error: 600 -
>> Reply wait/async mode not supported by this rpc transport" reply.
>> Can someone please tell what is the correct syntax for
>> pua.publish command?
>>
>> Thanks a lot!
>>
>> 2017-02-09 10:33 GMT+02:00 Daniel-Constantin Mierla
>> >:
>>
>> Hello,
>>
>> there is a new pua_rpc module that should have the rpc command.
>>
>> But do you want to wait for the reply of the publish? Or just
>> send and
>> forget?
>>
>> Cheers,
>> Daniel
>>
>>
>> On 08/02/2017 08:46, Alex Balashov wrote:
>> > Hello,
>> >
>> > Is pua.publish strictly an MI function, or is it possible
>> nowadays to
>> > call it via the RPC channel, and specifically, using
>> jsonrpc_exec()?
>> >
>> > Thanks!
>> >
>> > -- Alex
>> >
>>
>> --
>> Daniel-Constantin Mierla
>> www.twitter.com/miconda  --
>> www.linkedin.com/in/miconda 
>> Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22
>> (USA) - www.asipto.com 
>> Kamailio World Conference - May 8-10, 2017 -
>> www.kamailioworld.com 
>>
>>
>> ___
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
>> mailing list
>> sr-us...@lists.sip-router.org
>> 
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>> 
>>
>>
>
> -- Daniel-Constantin Mierla www.twitter.com/miconda
>  -- www.linkedin.com/in/miconda
> 
>
> Kamailio Advanced Training - www.asipto.com 
> Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com 
> 
>
>

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] pua.publish using RPC

2017-12-11 Thread Володимир Іванець
I was trying to execute *kamcmd pua.publish* followed by space separated
parameter values.

Thank you!

2017-12-11 15:28 GMT+02:00 Daniel-Constantin Mierla :

> Hello,
>
> how do you execute the command?
>
> IIRC, the async mode is available via xmlrpc module (over http/https), not
> sure if the other rpc transports were enhanced for it.
>
> Cheers,
> Daniel
>
> On 11.12.17 12:54, Володимир Іванець wrote:
>
> Hello!
>
> I'm using Kamailio version 5.0.4. I was trying to use pua.publish command
> from pua_rpc module but constantly getting "error: 600 - Reply wait/async
> mode not supported by this rpc transport" reply. Can someone please tell
> what is the correct syntax for pua.publish command?
>
> Thanks a lot!
>
> 2017-02-09 10:33 GMT+02:00 Daniel-Constantin Mierla :
>
>> Hello,
>>
>> there is a new pua_rpc module that should have the rpc command.
>>
>> But do you want to wait for the reply of the publish? Or just send and
>> forget?
>>
>> Cheers,
>> Daniel
>>
>>
>> On 08/02/2017 08:46, Alex Balashov wrote:
>> > Hello,
>> >
>> > Is pua.publish strictly an MI function, or is it possible nowadays to
>> > call it via the RPC channel, and specifically, using jsonrpc_exec()?
>> >
>> > Thanks!
>> >
>> > -- Alex
>> >
>>
>> --
>> Daniel-Constantin Mierla
>> www.twitter.com/miconda -- www.linkedin.com/in/miconda
>> Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) -
>> www.asipto.com
>> Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
>>
>>
>> ___
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-us...@lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
> --
> Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda
>
> Kamailio Advanced Training - www.asipto.com
> Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
>
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] pua.publish using RPC

2017-12-11 Thread Daniel-Constantin Mierla
Hello,

how do you execute the command?

IIRC, the async mode is available via xmlrpc module (over http/https),
not sure if the other rpc transports were enhanced for it.

Cheers,
Daniel


On 11.12.17 12:54, Володимир Іванець wrote:
> Hello!
>
> I'm using Kamailio version 5.0.4. I was trying to use pua.publish
> command from pua_rpc module but constantly getting "error: 600 - Reply
> wait/async mode not supported by this rpc transport" reply. Can
> someone please tell what is the correct syntax for pua.publish command?
>
> Thanks a lot!
>
> 2017-02-09 10:33 GMT+02:00 Daniel-Constantin Mierla  >:
>
> Hello,
>
> there is a new pua_rpc module that should have the rpc command.
>
> But do you want to wait for the reply of the publish? Or just send and
> forget?
>
> Cheers,
> Daniel
>
>
> On 08/02/2017 08:46, Alex Balashov wrote:
> > Hello,
> >
> > Is pua.publish strictly an MI function, or is it possible
> nowadays to
> > call it via the RPC channel, and specifically, using jsonrpc_exec()?
> >
> > Thanks!
> >
> > -- Alex
> >
>
> --
> Daniel-Constantin Mierla
> www.twitter.com/miconda  --
> www.linkedin.com/in/miconda 
> Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA)
> - www.asipto.com 
> Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
> 
>
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
> list
> sr-us...@lists.sip-router.org 
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> 
>
>

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] pua.publish using RPC

2017-12-11 Thread Володимир Іванець
Hello!

I'm using Kamailio version 5.0.4. I was trying to use pua.publish command
from pua_rpc module but constantly getting "error: 600 - Reply wait/async
mode not supported by this rpc transport" reply. Can someone please tell
what is the correct syntax for pua.publish command?

Thanks a lot!

2017-02-09 10:33 GMT+02:00 Daniel-Constantin Mierla :

> Hello,
>
> there is a new pua_rpc module that should have the rpc command.
>
> But do you want to wait for the reply of the publish? Or just send and
> forget?
>
> Cheers,
> Daniel
>
>
> On 08/02/2017 08:46, Alex Balashov wrote:
> > Hello,
> >
> > Is pua.publish strictly an MI function, or is it possible nowadays to
> > call it via the RPC channel, and specifically, using jsonrpc_exec()?
> >
> > Thanks!
> >
> > -- Alex
> >
>
> --
> Daniel-Constantin Mierla
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) -
> www.asipto.com
> Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
>
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-us...@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users