I'm trying to find a way to generate an 'internal extensions' tonelist but I can't seem to find anything on how to do this.  My idea was to start a Playtones(intercom) tonelist and not indicate ringing to the line (dead air).  But then, somehow StopPlayTones needs to be run once the ringing telephone picks up.
 
This seems like a dirty way to do this.  I envision an option to the Dial cmd's option 'r', where you could specify a ringtone to play if not the default, i.e.
In indications.conf:
 
[us]
...
...
ring = 400+450/400,0/200,400+450/400,0/2000
intercom = 400+450/400,0/200,400+450/400,0/2000 ;FRESHLY ADDED AND STOLEN FROM [uk] section.
 
1001,1,Dial(SIP/1001,20,r{intercom})
 
For what its worth, I'm trying to use the standard UK ringtones for an internal extension.  This behavior mimics several different PBXs and KSUs on the market.
 
 
Does anyone have something like this working?
 
Chris Coulthurst
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

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

Reply via email to