So now I have asterisk 11.6.0 and freepbx 3.0.0.
There are two trunk - for communication with a lync [lync_trunk] and for communication with sip provider [sipnet_trunk].
for [lync_trunk] there is: context=from_lync
and for [sipnet_trunk] there is: context=from_sipnet
These contexts I created manually in extensions.conf:
[from_sipnet]
exten => _.,1,Dial(SIP/lync_trunk/+123123,120) ;this is auto attendant number and I want to route all incoming to this number.
exten => _.,n,Hangup
[from_lync]
exten => _+.,n,Set(CALLERID(num)=${CALLERID(num):1}) ;I need to modify CALLERID because provider don’t accept cyrillic names
exten => _+.,1,Dial(SIP/sipnet_trunk/${EXTEN:1},120)
exten => _+,n,Hangup
Now all work. But I want to implement the same thing using the routes in freepbx web interface. Is it possible?