lcsneil
Member
- Joined
- Sep 21, 2008
- Messages
- 47
- Reaction score
- 4
I currently use the [macro-dialout-trunk-predial-hook] to do a number of tasks before I place a call based on DIAL_TRUNK and DIAL_NUMBER.
I have mainly go to this point by copying and tweaking others examples.
So firstly can someone tell me are the above two parameters system variables generated by asterisk?
Secondly is there a variable I can test to see which 'outbound route' has been used for the call about to be placed? Note I said outbound route rather than trunk.
I have a specific outbound route for Premium Rate numbers and I want to make an announcement before dialing a trunk which isn't exclusively used for premium numbers.
TIA
lcsneil
I have mainly go to this point by copying and tweaking others examples.
So firstly can someone tell me are the above two parameters system variables generated by asterisk?
Secondly is there a variable I can test to see which 'outbound route' has been used for the call about to be placed? Note I said outbound route rather than trunk.
I have a specific outbound route for Premium Rate numbers and I want to make an announcement before dialing a trunk which isn't exclusively used for premium numbers.
TIA
lcsneil