Posted by Zsolt Erdei on 10 July 2018 05:31 AM
With the following configuration snippet the SmartNode will wait 12 seconds* and change the called party number if nothing was dialed.|
First the call has to be routed to the RT_HOTLINE table. There the timeout will wait by default 12 seconds and route the called forced to the specified interface (or table, or service).
The 12 seconds can be configured in "context cs SWITCH" using the "address-completion timeout".
During the routing the SmartNode will evaluate the configured mapping-table, which changes the number to the hotline number (12345 in the example) if no number was dialed.
routing-table called-e164 RT_HOTLINE
route T!5 dest-interface <target interface> MT_CALLED_HOTLINE
mapping-table called-e164 to called-e164 MT_CALLED_HOTLINE
map ^$ to 12345