Asterisk Virtual Routing And Forwarding (VRF)

Home » Asterisk Users » Asterisk Virtual Routing And Forwarding (VRF)
Asterisk Users No Comments

Reading [1], Asterisk‘s PJSIP requires a unique IP+port combination when configuring multiple transport instances.

Linux now supports Virtual routing and forwarding (VRF) (see [2]).

Is there a way to set a given PJSIP transport to use a given interface and doing so, brings VRF-awareness to Asterisk?

Alternatively, is it something that can be done elsewhere (Kamailio, …) ?

[1] https://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Sections+and+Relationships
[2] https://cumulusnetworks.com/blog/vrf-for-linux/