Routing of calls
From Wildix
Example valid for calls incoming from a Patton Gateway using the default template:
set group and music on hold
_7.,1,Set(GROUP()=incoming|MUSICCLASS()=class10)
if there are already three calls calls jump to priority priority 4
_7.,2,GotoIf($[ ${GROUP_COUNT()} > 3]?5)
Dial 100 for 180 seconds using a music as background
_7.,3,Dial(SIP/100|180|m)
Dial the group
_7.,4,Dial(SIP/104&SIP/105&SIP/107&SIP/108&SIP/110&SIP/111&SIP/112&SIP/113&SIP/115&SIP/116|120|m)
_7.,5,HangUp()
