Tarp
From TriWiki
[edit] TriLUG Asterisk Routing Project (TARP), beta
This is a prototype. It may break things. This also assumes a reasonable working knowledge of Asterisk. If you don't have that, we should talk.
Purpose: A central extension lookup for TriLUGers experimenting in Asterisk.
[edit] Installation
- Download the macro
- Copy it in your /etc/asterisk directory.
- Include it in your dialplan, eg:
#include "macro-trilug.conf"
- There have been some reports that #include is not working. You may need to paste the code snippet directly into your extensions.conf.
- Add a reference in your preferred context. For example, if you want to dial '5' before all TriLUG numbers:
exten => _5XXX,1,Macro(trilug,${EXTEN:1})
- Reload your extensions
[edit] Reference
- This requires Asterisk to have been compiled with libcurl. Astlinux does not meet this criteria
- All TriLUG extensions are three digits long.
- Only SIP and IAX2 URLs are supported.
- View the directory
- If you pass the 'prefix' variable to directory.php, it will display the directory with that prefix.
- Source to lookup.php
- Cisco compatible directory display at cisco.php. Also takes the prefix parameter.
- Anyone want to write a Polycom directory display?
- For now, updates must be sent through Kevin Otte
- Problem reports can be sent there too