Pickup eines Gesprächs von einer Rufgruppe

The_Terminator

Neuer User
Mitglied seit
21 Nov 2008
Beiträge
13
Punkte für Reaktionen
0
Punkte
0
Hallo,

ich habe:

2x Aastra 57i
und ein paar Softclients
Asterisk 1.4.17

SIP.conf:
[general]
nat=no
limitonpeers = yes
notifyringing = yes
language=de
allowsubscribe = yes
notifyhold = yes


[nst21]
type=peer
context=int-sip
host=dynamic
mailbox=21
subscribecontext=int-sip
call-limit = 10
callgroup = 1
pickupgroup = 1

[nst22]
type=peer
context=int-sip
host=dynamic
secret=22
mailbox=22
subscribecontext=int-sip
call-limit = 10
callgroup = 1
pickupgroup = 1

[nst23]
username=nst23
type=friend
context=int-sip
host=dynamic
mailbox=21
subscribecontext=int-sip
call-limit = 10
callgroup = 1
pickupgroup = 1

Folgendes Problem:
Wie kann ich von einem Telefon (Aastra 57i) wenn ich die entsprechende BLF Taste drücke einen Ruf von einer Gruppe annehmen?

Die Taste ist einwandenfrei Programmiert, bei internen gesprächen Funktioniert die Übernahme Perfekt mit

exten => _**XX,1,Pickup(${EXTEN:2})

im Dialplan.

Nun aber kommt ein Ruf von Extern herein (CAPI) und Klingelt auf einer Rufgruppe (ich hoffe ich habe es so richtig gelöst):

[capi-in]
exten => 30,1,Goto(int-sip,30,2)
exten => 30,n,Answer
exten => 30,n,Hangup

[int-sip]
exten => 30,1,Answer
exten => 30,n,Dial(SIP/nst22&SIP/nst23,30)
exten => 30,n,GotoIf([cause_${Dialstatus} = "cause_ANSWER"]?Goto(Capi-in,30,2)|1)
exten => 30,n,Hangup

Damit Ruf Asterisk wenn ein Anruf von 30 auf dem ISDN kommt (hängt als Unteranlage an einer Compfort Pro) die beiden SIP Telefone an (ein Softphone ein Hardphone)

doch wenn ich nun versuche den Ruf mit der Programmierten Taste an dem nicht in der Rufgruppe klingelden Telefon zu "Pickupen" brint er mit nur auf der console:

[Nov 21 23:00:58] NOTICE[7742]: app_directed_pickup.c:159 pickup_exec: No target channel found for 22.

Versucht er hier einen Ruf auf die Nummer 22 aufzunehmen? Denn wenn ich es ändere das es nst22 heißt bringt er die gleiche Fehlermeldung wie kann ich es nun drehen das er mit die Rufe auf nst22 aufnimmt und nicht auf die Rufnummer 22?

danke im vorraus
The_Terminaor
 
So nach 4 Tagen immer noch keine Lösung in Sicht hat denn keine von euch ne Idee wie es gehen könnte?

mfg
The_Terminator
 
evtl.

Hilft das:

Nimm "exten => _**XX,1,PickupChan(SIP/${EXTEN:-2:2})"
statt deinem pickup, denn so klappts bei mir.

Und schreib in deiner sip.conf noch "user=22" rein,
so dass * auch weiss wo er hingreifen muss.
Uuund vielleicht auch das "nst" aus "nst22" rausnehmen.

Das waren nur so meine Ideen...

Gruß
 
aber...

PickupChan ist doch ein Feature von Bristuff oder?
Kann ich Bristuff einfach so installieren und weiterhin chancapi für meine ISDN verbindungen verwenden oder gibt es da Probleme?

mfg
The_Terminator
 
So verzweifle nun an der Bristuff installation....

Code:
make -C /lib/modules/2.6.24-22-server/build SUBDIRS=/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc clean
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-22-server'
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-22-server'
rm -f Module.symvers
make -C /lib/modules/2.6.24-22-server/build SUBDIRS=/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc HOTPLUG_FIRMWARE= modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-22-server'
  CC [M]  /home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.o
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:27:20: error: zaptel.h: No such file or directory
In file included from /home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:28:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.h:274: error: ‘ZT_CHUNKSIZE’ undeclared here (not in a function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.h:282: error: field ‘span’ has incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.h:283: error: array type has incomplete element type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘hfc_shutdownCard’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:134: error: implicit declaration of function ‘zt_unregister’
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘hfc_brec’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:384: error: implicit declaration of function ‘zt_ec_chunk’
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: At top level:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:546: warning: return type defaults to ‘int’
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:546: warning: function declaration isn’t a prototype
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘ZAP_IRQ_HANDLER’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:547: error: ‘dev_id’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:547: error: (Each undeclared identifier is reported only once
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:547: error: for each function it appears in.)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:562: warning: ‘return’ with no value, in function returning non-void
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:577: warning: ‘return’ with no value, in function returning non-void
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:605: warning: ‘return’ with no value, in function returning non-void
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:719: error: ‘ZT_FLAG_RUNNING’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:724: error: implicit declaration of function ‘zt_transmit’
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:758: error: implicit declaration of function ‘zt_receive’
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘zthfc_open’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:777: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:784: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘zthfc_close’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:792: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:800: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘zthfc_startup’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:820: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:827: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:827: error: ‘ZT_FLAG_RUNNING’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:830: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:830: error: ‘ZT_FLAG_HDLC’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:831: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:831: error: ‘ZT_FLAG_BRIDCHAN’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:833: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: At top level:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:861: warning: ‘struct zt_lineconfig’ declared inside parameter list
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:861: warning: its scope is only this definition or declaration, which is probably not what you want
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘zthfc_spanconfig’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:862: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:862: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘zthfc_initialize’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:870: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_span’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:870: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_span’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:870: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_span’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:870: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_span’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:870: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_span’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:870: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_span’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:899: error: ‘ZT_LAW_ALAW’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:900: error: ‘ZT_CONFIG_AMI’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:900: error: ‘ZT_CONFIG_CCS’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:906: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_chan’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:906: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_chan’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:906: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_chan’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:906: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_chan’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:906: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_chan’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:906: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_chan’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_EM’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_CLEAR’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_FXSLS’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_FXSGS’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_FXSKS’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_FXOLS’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_FXOGS’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_FXOKS’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_CAS’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_SF’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:913: error: implicit declaration of function ‘zt_register’
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘hfc_findCards’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:982: warning: cast to pointer from integer of different size
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:1009: error: ‘hfc_interrupt’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:1009: error: ‘ZAP_IRQ_SHARED’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: At top level:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:1147: error: expected ‘)’ before string constant
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:1148: error: expected ‘)’ before string constant
make[2]: *** [/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.o] Error 1
make[1]: *** [_module_/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-22-server'
make: *** [modules] Error 2
make -C /lib/modules/2.6.24-22-server/build SUBDIRS=/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc HOTPLUG_FIRMWARE= modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-22-server'
  CC [M]  /home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.o
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:27:20: error: zaptel.h: No such file or directory
In file included from /home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:28:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.h:274: error: ‘ZT_CHUNKSIZE’ undeclared here (not in a function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.h:282: error: field ‘span’ has incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.h:283: error: array type has incomplete element type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘hfc_shutdownCard’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:134: error: implicit declaration of function ‘zt_unregister’
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘hfc_brec’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:384: error: implicit declaration of function ‘zt_ec_chunk’
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: At top level:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:546: warning: return type defaults to ‘int’
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:546: warning: function declaration isn’t a prototype
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘ZAP_IRQ_HANDLER’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:547: error: ‘dev_id’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:547: error: (Each undeclared identifier is reported only once
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:547: error: for each function it appears in.)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:562: warning: ‘return’ with no value, in function returning non-void
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:577: warning: ‘return’ with no value, in function returning non-void
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:605: warning: ‘return’ with no value, in function returning non-void
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:719: error: ‘ZT_FLAG_RUNNING’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:724: error: implicit declaration of function ‘zt_transmit’
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:758: error: implicit declaration of function ‘zt_receive’
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘zthfc_open’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:777: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:784: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘zthfc_close’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:792: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:800: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘zthfc_startup’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:820: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:827: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:827: error: ‘ZT_FLAG_RUNNING’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:830: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:830: error: ‘ZT_FLAG_HDLC’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:831: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:831: error: ‘ZT_FLAG_BRIDCHAN’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:833: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: At top level:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:861: warning: ‘struct zt_lineconfig’ declared inside parameter list
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:861: warning: its scope is only this definition or declaration, which is probably not what you want
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘zthfc_spanconfig’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:862: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:862: error: dereferencing pointer to incomplete type
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘zthfc_initialize’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:870: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_span’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:870: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_span’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:870: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_span’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:870: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_span’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:870: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_span’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:870: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_span’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:899: error: ‘ZT_LAW_ALAW’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:900: error: ‘ZT_CONFIG_AMI’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:900: error: ‘ZT_CONFIG_CCS’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:906: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_chan’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:906: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_chan’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:906: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_chan’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:906: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_chan’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:906: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_chan’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:906: error: invalid application of ‘sizeof’ to incomplete type ‘struct zt_chan’ 
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_EM’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_CLEAR’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_FXSLS’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_FXSGS’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_FXSKS’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_FXOLS’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_FXOGS’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_FXOKS’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_CAS’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:909: error: ‘ZT_SIG_SF’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:913: error: implicit declaration of function ‘zt_register’
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: In function ‘hfc_findCards’:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:982: warning: cast to pointer from integer of different size
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:1009: error: ‘hfc_interrupt’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:1009: error: ‘ZAP_IRQ_SHARED’ undeclared (first use in this function)
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c: At top level:
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:1147: error: expected ‘)’ before string constant
/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.c:1148: error: expected ‘)’ before string constant
make[2]: *** [/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc/zaphfc.o] Error 1
make[1]: *** [_module_/home/pbx/src/bristuff-0.3.0-PRE-1y-u/zaphfc] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-22-server'
make: *** [modules] Error 2
****************************************************
Press <Enter> to continue, or <CTRL> + <C> to abort.
****************************************************

Edit Guard-X: Bitte nächstes mal Code- statt Quote-Tags verwenden!

ich glaub das dürfte das wichtigste sein ;) ne im ernst ich weiß mittlerweile nimma weiter, weil das das in der Anleitung unter http://www.ip-phone-forum.de/showthread.php?t=155067&highlight=howto steht hab i durchgegangen und bei dem Punkt wo Bristuff über das skript "install.sh" installiert wird bleibt es an der oben genannten stelle hängen. den Header für 2.6.24-22-server hab i und ihn auch nach linux2.6 verlinkt.

Bitte nun um euren Rat
danke
The_Terminator
 
So habe nun versucht bristuff auf einen frisch aufgesetzten Ubuntu Server und einem Debian (neuste Netinstall Version) zu Installieren immer der gleiche fehler was mache ich falsch? lege ich vllt den Symlink zu den Headern verkehrt an ?

cd /usr/src/

ln -s linux-headers-2.6.24-22-server linux-2.6

so mache ich es immer so das dann im Ordner /usr/src folgenden steht:

lrwxrwxrwx 1 root src 40 2008-12-08 17:02 linux-2.6 -> /usr/src/linux-headers-2.6.24-22-server

und so steht es ja ausführlich beschrieben zb. in dem Tutorial (da Ubuntu auf Debian basiert dürfte es dafür auch gültig sein.

Die Packete sind installert und nun weiß ich mir auch keinen Reim mehr dara.uf
 
So, habe nun Asterisk 1.4 Bristuffed am laufen. Der Befehl mit dem es wohl am ehesten gehen könnte ist DPickup:

-= Info about application 'DPickup' =-

[Synopsis]
Directed Call Pickup

[Description]
Pickup(extension[@context][&extension2@context...]): This application can pickup any ringing channel
that is calling the specified extension. If no context is specified, the current
context will be used. If you use the special string "PICKUPMARK" for the context parameter, for example
10@PICKUPMARK, this application tries to find a channel which has defined a channel variable with the same content
as "extension".

So sieht meine Extensions.conf aus:

exten => _**XX,1,DPickup(${EXTEN:2})
exten => _**XX,n,DPickup(${EXTEN:2}@int-sip)
exten => _**XX,n,DPickup(${EXTEN:2}@capi-in)

wenn ich allerdings ,mit **22 einen Ruf aufnehmen will (der vom ISDN kommt, CAPI-IN Rufnummer 30) geht es nicht.

[Dec 16 17:50:54] NOTICE[6066]: app_directed_pickup.c:159 pickup_exec: No target channel found for 22.

Hier nochmal der Rest des Rufnummernplans vllt. liegt der Hund hierin begraben, bei der Trickserei das auf SIP rufnummer 30 die Telefone 22 und 23 klingeln.
[capi-in]
exten => 30,1,Goto(int-sip,30,2)
exten => 30,n,Answer
exten => 30,n,Hangup

[int-sip]
exten => 30,1,Answer
exten => 30,n,Dial(SIP/22&SIP/23,30)
exten => 30,n,GotoIf([cause_${Dialstatus} = "cause_ANSWER"]?Goto(Capi-in,30,2)|1)
exten => 30,n,Hangup

exten => _2X,1,Answer
exten => _2X,n,Dial(SIP/${EXTEN},30)
exten => _2X,n,Macro(dial-result,22)
exten => _2X,n,Hangup
 
So habe es nun auch erfolglos mit PickupChan, PickUp, Pickup und DPickup probiert, nichts geht, in anderen Foren ( http://forums.whirlpool.net.au/forum-replies-archive.cfm/1037438.html oder http://freepbx.org/trac/ticket/2510 ) vorgeschlagene Lösungen haben mir auch nicht viel weitergeholfen, es ist wie vorher Intern ist Pickuppen überhaupt kein Problem, aber sobald ein Gespäch von Extern kommt geht es nicht mehr.

EDIT:


Nach einer Änderung in der extensions.conf klappt nun das übernehmen eines Gesprächst durch wählen von **[ext], auch von Extern:

[capi-in]
exten => 30,1,Goto(int-sip,21,2)
exten => 30,n,Answer
exten => 30,n,Hangup

[int-sip]
]exten => _2X,1,Answer
exten => _2X,n,Dial(SIP/${EXTEN},30)
exten => _2X,n,Hangup

exten => _**XX,1,DPickup(${EXTEN:2})
exten => _**XX,n,DPickup(${EXTEN:2}@int-sip)
exten => _**XX,n,DPickup(${EXTEN:2}@capi-in)

Allerdings geht nun der Paralleruf der vorher über Dial(SIP/21&SIP/23) realisiert war nicht mehr wie kann ich das beheben oder anders gestallten damit die Telefone wieder gleichzeitig klingeln?

danke im vorraus
The_Terminator
 
Hmm vielleicht habe ich mich etwas verfahren in meiner Vorgehensweise, deshalb einfach noch mal alles ganz von vorne ohne irgendwelche vorkonstrutionen im Dialplan, ich will, wenn ein Anruf herreinkommt, das mehrere Telefone gleichzeitig klingeln und ich aber auch einen Pickup auf ein bestimmtes Telefon machen kann um mir diesen Parallelruf zu holen.

danke im Vorraus
 
Entschuldigung wenn ich diesen alten Thread noch mal ausgrab aber es klappt immer noch nicht aber ich fasse es noch einmal zusammen was jetzt geht und was nicht


[capi-in]exten => 30,1,Dial(SIP/21&SIP/22)
exten => 30,n,Answer
exten => 30,n,Hangup

[int-sip]

exten => 22,hint,SIP/22
exten => 21,hint,SIP/21



exten => _**XX,1,Set(GLOBAL(PICKUPMARK)=${EXTEN:2})
exten => _**XX,n,DPickup(${EXTEN:2}@PICKUPMARK)

Beide Telefone sind Aastra 57i

Also BLF geht prima, wenn ein Anruf von außen (ist Unteranlage, deswegen MSN 30) dann läuten beide Telefone 22 und 21 wenn ich jetzt mit **21 (am Telefon 22) nimmt er das Gespräch auf, wenn ich es aber über die BLF Taste versuche, dann Ruf mir das Telefon nur 30 an und bekommt logischweiße Besetzt. Was mache ich falsch ?

Direkt Abnehmen ist bei dem Telefon aktviert und Prefix ist **


danke
The_Terminator
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
244,839
Beiträge
2,219,264
Mitglieder
371,543
Neuestes Mitglied
Brainbanger
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.