General Category > Yate based projects

Route Calls

(1/1)

Iqenas:
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.


Navigation

[0] Message Index

Go to full version