[asterisk-users] Camp / Callback feature in 1.4
Hello I'm looking for a way to do the following using my Asterisk system and Snom SIP phones... Scenario: Caller on Internal Phone 1 calls internal phone2. Phone 2 is busy (or more accurately goes straight to voicemail). Caller on internal phone 1 can press a button / dial a code (explained in next step) and hangup When phone 2 is free, phone 1 rings and on answer dials phone 2 I was sure this was called camping - but all the camping stuff I can find, refers to the caller having to hang on the phone and wait. Am I missing something? Anyone have a solution? Thanks in advance Phil ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Camp / Callback feature in 1.4
On Tue, Jun 10, 2008 at 5:34 PM, Phil Knighton [EMAIL PROTECTED] wrote: Hello I'm looking for a way to do the following using my Asterisk system and Snom SIP phones... Scenario: Caller on Internal Phone 1 calls internal phone2. Phone 2 is busy (or more accurately goes straight to voicemail). Caller on internal phone 1 can press a button / dial a code (explained in next step) and hangup When phone 2 is free, phone 1 rings and on answer dials phone 2 I was sure this was called camping - but all the camping stuff I can find, refers to the caller having to hang on the phone and wait. Am I missing something? Anyone have a solution? Quick solution that comes into mind: Set(exten_copy = ${EXTEN}); Dial(SIP/${EXTEN}) if (${DIALSTATUS}=BUSY) { // prompt for camp Set(DB(camp/${EXTEN}/call_to)=${CALLERID(num)); } h = { Set(call_to=${DB(camp/${exten_copy}/call_to)}); if (${call_to}!=) { Set(DB(camp/${exten_copy}/call_to)=); System(call_to ${exten_copy} ${call_to}); } } So, in case if phone2 is busy, store callerid of phone1 in database, so when phone2 will hangup it will triger a script call_to which however can originate call trough manager or call-file. Of course you will need some additional handling in case if multiple callers decide to camp, or diferent protocols are used, etc. Regards, Atis -- Atis Lezdins, VoIP Project Manager / Developer, [EMAIL PROTECTED] Skype: atis.lezdins Cell Phone: +371 28806004 Cell Phone: +1 800 7300689 Work phone: +1 800 7502835 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Camp / Callback feature in 1.4
snip Set(exten_copy = ${EXTEN}); Dial(SIP/${EXTEN}) if (${DIALSTATUS}=BUSY) { // prompt for camp Set(DB(camp/${EXTEN}/call_to)=${CALLERID(num)); } h = { Set(call_to=${DB(camp/${exten_copy}/call_to)}); if (${call_to}!=) { Set(DB(camp/${exten_copy}/call_to)=); System(call_to ${exten_copy} ${call_to}); } } Ah I love to see AEL in a suggestion post :) -- Sherwood McGowan VoIP / Telecom Solutions [EMAIL PROTECTED] ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] camp on off-line phone
When phone A registers, I want phone B to ring, when picked up, it should call phone A and connect the phones. Translated: When GF in Mexico powers up laptop where soft iax-phone registers automatically, I want to talk to her asap :-) How to? Leif ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] camp on off-line phone
Leif Neland wrote: When phone A registers, I want phone B to ring, when picked up, it should call phone A and connect the phones. Translated: When GF in Mexico powers up laptop where soft iax-phone registers automatically, I want to talk to her asap :-) How to? I don't really know how to do this, but wouldn't it be easiest if she just called you as soon as she is online? Sorry for not being of any help. :-( Regards, Philipp -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? - http://www.das-asterisk-buch.de Geschäftsführer: Stefan Wintermeyer Handelsregister: Neuwied B 14998 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] camp on off-line phone
It would be cool if you could add some kind of login script capability to nodes in sip.conf and iax.conf. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Philipp Kempgen Sent: Sunday, March 18, 2007 11:16 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] camp on off-line phone Leif Neland wrote: When phone A registers, I want phone B to ring, when picked up, it should call phone A and connect the phones. Translated: When GF in Mexico powers up laptop where soft iax-phone registers automatically, I want to talk to her asap :-) How to? I don't really know how to do this, but wouldn't it be easiest if she just called you as soon as she is online? Sorry for not being of any help. :-( Regards, Philipp -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? - http://www.das-asterisk-buch.de Geschäftsführer: Stefan Wintermeyer Handelsregister: Neuwied B 14998 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] camp on off-line phone
Jeronimo Romero wrote: It would be cool if you could add some kind of login script capability to nodes in sip.conf and iax.conf. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Philipp Kempgen Sent: Sunday, March 18, 2007 11:16 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] camp on off-line phone Leif Neland wrote: When phone A registers, I want phone B to ring, when picked up, it should call phone A and connect the phones. Translated: When GF in Mexico powers up laptop where soft iax-phone registers automatically, I want to talk to her asap :-) How to? Maybe manager events are generated for SIP registrations? Haven't checked. So you could connect to the AMI, listen to the events and do something as soon as the girlfriend registers. Regards, Philipp -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? - http://www.das-asterisk-buch.de Geschäftsführer: Stefan Wintermeyer Handelsregister: Neuwied B 14998 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Camp on?
Why not just create a .call file when the number is busy? The .call file tries to dial the destination with the retry interval and max attempts you specify, when the call goes thru, dial that other number. Here's what I have been using to produce a callback feature. It's not pretty but it works ** ; menu callback initiated exten = *,1,GotoIf($[ ${CALLERID(num)} 800 ]?:i|1) exten = *,n,System(/usr/bin/ast_callback ${CALLERID(num)} ${CALLEDEXTEN} ) exten = *,n,AGI(tts_playback.sh,call back activated,li) exten = *,n,Hangup() ** The GotoIf statement is checking to see if the call is an internal call The CALLEDEXTEN variable that I defined contains the extension number you dialed, you could also have it be the channel (ie Zap/2) your dialing. This is the /usr/bin/ast_callback script. ** #!/bin/bash # # Initiate a call file to call back busy extension callerid=` echo $1 | sed -e 's///g'` called=` echo $2 | sed -e 's///g'` CALLBACKFILE=$(cat -EOF1 Channel: local/[EMAIL PROTECTED] MaxRetries: 3 RetryTime: 5 WaitTime: 5 CallerID: Call Back $callerid Context: callback Extension: $called Priority: 1 EOF1) echo $CALLBACKFILE /var/spool/asterisk/callback/c_back$callerid$$ mv /var/spool/asterisk/callback/c_back$callerid$$ /var/spool/asterisk/outgoing/c_back$callerid$$ ** This is the context that the ast_callback script call file 'dials' back into: ** [callback] exten = _8XX,1(available),ChanIsAvail(${ext_${EXTEN}}|s) exten = _8XX,n,System(/usr/bin/ast_callback_ok ${CALLERID(num)} ${ext_${EXTEN}} ) exten = _8XX,available+101,System(/usr/bin/ast_sleep 5) exten = _8XX,n,Set(loops=$[ ${loops} + 1 ]) exten = _8XX,n,GotoIf($[ ${loops} 120 ]?available:) exten = _8XX,n,Hangup() ** I have all my extension channels defined as global variables (ie ext_820 = Zap/13). So ${ext_${EXTEN}} maps extension number to channel. If they the phone is no longer busy another call file is initiated where the extension you were attempting to reach will be calling you back. If it's still busy we wait 5 seconds and try again. There must be a better way to do a 5 second wait but I used a script. ** #!/bin/bash # # Initiate a call file to call back extension that is no longer busy callerid=` echo $1 | sed -e 's///g'` called=` echo $2 | sed -e 's///g'` CALLBACKFILE=$(cat -EOF1 Channel: $called MaxRetries: 2 RetryTime: 15 WaitTime: 15 CallerID: Call Back $callerid Context: internal Extension: $callerid Priority: 1 EOF1) echo $CALLBACKFILE /var/spool/asterisk/callback/c_back$callerid$$ mv /var/spool/asterisk/callback/c_back$callerid$$ /var/spool/asterisk/outgoing/c_back$callerid$$ ** ** #!/bin/bash # # sleep for x seconds sleep $1 ** ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Camp on?
Why not just create a .call file when the number is busy? The .call file tries to dial the destination with the retry interval and max attempts you specify, when the call goes thru, dial that other number. Nathan Alberti wrote: 8 Thanks for the pointer Nathan. I slapped something together quick 'n dirty but this is not working. The problem is that the call file is only generated when the originating caller stays on the phone until the remote caller hangs up. Suggestions how to fix this much appreciated. 8 Well... I'm not too familiar with deadagi and its capabilities but it seems to be that having a process continue to run after someone hangs up is not one of asterisk's strengths (for this particular requirement) So, I think it might be better with a two stage process, something like the following; 1) Caller makes a call 2) Status is busy 3) the BUSY handler writes a value to astdb (or by some other method) which contains the extension that was trying to call them. 4) Call is hungup as normal. (or the user is prompted if they would like a call back) - Callee (that was previously busy) hangs up the call 1) The 'h' extension is configured to lookup astdb for the existence of any missed calls. I think this could also be done by allowing dial to continue after hangup. 2) Generate a call file with the values from astdb. Things to watch out for; - Handle multiple values (i.e. more than one person calls them while they are busy) - the delay between them hanging up and the phone ringing again (find a happy medium of not too fast, not too slow). - This function should only be applicable to internal calls, if you make it part of a standard extension macro you should probably allow it to be skipped for external calls. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Now accepting new clients in Birmingham, Atlanta, Huntsville, Chattanooga, and Montgomery. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Camp on?
I believe what you refer to is called Ring Back When Free at least thats how I know it in the UK. Ah yes, no I remember. We called it Automatic Ring Back. So we had normal ARB, or ARB on next use. -- Andreas Sikkema BBned NV Software EngineerPlaneetbaan 4 +31 (0)23 70743422132 HZ Hoofddorp ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Camp on?
On Wed, 2006-04-26 at 20:15 -0500, Eric ManxPower Wieling wrote: Something along the lines of show application retrydial ? Afaict RetryDial does not allow the caller to hang up the phone and wait for a call the moment the remote party hangs up. Any way to do this *without* the caller having to stay on the phone? Regards, Patrick ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Camp on?
On Thu, 2006-04-27 at 11:10 +0800, Nathan Alberti wrote: On 27/04/2006, at 9:15 AM, Eric ManxPower Wieling wrote: Something along the lines of show application retrydial ? [EMAIL PROTECTED] wrote: I am looking for that feature to implement on Asterisk as well. does anyone know how to implement it/ Thanks! - Original Message - From: Jon Farmer [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Wednesday, April 26, 2006 12:09 PM Subject: Re: [Asterisk-Users] Camp on? I believe what you refer to is called Ring Back When Free at least thats how I know it in the UK. Not quite retrydial, that is more like dial the person and keep dialing the person until they pickup with the ability to listen to MOH while you wait. I think what the OP is asking for is call someone, they are busy, press a button to enable callback and as soon as they hang-up from a call the callers handset starts ringing to let them know the called party is now free, when the caller pickups the phone they are connected to the person they were trying to call. I'm not sure how clear my explanation is :S That explanation is fine :) And you are stressing the right point: the caller should be able to put down the phone after pressing 5. RetryDial does not seem to allow that. Perhaps it could be done in h with a DeadAGI but I have no idea how to do that. Suggestion examples most welcome. Regards, Patrick ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Camp on?
On 27/04/2006, at 5:45 PM, Patrick wrote: On Thu, 2006-04-27 at 11:10 +0800, Nathan Alberti wrote: On 27/04/2006, at 9:15 AM, Eric ManxPower Wieling wrote: Something along the lines of show application retrydial ? [EMAIL PROTECTED] wrote: I am looking for that feature to implement on Asterisk as well. does anyone know how to implement it/ Thanks! - Original Message - From: Jon Farmer [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Wednesday, April 26, 2006 12:09 PM Subject: Re: [Asterisk-Users] Camp on? I believe what you refer to is called Ring Back When Free at least thats how I know it in the UK. Not quite retrydial, that is more like dial the person and keep dialing the person until they pickup with the ability to listen to MOH while you wait. I think what the OP is asking for is call someone, they are busy, press a button to enable callback and as soon as they hang-up from a call the callers handset starts ringing to let them know the called party is now free, when the caller pickups the phone they are connected to the person they were trying to call. I'm not sure how clear my explanation is :S That explanation is fine :) And you are stressing the right point: the caller should be able to put down the phone after pressing 5. RetryDial does not seem to allow that. Perhaps it could be done in h with a DeadAGI but I have no idea how to do that. Suggestion examples most welcome. Regards, Patrick More appropriate may be a jump on BUSY, else the action may be processed when not required i.e. after a successful call. [macro-stdext] exten = s,1,NoOp exten = s,n,Dial(SIP/${ARG2},20) exten = s,n,Goto(s-${DIALSTATUS},1) exten = s-BUSY,1, --- DO STUFF HERE :) ; - Playback The person is busy, press 1 to have them call you back when available or 2 to leave them a voicemail ; - Add code to catch 1 or 2 as appropriate and send to voicemail or script to check channel status and handle call back. exten = s-NOANSWER,1,Macro(voicemail,U${ARG3}) exten = s-NOANSWER,n,Hangup exten = _s-.,1,Goto(s-NOANSWER,1) ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Camp on?
On Thu, 2006-04-27 at 18:08 +0800, Nathan Alberti wrote: On 27/04/2006, at 5:45 PM, Patrick wrote: On Thu, 2006-04-27 at 11:10 +0800, Nathan Alberti wrote: On 27/04/2006, at 9:15 AM, Eric ManxPower Wieling wrote: Something along the lines of show application retrydial ? [EMAIL PROTECTED] wrote: I am looking for that feature to implement on Asterisk as well. does anyone know how to implement it/ Thanks! - Original Message - From: Jon Farmer [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Wednesday, April 26, 2006 12:09 PM Subject: Re: [Asterisk-Users] Camp on? I believe what you refer to is called Ring Back When Free at least thats how I know it in the UK. Not quite retrydial, that is more like dial the person and keep dialing the person until they pickup with the ability to listen to MOH while you wait. I think what the OP is asking for is call someone, they are busy, press a button to enable callback and as soon as they hang-up from a call the callers handset starts ringing to let them know the called party is now free, when the caller pickups the phone they are connected to the person they were trying to call. I'm not sure how clear my explanation is :S That explanation is fine :) And you are stressing the right point: the caller should be able to put down the phone after pressing 5. RetryDial does not seem to allow that. Perhaps it could be done in h with a DeadAGI but I have no idea how to do that. Suggestion examples most welcome. Regards, Patrick More appropriate may be a jump on BUSY, else the action may be processed when not required i.e. after a successful call. [macro-stdext] exten = s,1,NoOp exten = s,n,Dial(SIP/${ARG2},20) exten = s,n,Goto(s-${DIALSTATUS},1) exten = s-BUSY,1, --- DO STUFF HERE :) ; - Playback The person is busy, press 1 to have them call you back when available or 2 to leave them a voicemail ; - Add code to catch 1 or 2 as appropriate and send to voicemail or script to check channel status and handle call back. exten = s-NOANSWER,1,Macro(voicemail,U${ARG3}) exten = s-NOANSWER,n,Hangup exten = _s-.,1,Goto(s-NOANSWER,1) Thanks for the pointer Nathan. I slapped something together quick 'n dirty but this is not working. The problem is that the call file is only generated when the originating caller stays on the phone until the remote caller hangs up. Suggestions how to fix this much appreciated. extensions.conf (ARB = Automatic Ring Back) exten = 35003,1,Set(ARBFROMEXT=${CALLERIDNUM}) exten = 35003,n,Set(ARBFROMCHAN=${CUT(CHANNEL|-|1)}) exten = 35003,n,Set(ARBTOEXT=${EXTEN}) exten = 35003,n,NoOP(ARBFROMEXT IS ${ARBFROMEXT}) exten = 35003,n,NoOP(ARBFROMCHAN IS ${ARBFROMCHAN}) exten = 35003,n,NoOP(ARBTOEXTIS ${ARBTOEXT}) exten = 35003,n,Dial(ZAP/3/,15,tT) exten = 35003,n,Goto(s-${DIALSTATUS},1) exten = s-NOANSWER,1,Congestion exten = s-BUSY,1,Answer exten = s-BUSY,n,Wait(1) exten = s-BUSY,n,Background(extension) exten = s-BUSY,n,SayNumber(${ARBTOEXT}) exten = s-BUSY,n,Background(is-curntly-busy) exten = s-BUSY,n,Background(press-5) exten = s-BUSY,n,Background(or) exten = s-BUSY,n,Background(hangup-try-again) exten = s-BUSY,n,WaitExten(5) exten = 5,1,DBput(ARB/${CALLERIDNUM}=ON) exten = 5,n,Hangup exten = t,1,Hangup exten = i,1,Hangup exten = h,1,DBGet(temp=ARB/${CALLERIDNUM}) exten = h,n,GotoIf($[${DBGETSTATUS} = FOUND]?found:bail) exten = h,n(found),NoOP(h: ARB IS ON FOR ${CALLERIDNUM}) exten = h,n,DBdel(ARB/${CALLERIDNUM}) exten = h,n,Wait(5) exten = h,n(check),ChanIsAvail(ZAP/3,s) exten = h,n,NoOP(AVAILCHAN IS ${AVAILCHAN}) exten = h,n,NoOP(AVAILORIGCHAN IS ${AVAILORIGCHAN}) exten = h,n,NoOP(AVAILSTATUS IS ${AVAILSTATUS}) exten = h,n,GotoIf($[${AVAILSTATUS} = 2]?busy:callit) exten = h,n(busy),Wait(5) exten = h,n,Goto(check) exten = h,n(callit),NoOP(h: ${ARBTOEXT} IS FREE. START AGI) exten = h,n,DeadAGI(arb.agi,${ARBFROMEXT}|${ARBFROMCHAN}|${ARBTOEXT}) exten = h,n(bail),Hangup * arb.agi - using the automatic ring back name for this feature * #!/usr/bin/php -q ?php ob_implicit_flush(true); set_time_limit(6); //$err=fopen(php://stderr,w); $in = fopen(php://stdin,r); $stdlog = fopen(/var/log/asterisk/my_agi.log, w); function read() { global $in, $debug; $input = str_replace(\n, , fgets($in, 4096)); return $input; } function errlog($line) { global $err; echo VERBOSE \$line\\n; } function write($line) { global $debug; echo $line.\n; } // parse agi headers into array while ($env=read()) { $env = str_replace(\,,$env
Re: [Asterisk-Users] Camp on?
Andreas Sikkema wrote: I believe what you refer to is called Ring Back When Free at least thats how I know it in the UK. Ah yes, no I remember. We called it Automatic Ring Back. So we had normal ARB, or ARB on next use. Over the years, traditional pbx manufacturers have implemented multiple forms of camp-on and ring-back-when-free, and their marketing people tend to invent different terms for the same basic functionality. Implementing either one in asterisk needs to consider other extension config info such as whether the extension has VM or not, whether the call came from the pstn or another local extension, etc. Not likely either form can truly be implemented in a agi script without significantly impacting other pbx functions. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Camp on?
On Thursday 27 April 2006 07:52, Rich Adamson wrote: Not likely either form can truly be implemented in a agi script without significantly impacting other pbx functions. I dunno... off the top of my head: - improve upon the standard extension macro such that any Dial() uses 'g' option, and include an 'h' option in the context - the macro will, upon Dial returning busy and detection of a local extension calling (done with variables) present a press 5 to receive a callback when this user is free, or 1 to go to voicemail or something similar. If a callback's required, save the extension of the calling party to a DB and hang up (I'm describing non-staying-on-the-line camp-on). - the macro will, upon the extension hanging up (using 'g' option), check the DB for a list of extensions waiting for callback and using a callout file, call the first one. - the sip/zap/iax extension's normal context's 'h' extension will do the same. - some housekeeping is required to keep the db clean but that's about it. that's your basic camp-on. while-you-wait campon isn't too different, and camp-on that calls you when they are around (i.e. they didn't answer but you want to know when they're back) is done similarly but when the monitored extension makes a call (done in the standard extension macro) or takes a call that is answered (standard extension looking at HANGUPCAUSE), it then recognizes that the person at the extension is there and the camp-on stuff above is activated. Yes this is all highlevel hand-waving at this point but I don't see where it's really impacting the PBX all that much. This can be done almost exclusively in the dialplan, without any AGIs or additional apps. Maybe a cron job to do the housekeeping and a script ot write out the proper callfiles... but that's it I think. -A. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Camp on?
Andreas Sikkema wrote: I believe this is called camp on. Found some examples on voip-info.org but they assume that you do not hangup the originating phone. Anyone have an idea how to implement this feature as described above? When I worked at Philips there were two variants: - camp on busy - camp on no answer The second one is tricky; after the destination number has been used again, the switch will dial the originator and then the destination and connect the two legs. That sounds a lot like a MeetMe. -- Now accepting new clients in Birmingham, Atlanta, Huntsville, Chattanooga, and Montgomery. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Camp on?
8 Thanks for the pointer Nathan. I slapped something together quick 'n dirty but this is not working. The problem is that the call file is only generated when the originating caller stays on the phone until the remote caller hangs up. Suggestions how to fix this much appreciated. 8 Well... I'm not too familiar with deadagi and its capabilities but it seems to be that having a process continue to run after someone hangs up is not one of asterisk's strengths (for this particular requirement) So, I think it might be better with a two stage process, something like the following; 1) Caller makes a call 2) Status is busy 3) the BUSY handler writes a value to astdb (or by some other method) which contains the extension that was trying to call them. 4) Call is hungup as normal. (or the user is prompted if they would like a call back) - Callee (that was previously busy) hangs up the call 1) The 'h' extension is configured to lookup astdb for the existence of any missed calls. I think this could also be done by allowing dial to continue after hangup. 2) Generate a call file with the values from astdb. Things to watch out for; - Handle multiple values (i.e. more than one person calls them while they are busy) - the delay between them hanging up and the phone ringing again (find a happy medium of not too fast, not too slow). - This function should only be applicable to internal calls, if you make it part of a standard extension macro you should probably allow it to be skipped for external calls. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Camp on?
Hi all, In .nl there is a feature provided by the incumbent that I would like to implement for an internal PBX setup. The incumbents feature does the following (adopted for internal PBX use, so no external/PSTN numbers are used): 1) pick up phone and dial an internal extension 2) if other side is busy, play a message press 5 to get connected once the other side becomes available 3) press 5 on phone 4) hangup 5) wait till phone starts ringing 6) pick up phone 7) other extension is automatically dialed again and you should hear it ring I believe this is called camp on. Found some examples on voip-info.org but they assume that you do not hangup the originating phone. Anyone have an idea how to implement this feature as described above? Thanks and regards, Patrick ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Camp on?
I believe this is called camp on. Found some examples on voip-info.org but they assume that you do not hangup the originating phone. Anyone have an idea how to implement this feature as described above? When I worked at Philips there were two variants: - camp on busy - camp on no answer The second one is tricky; after the destination number has been used again, the switch will dial the originator and then the destination and connect the two legs. -- Andreas Sikkema BBned NV Software EngineerPlaneetbaan 4 +31 (0)23 70743422132 HZ Hoofddorp ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Camp on?
Patrick wrote: I believe this is called camp on. Found some examples on voip-info.org but they assume that you do not hangup the originating phone. Anyone have an idea how to implement this feature as described above? It might be referred to different things in different countries. In Australia, Camp On is known as a feature that allows you to ignore a busy signal and simply keep holding. The feature you are referring to is called a Callback. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Camp on?
I believe what you refer to is called Ring Back When Free at least thats how I know it in the UK. Regards Jon Jon FarmerTelford, Shropshire, UK - Original Message From: Patrick [EMAIL PROTECTED] To: asterisk-users@lists.digium.com Sent: Wednesday, 26 April, 2006 3:25:12 PM Subject: [Asterisk-Users] Camp on? Hi all, In .nl there is a feature provided by the incumbent that I would like to implement for an internal PBX setup. The incumbents feature does the following (adopted for internal PBX use, so no external/PSTN numbers are used): 1) pick up phone and dial an internal extension 2) if other side is busy, play a message press 5 to get connected once the other side becomes available 3) press 5 on phone 4) hangup 5) wait till phone starts ringing 6) pick up phone 7) other extension is automatically dialed again and you should hear it ring I believe this is called camp on. Found some examples on voip-info.org but they assume that you do not hangup the originating phone. Anyone have an idea how to implement this feature as described above? Thanks and regards, Patrick ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Camp on?
I am looking for that feature to implement on Asterisk as well. does anyone know how to implement it/ Thanks! - Original Message - From: Jon Farmer [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Wednesday, April 26, 2006 12:09 PM Subject: Re: [Asterisk-Users] Camp on? I believe what you refer to is called Ring Back When Free at least thats how I know it in the UK. Regards Jon Jon FarmerTelford, Shropshire, UK - Original Message From: Patrick [EMAIL PROTECTED] To: asterisk-users@lists.digium.com Sent: Wednesday, 26 April, 2006 3:25:12 PM Subject: [Asterisk-Users] Camp on? Hi all, In .nl there is a feature provided by the incumbent that I would like to implement for an internal PBX setup. The incumbents feature does the following (adopted for internal PBX use, so no external/PSTN numbers are used): 1) pick up phone and dial an internal extension 2) if other side is busy, play a message press 5 to get connected once the other side becomes available 3) press 5 on phone 4) hangup 5) wait till phone starts ringing 6) pick up phone 7) other extension is automatically dialed again and you should hear it ring I believe this is called camp on. Found some examples on voip-info.org but they assume that you do not hangup the originating phone. Anyone have an idea how to implement this feature as described above? Thanks and regards, Patrick ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Camp on?
Something along the lines of show application retrydial ? [EMAIL PROTECTED] wrote: I am looking for that feature to implement on Asterisk as well. does anyone know how to implement it/ Thanks! - Original Message - From: Jon Farmer [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Wednesday, April 26, 2006 12:09 PM Subject: Re: [Asterisk-Users] Camp on? I believe what you refer to is called Ring Back When Free at least thats how I know it in the UK. -- Now accepting new clients in Birmingham, Atlanta, Huntsville, Chattanooga, and Montgomery. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Camp on?
On 27/04/2006, at 9:15 AM, Eric ManxPower Wieling wrote: Something along the lines of show application retrydial ? [EMAIL PROTECTED] wrote: I am looking for that feature to implement on Asterisk as well. does anyone know how to implement it/ Thanks! - Original Message - From: Jon Farmer [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Wednesday, April 26, 2006 12:09 PM Subject: Re: [Asterisk-Users] Camp on? I believe what you refer to is called Ring Back When Free at least thats how I know it in the UK. Not quite retrydial, that is more like dial the person and keep dialing the person until they pickup with the ability to listen to MOH while you wait. I think what the OP is asking for is call someone, they are busy, press a button to enable callback and as soon as they hang-up from a call the callers handset starts ringing to let them know the called party is now free, when the caller pickups the phone they are connected to the person they were trying to call. I'm not sure how clear my explanation is :S Nathan. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Camp On configuration?
Is there a clever way to camp on an extension in asterisk? What I need is a way to answer my extension (not just a ringing ZAP channel) from any other phone. If I'm in another office and hear my phone ringing, I want to be able to quickly pick it up from that extension. The list revealed the pickupgroup parameter, but that looks like it will pick up any zap channel that's ringing. This call has already been routed to my SIP phone on my desk, and I want to specifically pick that call up. Is that possible? Nik ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users