From 天蓝蓝, 7 Years ago, written in Plain Text.
- go back
Embed
Viewing differences between and 自定义号码 拨号失败
  1.     <extension name="Local_Extension">
  2.       <condition expression="^(1\d{3})$" field="destination_number">
  3.         <action application="playback" data="voc/welcome.wav"/>
  4.       </condition>
  5.     </extension>
  6.  
  7. 可以听到声音 日志
  8. 2017-10-10 11:14:49.768984 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1001@192.168.1.60 [2d164be4-ad69-11e7-a5d8-393da222a120]
  9. 2017-10-10 11:14:49.788985 [INFO] mod_dialplan_xml.c:637 Processing 1001 <1001>->1001 in context public
  10. 2017-10-10 11:14:49.788985 [NOTICE] switch_ivr.c:2172 Transfer sofia/internal/1001@192.168.1.60 to XML[1001@default]
  11. 2017-10-10 11:14:49.788985 [INFO] mod_dialplan_xml.c:637 Processing 1001 <1001>->1001 in context default
  12. 2017-10-10 11:14:49.808985 [INFO] switch_core_session.c:2649 Sending early media
  13. 2017-10-10 11:14:49.808985 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/1001@192.168.1.60!
  14. 2017-10-10 11:14:56.828991 [NOTICE] switch_core_state_machine.c:385 sofia/internal/1001@192.168.1.60 has executed the last dialplan instruction, hanging up.
  15. 2017-10-10 11:14:56.828991 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/internal/1001@192.168.1.60 [CS_EXECUTE] [NORMAL_CLEARING]
  16. 2017-10-10 11:14:56.828991 [NOTICE] switch_core_session.c:1683 Session 32 (sofia/internal/1001@192.168.1.60) Ended
  17. 2017-10-10 11:14:56.828991 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/1001@192.168.1.60 [CS_DESTROY]2017-10-10 11:14:49.768984 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1001@192.168.1.60 [2d164be4-ad69-11e7-a5d8-393da222a120]
  18. 2017-10-10 11:14:49.788985 [INFO] mod_dialplan_xml.c:637 Processing 1001 <1001>->1001 in context public
  19. 2017-10-10 11:14:49.788985 [NOTICE] switch_ivr.c:2172 Transfer sofia/internal/1001@192.168.1.60 to XML[1001@default]
  20. 2017-10-10 11:14:49.788985 [INFO] mod_dialplan_xml.c:637 Processing 1001 <1001>->1001 in context default
  21. 2017-10-10 11:14:49.808985 [INFO] switch_core_session.c:2649 Sending early media
  22. 2017-10-10 11:14:49.808985 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/1001@192.168.1.60!
  23. 2017-10-10 11:14:56.828991 [NOTICE] switch_core_state_machine.c:385 sofia/internal/1001@192.168.1.60 has executed the last dialplan instruction, hanging up.
  24. 2017-10-10 11:14:56.828991 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/internal/1001@192.168.1.60 [CS_EXECUTE] [NORMAL_CLEARING]
  25. 2017-10-10 11:14:56.828991 [NOTICE] switch_core_session.c:1683 Session 32 (sofia/internal/1001@192.168.1.60) Ended
  26. 2017-10-10 11:14:56.828991 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/1001@192.168.1.60 [CS_DESTROY]
  27.    
  28.    
  29. ————————————————————
  30.     <extension name="test">
  31.       <condition field="destination_number" expression="^300$">
  32.         <action application="playback" data="voc/welcome.wav"/>
  33.       </condition>
  34.     </extension>
  35.    
  36. 听不到声音 日志
  37. 2017-10-10 11:15:50.428985 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1001@192.168.1.60 [513ec226-ad69-11e7-a5e5-393da222a120]
  38. 2017-10-10 11:15:50.448985 [INFO] mod_dialplan_xml.c:637 Processing 1001 <1001>->300 in context public
  39. 2017-10-10 11:15:50.448985 [NOTICE] switch_core_state_machine.c:385 sofia/internal/1001@192.168.1.60 has executed the last dialplan instruction, hanging up.
  40. 2017-10-10 11:15:50.448985 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/internal/1001@192.168.1.60 [CS_EXECUTE] [NORMAL_CLEARING]
  41. 2017-10-10 11:15:50.468996 [NOTICE] switch_core_session.c:1683 Session 33 (sofia/internal/1001@192.168.1.60) Ended
  42. 2017-10-10 11:15:50.468996 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/1001@192.168.1.60 [CS_DESTROY]
  43.    
  44.