[SR-Users] pua.publish using RPC
Daniel-Constantin Mierla
miconda at gmail.com
Tue Dec 12 09:41:22 CET 2017
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 <miconda at gmail.com
> <mailto:miconda at gmail.com>>:
>
> 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
>> <miconda at gmail.com <mailto:miconda at gmail.com>>:
>>
>> 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 <http://www.twitter.com/miconda> --
>> www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
>> Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22
>> (USA) - www.asipto.com <http://www.asipto.com>
>> Kamailio World Conference - May 8-10, 2017 -
>> www.kamailioworld.com <http://www.kamailioworld.com>
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
>> mailing list
>> sr-users at lists.sip-router.org
>> <mailto:sr-users at lists.sip-router.org>
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>> <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
>>
>>
>
> -- Daniel-Constantin Mierla www.twitter.com/miconda
> <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda
> <http://www.linkedin.com/in/miconda>
>
> Kamailio Advanced Training - www.asipto.com <http://www.asipto.com>
> Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com <http://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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171212/56489dfa/attachment.html>
More information about the sr-users
mailing list