undrhil.1528785@bloglines.com
2006-Jun-10 17:41 UTC
[Asterisk-Users] Question setting up a "bat phone" extension.
Basically, I am looking to set up an extension which will be used as a "help-line". I want it to function kind of like the bat phone from the old Batman series, where Commissioner Gordon would pick up the extension in his office and it would ring the phone back at Wayne's mansion. Is there a way to duplicate this functionality with Asterisk? I just need asterisk to auto-dial an extension when I go off-hook on another one. For instance, I have two SIP phones, Brian and Susan. When Susan goes off-hook, it should automatically ring Brian, without any other activity taking place. If Brian goes off-hook, it acts like a normal extension. Any ideas? Undrhil
James Harper
2006-Jun-10 18:17 UTC
[Asterisk-Users] Question setting up a "bat phone" extension.
Easy to do on the Linksys PAP2, if that helps. The functionality probably depends on the make and model of the phone... maybe if you gave those details as well? James> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of undrhil.1528785@bloglines.com > Sent: Sunday, 11 June 2006 10:42 > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] Question setting up a "bat phone" extension. > > Basically, I am looking to set up an extension which will be used as a > "help-line". > I want it to function kind of like the bat phone from the old Batman > series, > where Commissioner Gordon would pick up the extension in his officeand it> would ring the phone back at Wayne's mansion. Is there a way toduplicate> this functionality with Asterisk? > > I just need asterisk to auto-dial an > extension when I go off-hook on another one. For instance, I have twoSIP> phones, Brian and Susan. When Susan goes off-hook, it should > automatically > ring Brian, without any other activity taking place. If Brian goesoff-> hook, > it acts like a normal extension. > > Any ideas? > > Undrhil > _______________________________________________ > --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
Eric "ManxPower" Wieling
2006-Jun-10 19:02 UTC
[Asterisk-Users] Question setting up a "bat phone" extension.
It's called "hotline" or Private Line Auto Ringdown (PLAR). SIP: It's a function of the phone, look for "hotline" in phone docs Zap: immediate=yes, runs exten => when phone is picked up Cisco and others: Look up PLAR undrhil.1528785@bloglines.com wrote:> Basically, I am looking to set up an extension which will be used as a "help-line". > I want it to function kind of like the bat phone from the old Batman series, > where Commissioner Gordon would pick up the extension in his office and it > would ring the phone back at Wayne's mansion. Is there a way to duplicate > this functionality with Asterisk? > > I just need asterisk to auto-dial an > extension when I go off-hook on another one. For instance, I have two SIP > phones, Brian and Susan. When Susan goes off-hook, it should automatically > ring Brian, without any other activity taking place. If Brian goes off-hook, > it acts like a normal extension.-- Now accepting new clients in Birmingham, Atlanta, Huntsville, Chattanooga, and Montgomery.
James Harper
2006-Jun-11 03:52 UTC
[Asterisk-Users] Question setting up a "bat phone" extension.
> James Harper wrote: > > Easy to do on the Linksys PAP2, if that helps. The functionality > > probably depends on the make and model of the phone... maybe if yougave> > those details as well? > > > > James > > > Fantastic, this may solve the problem In the mail I've just posted > (which hasnt' appeared yet). > I don't remember seeing this function in a PAP2, is it fairly trivialto> set up?My dialplan in the pap2 is: (<:0>S0) Which causes it to dial a '0' to asterisk as soon as I gets picked up. In my asterisk dialplan it then does a DISA to another context, which means Asterisk is doing all the dialplan stuff. For what I want in a dialplan, I could have configured it in the pap2 but I didn't want to learn it. I think I'm at that age where everything new I learn means something else gets overwritten :) My extensions.conf looks like: [pap2_in] exten => 0,1,Answer exten => 0,n,DISA(no-password|internal) exten => t,1,Congestion() Ideally I would have liked the pap2 to have done the same as 'immediate' when talking about fxo, capi, misdn, etc, but I couldn't get it to automatically dial nothing. A '0' was the best I could do. If anyone knows how to put it into immediate mode to come into asterisk as an 's' extension, I'd love to hear about it!> Will I need a particular firmware version?Not sure. I'm using 3.1.3(LS), but if I remember correctly I had this working on a prior firmware too... Good luck. James
James Harper
2006-Jun-11 05:05 UTC
[Asterisk-Users] Question setting up a "bat phone" extension.
> On Sun, 2006-06-11 at 20:52 +1000, James Harper wrote: > > Ideally I would have liked the pap2 to have done the same as'immediate'> > when talking about fxo, capi, misdn, etc, but I couldn't get it to > > automatically dial nothing. A '0' was the best I could do. If anyone > > knows how to put it into immediate mode to come into asterisk as an's'> > extension, I'd love to hear about it! > > > sip targets arent limited to numerics, have you tried to dial an 's' > instead of '0'? That is valid in sip, I just dont know if the pap2 > supports it.Hey... look at that ... it works! Cool :) So... asterisk can't tell the difference between 's' for 'no extension dialled', and when 's' was actually the name of the extension dialled... is this the expected behaviour? More importantly, is this a security risk in any way? I can't think of a situation where it would be... Even more importantly, could this change in a future version? Thanks James