>  You have any route logic (script) for bellow operation
Well, I can, if you can wait till Monday.

> you don't need a database for that.  you can use location table flags
Can you please describe how to do that? I chosen redis because I need to figure out the proto of the leg_b (called) user pretty fast - mysql is much slower.

> that would prevent e2e rtp/savpf.
e2e=endpoint2endpoint? I don't need it - all traffic comes through my media relay, no p2p

> again not needed if incoming is rtp/savpf and so on,
well, how do you offer to connect RTP/AVP SIP call with RTP/SAVPF WS call? Or maybe I just don't understand the RTP flow - I'm also queit new to all this stuff

2015-06-14 20:09 GMT+03:00 Juha Heinanen <jh@tutpro.com>:
Murugan Pandian writes:

>    1. On each registration user's proto is stored in redis database

you don't need a database for that.  you can use location table flags.

> 2. When rtpengine is being called, Kamailio checks user's proto
>     a) If user is WS and is incoming call, dispatch him to media relay with
> RTP/AVP flag

that would prevent e2e rtp/savpf.

>     b) If user is WS and is outgoing call (from media relay) send it to the
> endpoint with RTP/SAVPF flag

again not needed if incoming is rtp/savpf and so on,

-- juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



--
Alexandru Covalschi
ABRISS-Solutions
VoIP engineer and system administrator
phone: +37367398493
web: http://abs-telecom.com/