Hi!
I want to use the default values to start a call transfer (atxfer and blindxfer), but asterisk does not accept my DTMF tones as long as I define more than one char in the features.conf. If I define the single char “#” for blindtransfer and “*” for atxtransfer, I can successfully transfer calls. If I define 2 chars, it just does not accept the tones. I stripped down the config as much as I could but I just cannot find the reason for this.
This works with “*” and “#” to transfer calls:
root@pbx:/etc/asterisk# grep -v '^;' features.conf |grep -v '^$'
[general]
parkext => 70 ; What extension to dial to park
parkpos => 71-79 ; 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
; (default is 45 seconds)
; when someone dials a parked call
; Defaults to 'first' available
pickupexten = *8 ; Configure the pickup extension. Default is *8
; feature activation. Default is 500
[featuremap]
blindxfer => # ; Blind transfer
atxfer => * ; Attended transfer
But the following does not work:
root@pbx:/etc/asterisk# grep -v '^;' features.conf |grep -v '^$'
[general]
parkext => 70 ; What extension to dial to park
parkpos => 71-79 ; 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
; (default is 45 seconds)
; when someone dials a parked call
; Defaults to 'first' available
pickupexten = *8 ; Configure the pickup extension. Default is *8
; feature activation. Default is 500
[featuremap]
blindxfer => #1
atxfer => #2
To be complete, here my extensions.conf:
[code]root@pbx:/etc/asterisk# cat extensions.conf
[general]
static=yes
writeprotect=yes
autofallthrough=yes
; Sip Telefone beginnen mit 2
[sip_phones]
exten => _2X,1,Dial(SIP/${EXTEN},30,Ttr)
exten => _2X,2,Voicemail(${EXTEN})
exten => _2X,102,Voicemail(20)
exten => _2X,103,Hangup
[/code]
And here is my sip.conf:
[code]root@pbx:/etc/asterisk# cat sip.conf
[general]
port = 5060
bindaddr = 0.0.0.0
context = default-calls
srvlookup=yes
language = de
[20]
type=friend
context=sip_phones
secret=XXXXXXXXXX
host=dynamic
dtmfmode=rfc2833
username=20
mailbox=20
[21]
type=friend
context=sip_phones
secret=XXXXXXXXX
host=dynamic
dtmfmode=rfc2833
username=21
mailbox=21
[22]
type=friend
context=sip_phones
secret=XXXXXXXXX
host=dynamic
dtmfmode=rfc2833
username=22
mailbox=22
[/code]
Help will be appreciated!
T.