Author Topic: Route Calls  (Read 6999 times)

Iqenas

  • Newbie
  • *
  • Posts: 4
    • View Profile
Route Calls
« on: January 25, 2019, 03:15:45 AM »
Hello! I want to do routing from one number to anothers numbers.For example when I call number1,I want to route to number2 or number 3!  regexroute.conf  exist in  etc/yate/sdr  and /etc/yate .
The code from regexroute.conf is : (but still doesn't work!)

[default]

[context-one]
^number1$=;context=context-two
^number1$=fork lateroute/1001 lateroute/1002

[context-two]
^1001$=return;called=number2
^1002$=return;called=number3

Can someone help me ? Thanks.