I'm looking to replace rtpproxy with rtpengine. All calls have to be forced thru rtpengine and according to the documentation the equivalent of rtpproxy_manage("f"); is rtpengine_manage("force");
But rtpenginge doesn't recognize it as a valid flag. Using the legacy rtpproxy mod it still works though. Is it a documentation failure or is a specific version of rtpengine required for forced?
Apr 1 17:54:28 pisco rtpengine[3432]: Got valid command from 127.0.0.1:43193: offer - { "sdp": "v=0#015#012o=tryba 8000 8001 I N IP4 10.0.3.169#015#012s=SIP Call#015#012c=IN IP4 10.0.3.169#015#012t=0 0#015#012m=audio 5016 RTP/AVP 8 0 9 2 3 18 4 99 101 13 #015#012a=sendrecv#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:0 PCMU/8000#015#012a=rtpmap:9 G722/8000#015#012a=rtpmap:2 G726-3 2/8000#015#012a=rtpmap:3 GSM/8000#015#012a=rtpmap:18 G729/8000#015#012a=rtpmap:4 G723/8000#015#012a=rtpmap:99 iLBC/8000#015#012 a=fmtp:99 mode=20#015#012a=ptime:20#015#012a=rtpmap:101 telephone- event/8000#015#012a=fmtp:101 0-11#015#012", "flags": [ "force " ], "call-id": "5 ... Apr 1 17:54:28 pisco rtpengine[3432]: ... f13ffb48e98404a@10.0.3.169", "received-from": [ "IP4", "109.235.34.226" ], "from-tag ": "3819edfdf2df044a", "command": "offer" } Apr 1 17:54:28 pisco rtpengine[3432]: Unknown flag encountered: 'force'
On Wednesday 01 April 2015 18:08:28 Daniel Tryba wrote:
I'm looking to replace rtpproxy with rtpengine. All calls have to be forced thru rtpengine and according to the documentation the equivalent of rtpproxy_manage("f"); is rtpengine_manage("force");
Forgot to mention I'm taking a look at 4.2.x (and rptenging branch 3.7)
On Wednesday 01 April 2015 18:08:28 Daniel Tryba wrote:
rtpengine_manage("force");
Whoops, I should read the whole thing.
http://kamailio.org/docs/modules/4.2.x/modules/rtpengine.html#rtpengine.f.rt...
force - instructs the RTP proxy to ignore marks inserted by another RTP proxy in transit to indicate that the session is already goes through another proxy. Allows creating a chain of proxies. *Not supported and ignored by Sipwise rtpengine*
On 01/04/15 12:34 PM, Daniel Tryba wrote:
On Wednesday 01 April 2015 18:08:28 Daniel Tryba wrote:
rtpengine_manage("force");
Whoops, I should read the whole thing.
http://kamailio.org/docs/modules/4.2.x/modules/rtpengine.html#rtpengine.f.rt...
force - instructs the RTP proxy to ignore marks inserted by another RTP proxy in transit to indicate that the session is already goes through another proxy. Allows creating a chain of proxies. *Not supported and ignored by Sipwise rtpengine*
To clarify: rtpengine doesn't insert any marks and doesn't check for any marks that might be present. IOW it behaves as if the "force" flag is always enabled.
Cheers
On Wednesday 01 April 2015 12:37:00 Richard Fuchs wrote:
To clarify: rtpengine doesn't insert any marks and doesn't check for any marks that might be present. IOW it behaves as if the "force" flag is always enabled.
Silly me, I was focused on the forced being retreated as an illegal flag I didn't notice this desired behavior.