[Asterisk-Users] Campon feature
Paul Liew
pliew at atp.org.au
Wed Oct 29 16:28:32 MST 2003
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
More information about the asterisk-users
mailing list