Versucht wurde ein Anruf von SIP 33 auf SIP 32, und SIP 31 sollte eigentlich ne "feindliche Übernahme" per pickup machen. Es wurde die 9932 gewählt, callgruop und pickupgroup sind auf 1 gesetzt. Am Telefon (Grandstream GXP-2000) kommt sofort Fehler 603 und die 33 ruft munter weiter bei der 32 an.
in der extension.conf:
in der sip.conf:
in der CLI:
features.conf:
Hat jemand eine Idee, wo hier der Wurm drin ist? Was habe ich nun wieder übersehen?
in der extension.conf:
Code:
[sip-lokal]
exten => _99.,1,NoOp(Pickup wird versucht)
exten => _99.,n,Pickup(${EXTEN:2})
...
[default]
exten => 31,hint,SIP/31
exten => 32,hint,SIP/32
exten => 33,hint,SIP/33
in der sip.conf:
Code:
[33]
callerid=Martin 2 <33>
host=dynamic
domain=mx.beauty-case.de
nat=yes
type=peer
user=33
secret=secret
mailbox=33
canreinvite=no
callgroup=1
pickupgroup=1
incominglimit=1
context=sip-lokal
qualify=1000
subscribecontext=default
regexten=33
[31]
callerid=Martin <31>
host=dynamic
domain=mx.beauty-case.de
nat=yes
type=peer
user=31
secret=secret
mailbox=31
canreinvite=no
callgroup=1
pickupgroup=1
incominglimit=1
context=sip-lokal
qualify=yes
subscribecontext=default
regexten=31
;regexten=666 ; When they register, create extension 666
[32]
callerid=Martin mobil <32>
host=dynamic
domain=mx.beauty-case.de
nat=yes
type=peer
user=32
secret=secret
mailbox=31
canreinvite=yes
callgroup=1
pickupgroup=1
incominglimit=1
subscribecontext=default
qualify=1000
context=sip-lokal
regexten=32
in der CLI:
Code:
-- Executing NoOp("SIP/33-6974", "die internen SIP-Rufe") in new stack
-- Executing Dial("SIP/33-6974", "SIP/32") in new stack
-- Called 32
-- SIP/32-5ec7 is ringing
-- Executing NoOp("SIP/31-35b4", "Pickup wird versucht") in new stack
-- Executing Pickup("SIP/31-35b4", "32") in new stack
== Spawn extension (sip-lokal, 9932, 2) exited non-zero on 'SIP/31-35b4'
features.conf:
Code:
;
; 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 = 99 ; 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
Hat jemand eine Idee, wo hier der Wurm drin ist? Was habe ich nun wieder übersehen?