-- Executing SetCallerPres("SIP/9136744395-0d12", "allowed_not_screened") in new stack
-- Executing Goto("SIP/9136744395-0d12", "home|2700|1") in new stack
-- Goto (home,2700,1)
-- Executing Macro("SIP/9136744395-0d12", "prepcall|home|2700") in new stack
-- Executing Set("SIP/9136744395-0d12", "context=home") in new stack
-- Executing SetCallerPres("SIP/9136744395-0d12", "allowed_passed_screen") in new stack
-- Executing Goto("SIP/9136744395-0d12", "home-2|2700|1") in new stack
-- Goto (home-2,2700,1)
-- Executing Macro("SIP/9136744395-0d12", "route-home|2700") in new stack
-- Executing Set("SIP/9136744395-0d12", "exten=2700") in new stack
*****
macro route-home-service(exten) {
switch(${exten}) {
case 2900:
// TODO: Name directory
break;
case 2901:
NoOp(TODO remove);
case 2957:
VoicemailMain();
Hangup();
break;
case 2911:
Answer();
&replace(foo_bar_123_456__lalafoo_zzz__,_,-);
Noop(${REPLACED});
Hangup();
break;
case 2997:
jump s@incoming;
break;
};
};