On 11/07/2023 11.07, [EXT] Philippe Debreuil wrote:
> Hello,
>
> I am calling rtpengine_offer from kamailio.cfg
> with parameter string "replace-origin replace-session-connection "
> and wish to add " xmlrpc-callback=
127.0.0.1:8080"
> to ask rtpengine to send an event when RTP timeout occurs
>
> my question : is my xmlrpc-callback correct ?
>
> thks a lot
>
> PS: I tried using rtpengine command option
> "b2b-url=
http://127.0.0.1:8080" and it works
> but not when using xmlrpc-callback inside kamailio.cfg
The value for `xmlrpc-callback` is just an address, without port. It
will be replaced into the URL given as `b2b-url` wherever the %%
wildcard string appears. So something like `b2b-url=http://%%:8080` plus
`xmlrpc-callback=127.0.0.1` should work.
Cheers