Moin,
ich wollte mal ein weiteres Feature, Gespräche parken, testen. Nach einigem hin und herprobieren habe ich meine Regex Regel anpassen müssen damit ich die 7XX anwählen konnte anstatt das er über direkt über Zap rausgeht. Lag aber bei mir.
Das einzige was noch nicht geht ist einen Benutzer zu parken über "#700". Über *1 dann 700 und # gehts natürlich auch. Aber finde ich unkonfortabel. Woran liegt das das #700 nicht geht ?
sip.conf
extensions.conf
features.conf
Zur Systeminfo:
OS: Debian/GNU Linux
Kernel: 2.6.29.6
ISDN Karte: Network controller: Cologne Chip Designs GmbH ISDN network controller [HFC-PCI] (rev 02)
Treiber
/proc/zaptel
Asterisk
sterisk 1.4.21.2~dfsg-3 built by pbuilder @ grnetbox on a x86_64 running Linux on 2009-01-04 19:22:45 UTC
ich wollte mal ein weiteres Feature, Gespräche parken, testen. Nach einigem hin und herprobieren habe ich meine Regex Regel anpassen müssen damit ich die 7XX anwählen konnte anstatt das er über direkt über Zap rausgeht. Lag aber bei mir.
Das einzige was noch nicht geht ist einen Benutzer zu parken über "#700". Über *1 dann 700 und # gehts natürlich auch. Aber finde ich unkonfortabel. Woran liegt das das #700 nicht geht ?
sip.conf
Code:
[general]
language=de
port=5060
bindaddr=0.0.0.0
disallow=all
allow=alaw
[200]
type=friend
secret=blah
host=dynamic
callerid="Mitarbeiter xyz" <200>
mailbox=123456@default
extensions.conf
Code:
[default]
; AB abrufen
exten => 999,1,Answer()
exten => 999,n,Wait(2)
exten => 999,n,VoiceMailMain(${CALLERID(num)},s)
exten => 999,n,Hangup()
; Warteschlange Technik
exten => 123456,1,Answer()
exten => 123456,n,Ringing()
exten => 123456,n,Wait(3)
exten => 123456,n,Set(CHANNEL(musicclass)=technik)
exten => 123456,n,Queue(technik,t,,,30)
exten => 123456,n,VoiceMail(91075521,u)
exten => 123456,n,Hangup()
; intern
exten => _[1-6]XX,1,Ringing()
exten => _[1-6]XX,n,Wait(2)
exten => _[1-6]XX,n,Answer()
exten => _[1-6]XX,n,Dial(SIP/${EXTEN},30,tT)
exten => _[1-6]XX,n,VoiceMail(${EXTEN},u)
exten => _[1-6]XX,n,Hangup()
; Konferenzraum
exten => 990,1,Answer()
exten => 990,n,Wait(1)
exten => 990,n,MeetMe(990)
exten => 990,n,Hangup()
; raus
exten => _XXXX.,1,Set(CALLERID(num)=135890)
exten => _XXXX.,n,Set(CALLERID(name)=135890)
exten => _XXXX.,n,Dial(Zap/g1/${EXTEN},,tT)
exten => _XXXX.,n,Hangup()
include => parkedcalls
features.conf
Code:
;
; Sample Call Features (parking, transfer, etc) configuration
;
[general]
parkext => 700 ; What extension to dial to park
parkpos => 701-720 ; What extensions to park calls on. These needs to be
; numeric, as Asterisk starts from the start position
; and increments with one for the next parked call.
context => parkedcalls ; Which context parked calls are in
parkingtime => 45 ; Number of seconds a call can be parked for
; (default is 45 seconds)
;courtesytone = beep ; Sound file to play to the parked caller
; when someone dials a parked call
; or the Touch Monitor is activated/deactivated.
;parkedplay = caller ; Who to play the courtesy tone to when picking up a parked call
; one of: parked, caller, both (default is caller)
;adsipark = yes ; if you want ADSI parking announcements
;findslot => next ; Continue to the 'next' free parking space.
; Defaults to 'first' available
parkedmusicclass=default ; This is the MOH class to use for the parked channel
; as long as the class is not set on the channel directly
; using Set(CHANNEL(musicclass)=whatever) in the dialplan
transferdigittimeout => 3 ; Number of seconds to wait between digits when transferring a call
; (default is 3 seconds)
xfersound = beep ; to indicate an attended transfer is complete
xferfailsound = beeperr ; to indicate a failed transfer
pickupexten = *8 ; Configure the pickup extension. (default is *8)
featuredigittimeout = 2000 ; Max time (ms) between digits for
; feature activation (default is 500 ms)
atxfernoanswertimeout = 15 ; Timeout for answer on attended transfer default is 15 seconds.
; Note that the DTMF features listed below only work when two channels have answered and are bridged together.
; They can not be used while the remote party is ringing or in progress. If you require this feature you can use
; chan_local in combination with Answer to accomplish it.
[featuremap]
blindxfer => *1
disconnect => *0 ; Disconnect (default is *)
;automon => *1 ; One Touch Record a.k.a. Touch Monitor
atxfer => *2 ; Attended transfer
;parkcall => #72 ; Park call (one step parking)
[applicationmap]
; Note that the DYNAMIC_FEATURES channel variable must be set to use the features
; defined here. The value of DYNAMIC_FEATURES should be the names of the features
; to allow the channel to use separated by '#'. For example:
;
; Set(__DYNAMIC_FEATURES=myfeature1#myfeature2#myfeature3)
;
; (Note: The two leading underscores allow these feature settings to be set on
; on the outbound channels, as well. Otherwise, only the original channel
; will have access to these features.)
;
; The syntax for declaring a dynamic feature is the following:
;
;<FeatureName> => <DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>[,<AppArguments>[,MOH_Class]]
;
; FeatureName -> This is the name of the feature used in when setting the
; DYNAMIC_FEATURES variable to enable usage of this feature.
; DTMF_sequence -> This is the key sequence used to activate this feature.
; ActivateOn -> This is the channel of the call that the application will be executed
; on. Valid values are "self" and "peer". "self" means run the
; application on the same channel that activated the feature. "peer"
; means run the application on the opposite channel from the one that
; has activated the feature.
; ActivatedBy -> This is which channel is allowed to activate this feature. Valid
; values are "caller", "callee", and "both". "both" is the default.
; The "caller" is the channel that executed the Dial application, while
; the "callee" is the channel called by the Dial application.
; Application -> This is the application to execute.
; AppArguments -> These are the arguments to be passed into the application.
; MOH_Class -> This is the music on hold class to play while the idle
; channel waits for the feature to complete. If left blank,
; no music will be played.
;
;
; IMPORTANT NOTE: The applicationmap is not intended to be used for all Asterisk
; applications. When applications are used in extensions.conf, they are executed
; by the PBX core. In this case, these applications are executed outside of the
; PBX core, so it does *not* make sense to use any application which has any
; concept of dialplan flow. Examples of this would be things like Macro, Goto,
; Background, WaitExten, and many more.
;
; Enabling these features means that the PBX needs to stay in the media flow and
; media will not be re-directed if DTMF is sent in the media stream.
;
; Example Usage:
;
;testfeature => #9,peer,Playback,tt-monkeys ;Allow both the caller and callee to play
; ;tt-monkeys to the opposite channel
;
;pauseMonitor => #1,self/callee,Pausemonitor ;Allow the callee to pause monitoring
; ;on their channel
;unpauseMonitor => #3,self/callee,UnPauseMonitor ;Allow the callee to unpause monitoring
; ;on their channel
;
Zur Systeminfo:
OS: Debian/GNU Linux
Kernel: 2.6.29.6
ISDN Karte: Network controller: Cologne Chip Designs GmbH ISDN network controller [HFC-PCI] (rev 02)
Treiber
Code:
zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem f8066c00 fifo f50b8000(0x350b8000) IRQ 20 HZ 250
zaphfc: Card 0 configured for TE mode
zaphfc: Card 0 configured for master mode
zaphfc: 1 hfc-pci card(s) in this box.
Registered tone zone 29 (Germany)
/proc/zaptel
Code:
Span 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [TE] layer 1 ACTIVATED (F7)" (MASTER) AMI/CCS
1 ZTHFC1/0/1 Clear (In use)
2 ZTHFC1/0/2 Clear (In use)
3 ZTHFC1/0/3 HDLCFCS (In use)
Asterisk
sterisk 1.4.21.2~dfsg-3 built by pbuilder @ grnetbox on a x86_64 running Linux on 2009-01-04 19:22:45 UTC
Zuletzt bearbeitet: