Summary: | ASTERISK-05919: Updated extensions.conf.sample | ||
Reporter: | opsys (opsys) | Labels: | |
Date Opened: | 2005-12-28 12:20:29.000-0600 | Date Closed: | 2006-01-11 23:44:40.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Documentation |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) diff-extensions-sample.txt ( 1) diff-extensions-sample-2.txt ( 2) diff-extensions-sample-3.txt | |
Description: | Included examples on using the Page() Application and for using the intercom feature for SIP based phones. Will work with anything that allows you to set a variable or change an option to auto-answer. Tested with: Polycom Snom Grandstream and Cisco (using auto-answer on line 1). | ||
Comments: | By: Jason Parker (jparker) 2005-12-28 12:39:56.000-0600 What's with the "a" at the bottom of the diff? By: opsys (opsys) 2005-12-28 12:46:51.000-0600 Overexcited VI user!!! Thanks for the proofing... Alex By: Russell Bryant (russell) 2005-12-28 12:48:41.000-0600 I would really rather not introduce any new examples that use priority jumping. Can you modify your example to check the AVAILSTATUS variable instead? By: opsys (opsys) 2005-12-28 13:09:27.000-0600 AVAILSTSTUS retrn a number instead of text as DIALSTAUS does. I found this in the Wiki: static const char *devstatestring= { /* 0 AST_DEVICE_UNKNOWN */ "Unknown", /* Valid, but unknown state */ /* 1 AST_DEVICE_NOT_INUSE */ "Not in use", /* Not used */ /* 2 AST_DEVICE IN USE */ "In use", /* In use */ /* 3 AST_DEVICE_BUSY */ "Busy", /* Busy */ /* 4 AST_DEVICE_INVALID */ "Invalid", /* Invalid - not known to Asterisk */ /* 5 AST_DEVICE_UNAVAILABLE */ "Unavailable", /* Unavailable (not registred) */ /* 6 AST_DEVICE_RINGING */ "Ringing" /* Ring, ring, ring */ }; I modified the diff to test for AVAILSTATUS, but for continuity would it be better for AVAILSTATUS to have AVAILSTATUS send out a more verbose setting: UNKNOWN INUSE NOTINUSE BUZY INVALID UNAVALABLE RINGING By: Olle Johansson (oej) 2006-01-03 04:38:34.000-0600 Are these macros tested? By: Olle Johansson (oej) 2006-01-03 04:39:29.000-0600 You have miss-spelled "Grandstrem1" so I doubt that you've tested it. Please do and make sure everything works. By: opsys (opsys) 2006-01-03 07:40:31.000-0600 I don't use those sip peers in my config, but I used the ones in the existing examples. I will double check all the spellings and re-diff if needed. By: Matt O'Gorman (mogorman) 2006-01-11 23:43:37.000-0600 Committed revision 8001. into trunk |