#########iax.conf
[402]
;Informatica
username=402
type=friend
host=dynamic
secret=secret
context=internacional
pickupgroup=7
callgroup=7
dtmfmode=inband
mailbox=402@default
disallow=all
allow=alaw
allow=gsm
[403]
;Informatica
username=403
type=friend
host=dynamic
secret=secret
context=internacional
callgroup=7
pickupgroup=7
mailbox=403@default
disallow=all
allow=alaw
allow=gsm
[404]
;Informatica
username=404
type=friend
host=dynamic
secret=secret
context=internacional
callgroup=7
pickupgroup=7
mailbox=404@default
disallow=all
allow=alaw
allow=gsm
[405]
;Informatica
username=405
type=friend
host=dynamic
secret=secret
context=internacional
callgroup=7
pickupgroup=7
dtmfmode=inband
mailbox=405@default
disallow=all
allow=alaw
allow=gsm
[408]
;Informatica
username=408
type=friend
host=dynamic
secret=secret
context=internacional
callgroup=7
pickupgroup=7
dtmfmode=inband
mailbox=408@default
disallow=all
allow=alaw
allow=gsm
############################################
#######features.conf
;
; Sample Parking 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)
;transferdigittimeout => 3 ; Number of seconds to wait between digits when transfering a call
;courtesytone = beep ; Sound file to play to the parked caller
; when someone dials a parked call
;xfersound = beep ; to indicate an attended transfer is complete
;xferfailsound = beeperr ; to indicate a failed transfer
;adsipark = yes ; if you want ADSI parking announcements
;findslot => next ; Continue to the 'next' free parking space.
; Defaults to 'first' available
pickupexten = *5 ; Configure the pickup extension. Default is *8
;featuredigittimeout = 500 ; Max time (ms) between digits for
; feature activation. Default is 500
[featuremap]
;blindxfer => #1 ; Blind transfer
;disconnect => *0 ; Disconnect
automon => *1 ; One Touch Record
atxfer => *2 ; Attended transfer
[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)
;
;testfeature => #9,callee,Playback,tt-monkeys ;Play tt-monkeys to
;callee if #9 was pressed
####################################################
------
I did a reload on res_features.so
I also tried to change dtmfmode between rfc2833 and inband, with no sucess...
CLI output:
-- Accepting AUTHENTICATED call from 192.168.4.139:
> requested format = alaw,
> requested prefs = (),
> actual format = alaw,
> host prefs = (alaw|gsm),
> priority = mine
-- Executing [405@internacional:1] Dial("IAX2/401-60", "IAX2/411|20|TtwW") in new stack
-- Called 405
-- Call accepted by 192.168.5.223 (format alaw)
-- Format for call is alaw
-- IAX2/405-61 is ringing
-- ast_get_srv: SRV lookup for '_sip._udp.vono.net.br' mapped to host sbc2.vono.net.br, port 5060
[Feb 25 18:12:20] NOTICE[18076]: chan_iax2.c:7714 socket_process: Rejected connect attempt from 192.168.5.254, request '*5@internacional' does not exist
[Feb 25 18:12:22] NOTICE[18074]: chan_iax2.c:7714 socket_process: Rejected connect attempt from 192.168.5.254, request '*8@internacional' does not exist
penelope*CLI> quit