Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Akug seminar2 asterisk_recipse1_r3_byxeny
1. Asterisk 1.8 Recipes
비법 그 첫 번째
맛있는! Dialplan Fundamentals
AKUG 세미나 제 2회
2011-05-28
개정일자 : 2011-05-31
2. Agenda
Counting and Conditionals
Looping in the Dialplan
Controlling Calls based on Date and Time
Authenticating Callers
Debugging the Dialplan with Verbose()
Next Recipes?
Thanks to
15. Debugging the Dialplan
with Verbose()
[로그] 컨텍스트는 전체, 채널 또는 디바이스 단
위로 메시지 출력하는 역할을 합니다.
[로그테스트-1] 컨텍스트는 [로그] 컨텍스트를
사용해 로그를 출력합니다. 디버깅을 통해 동작
원리를 확실하게 파악하시기 바랍니다. 로깅과
모니터링을 위한 다른 방법들로는, logger.conf
설정을 이용하거나 CEL(Channel Event Loggin) 등
이 있습니다.
16. Debugging the Dialplan
with Verbose()
앞 예제와 다른 점을 찾아볼까요?
Macro의 기능을 사용하여 좀 더 단순화 시킨 예
제입니다. [로그테스트-2] 컨텍스트를 보니 인자
의 개수가 줄었군요. 더 보기 좋게 하려면,
Asterisk Plug-in 형태로 로그()라는 Function을 만
들어야 할 것 같습니다. (Asterisk Recipes 강좌가
끝나면 함께 작성해볼까요? ^^)