thufir

Untitled

Feb 18th, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. tleilax:/etc/asterisk #
  2. tleilax:/etc/asterisk #
  3. tleilax:/etc/asterisk # head extensions.conf -n 20
  4. [general]
  5. static=yes
  6. writeprotect=no
  7.  
  8. [globals]
  9. CONSOLE=Console/dsp ; Console interface for demo
  10. TRUNK=DAHDI/r1 ; Trunk interface
  11. TRUNKX=DAHDI/r2 ; 2nd trunk interface
  12. TRUNKIAX=IAX2/ASTtest1:[email protected]:4569 ; IAX trunk interface
  13. TRUNKIAX1=IAX2/ASTtest1:[email protected]:4569 ; IAX trunk interface
  14. TRUNKBINFONE=IAX2/1112223333:[email protected] ; IAX trunk interface
  15. SIPtrunk=SIP/1234:[email protected] ; SIP trunk
  16.  
  17. #include extensions-vicidial.conf
  18.  
  19. [trunkinbound]
  20. ; DID call routing process
  21. ; exten => _XXXXXXXXXX,1,AGI(agi-DID_route.agi) ; use this one instead of the one below if you are having delay issues, and match to number of received digits
  22. exten => _X.,1,AGI(agi-DID_route.agi)
  23. exten => _X.,n,Hangup()
  24. tleilax:/etc/asterisk #
  25. tleilax:/etc/asterisk # tail extensions-vicidial.conf
  26.  
  27. [vicidial-auto]
  28. exten => h,1,AGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
  29.  
  30. include => vicidial-auto-internal
  31. include => vicidial-auto-phones
  32. include => vicidial-auto-external
  33.  
  34.  
  35. ; END OF FILE Last Forced System Reload: 2015-02-13 08:45:03
  36. tleilax:/etc/asterisk #
Advertisement
Add Comment
Please, Sign In to add comment