Hi all, Having fixed my problems with the call waiting ringing on the GS phones, I needed to extend that with a campon facility (available on some legacy systems - sort of callwaiting without phone ringing). I've managed to implement that by adding/modifying app_queue.c. Basically, when calling the SIP phone, and if busy, I can camp the call onto that extension, with MOH, allowing the caller to drop out to voicemail or other priority, if they wish to. You just need to record an additional voice file as instructions for the caller in the campon function. Sample of extensions.conf [macro-ext] ; ; Standard extension macro: ; ${ARG1} - Technology/Number ; exten => s,1,Dial(${ARG1},30|tr) exten => s,2,Voicemail(u${MACRO_EXTEN}) exten => s,102,Campon(${ARG1}) ; phone busy camp the caller on exten => s,103,Voicemail(b${MACRO_EXTEN}) ; caller decides to leave voicemail exten => s,203,Directory(Default) ; caller decides to call another extension [extensions] ; our extensions exten => 2001,1,Macro(ext,SIP/2001) If there is any interest, I'll post it up to the bugtracker as a feature ... Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031029/59875bec/attachment.htm
On Thu, Oct 30, 2003 at 10:28:32AM +1100, Paul Liew wrote:> Hi all, > > Having fixed my problems with the call waiting ringing on the GS phones, I needed to extend that with a campon facility (available on some legacy systems - sort of callwaiting without phone ringing). I've managed to implement that by adding/modifying app_queue.c. Basically, when calling the SIP phone, and if busy, I can camp the call onto that extension, with MOH, allowing the caller to drop out to voicemail or other priority, if they wish to. You just need to record an additional voice file as instructions for the caller in the campon function. Sample of extensions.confPaul, this looks great. I'd like to try it. -- ******** DataCrest, Inc. -- Technically Superior ****************** Walker Haddock http://www.datacrest.com DataCrest, Inc. e-mail: wh@datacrest.com 1634A Montgomery Hwy. phone: 1-888-941-3282, 1-205-335-8589 Birmingham, AL 35216 fax: 1-205-823-7838 ***********************************************************************
Yes, I would like to see the camp feature become part of the distribution. I know a few people who worked on ROLM systems who swear there are no replacements just because of some of those features! -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Paul Liew Sent: Wednesday, October 29, 2003 5:29 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Campon feature Hi all, Having fixed my problems with the call waiting ringing on the GS phones, I needed to extend that with a campon facility (available on some legacy systems - sort of callwaiting without phone ringing). I've managed to implement that by adding/modifying app_queue.c. Basically, when calling the SIP phone, and if busy, I can camp the call onto that extension, with MOH, allowing the caller to drop out to voicemail or other priority, if they wish to. You just need to record an additional voice file as instructions for the caller in the campon function. Sample of extensions.conf [macro-ext] ; ; Standard extension macro: ; ${ARG1} - Technology/Number ; exten => s,1,Dial(${ARG1},30|tr) exten => s,2,Voicemail(u${MACRO_EXTEN}) exten => s,102,Campon(${ARG1}) ; phone busy camp the caller on exten => s,103,Voicemail(b${MACRO_EXTEN}) ; caller decides to leave voicemail exten => s,203,Directory(Default) ; caller decides to call another extension [extensions] ; our extensions exten => 2001,1,Macro(ext,SIP/2001) If there is any interest, I'll post it up to the bugtracker as a feature ... Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031030/0ba5b68d/attachment.htm