This is really helpful development.
I am facing one issue, when I use this.
RTPEngine is sending two "dlg.terminate_dlg" events for single call to kamailio with same call-id but reversed to-tag and from-tag in second event. I believe this is due to two separate RTP streams.
Problem here is that - in first event kamailio terminates the call, hence when second event comes, kamailio says - call-id not found and send response back to RTPEngine. But still RTPEngine keeps sending that event message for three more times. Kamailio has to respond to it with call-id not found. Which is overhead. Not recommended for production environment.
How can I avoid this? Any help is appreciated.
Thank you
Mitesh
On 06.09.18 11:15, Richard Fuchs wrote:
> This is now supported as per
> On 2018-09-05 05:39, Daniel-Constantin Mierla wrote:
>> There is the dlg.terminate_dlg rpc command that requires callid,
>> from-tag and to-tag as parameters:
>> So it expects something like:
>> <?xml version="1.0" encoding="UTF-8"?>
>> <methodName>dlg.terminate_dlg</methodName>
>> <param><value><string>_CALLID_VALUE__</string></value></param>
>> <param><value><string>_FROM_TAG_VALUE__</string></value></param>
>> <param><value><string>_TO_TAG_VALUE__</string></value></param>
>> I planned to make the from-tag and to-tag optional for quite some
>> time, but didn't get the time for it yet.
>> On 05.09.18 08:52, Richard Fuchs wrote:
>>> Yup that's exactly right.
>>> It would be fairly simple to implement an additional XMLRPC format
>>> if there's a particular one that's more friendly towards Kamailio.
>>> On 2018-09-05 02:42, Daniel-Constantin Mierla wrote:
>>>> Looking quickly at the readme of rtpengine application and digging
>>>> a bit with google, it is something like rtpengine has to be started
>>>> -b http(s)://myrpcserver.ip/path -x 1
>>>> and then the xmlrpc request is going to be sent to that url, having
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <methodName>teardown</methodName>
>>>> <param><value><string>_CALLID_VALUE__</string></value></param>
>>>> Is it right? If yes, then I can try to make a sample config that
>>>> could handle it using xmlops, xhttp and jsonrpcs modules.
>>>> On 05.09.18 08:24, Richard Fuchs wrote:
>>>>> It does an XMLRPC callback. Currently there's two formats for it,
>>>>> one is a sems sbc teardown request (using the from-tag), the other
>>>>> is a generic "teardown" command using the call ID.
>>>>> On 2018-09-04 07:52, Daniel-Constantin Mierla wrote:
>>>>>> what do you get from rtpengine on rtp timeout? An RPC call back
>>>>>> or an http request?
>>>>>> On 04.09.18 12:48, Igor Olhovskiy wrote:
>>>>>>> Is there any way to end dialog in Kamailio on RTP Timeout event
>>>>>>> Or only look at logs/redis database with external tool?
>>>>>>> _______________________________________________
>>>>>>> Kamailio (SER) - Users Mailing List
>>>>>> Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com
>>>>>> _______________________________________________
>>>>>> Kamailio (SER) - Users Mailing List
>>>>> _______________________________________________
>>>>> Kamailio (SER) - Users Mailing List
>>>> Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com
>>> _______________________________________________
>>> Kamailio (SER) - Users Mailing List
>> Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com
> _______________________________________________
> Kamailio (SER) - Users Mailing List
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com