add action=mark-connection chain=input in-interface=domru-ppppoe log-prefix=inpt_mark_domru \
new-connection-mark=domru-conmark passthrough=yes
add action=mark-connection chain=input in-interface=ether1 new-connection-mark=domru-conmark passthrough=yes
add action=mark-routing chain=prerouting connection-mark=domru-conmark dst-address-list=!workspace \
log-prefix=pr_rout new-routing-mark=domru-pppoe passthrough=no src-address-list=platniy
add action=mark-routing chain=output connection-mark=domru-conmark new-routing-mark=domru-pppoe passthrough=no
add action=mark-connection chain=forward connection-nat-state=dstnat dst-address=192.168.0.183 in-interface= domru-ppppoe new-connection-mark=domru-connmark-f passthrough=yes
add action=mark-connection chain=forward comment="FWD traffic Mark" in-interface=domru-ppppoe log-prefix= fwd_con new-connection-mark=domru-connmark-f passthrough=yes
add action=mark-connection chain=forward in-interface=ether1 new-connection-mark=domru-connmark-f passthrough=yes
add action=mark-routing chain=prerouting connection-mark=domru-connmark-f dst-address-list=!workspace log-prefix=rt_mark new-routing-mark=domru-pppoe passthrough=no src-address-list=platniy
add action=mark-routing chain=prerouting dst-address-list=!workspace new-routing-mark=rtk passthrough=no
src-address-list=rtk
same => n,Dial(LOCAL/1@dialer&LOCAL/2@dialer)
[dialer]
exten => 1,1,Dial(SIP/${Operator1}@rtelcomtrunk,30,Tt)
same => n,Hangup
exten => 2,1,Dial(SIP/${Operator2}@rtelcomtrunk,30,Tt)
same => n,Hangup