stevie schrieb:Hat jemand von Euch miax schon mit * 1.2.0 zum laufen bekommen?
; The 'modem' channel driver and its subdrivers are
; obsolete, don't load them.
;
noload => chan_modem.so
Andrej schrieb:Kann ich es auch ohne BT Machen ? zb. Kabel oder IR ?
voja schrieb:miax ist es prinzipiell egal ob es eine kabelgebundene serielle Schnittstelle oder eine Bluetooth serielle Schnittstelle anspricht. Wichtig ist, ob das Handy und Datenkabel an der seriellen Schnittstelle überhaupt mitspielt und Audio übertragen kann. Es passt aber auch nicht jeder BT-Dongle und jedes Handy zusammen. Es gibt soweit ich weiß keine Kompatibilitätsliste, wenn Hardware vorhanden ist, einfach ausprobieren.
Bei mir hat miax mit den Dongeln AVM Blue!Fritz 2.0 USB und einem Conceptronics BT-Dongle funktioniert. Jeweils Siemens S65 oder Nokia 6230 als Gegenstelle. Das Epox Dongle für USB 1.1 hat soweit ich mich erinnere auch funktioniert, bin mir aber nicht mehr sicher.
Volker
[root@voice miax]# make
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/add.o gsm/src/add.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/code.o gsm/src/code.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/debug.o gsm/src/debug.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/decode.o gsm/src/decode.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/gsm_create.o gsm/src/gsm_create.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/gsm_decode.o gsm/src/gsm_decode.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/gsm_destroy.o gsm/src/gsm_destroy.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/gsm_encode.o gsm/src/gsm_encode.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/gsm_explode.o gsm/src/gsm_explode.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/gsm_implode.o gsm/src/gsm_implode.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/gsm_option.o gsm/src/gsm_option.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/gsm_print.o gsm/src/gsm_print.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/long_term.o gsm/src/long_term.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/lpc.o gsm/src/lpc.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/preprocess.o gsm/src/preprocess.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/rpe.o gsm/src/rpe.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/short_term.o gsm/src/short_term.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o gsm/src/table.o gsm/src/table.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o iax/md5.o iax/md5.c
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o iax/iax.o iax/iax.c
iax/iax.c: In function 'iax_init':
iax/iax.c:553: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
iax/iax.c: In function '__send_command':
iax/iax.c:780: warning: assignment discards qualifiers from pointer target type
iax/iax.c: In function 'iax_transfer':
iax/iax.c:821: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:824: warning: pointer targets in passing argument 5 of 'send_command' differ in signedness
iax/iax.c: In function 'try_transfer':
iax/iax.c:853: warning: pointer targets in passing argument 5 of 'send_command_transfer' differ in signedness
iax/iax.c: In function 'iax_register':
iax/iax.c:1390: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:1392: warning: pointer targets in passing argument 5 of 'send_command' differ in signedness
iax/iax.c: In function 'iax_reject':
iax/iax.c:1400: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:1401: warning: pointer targets in passing argument 5 of 'send_command_final' differ in signedness
iax/iax.c: In function 'iax_hangup':
iax/iax.c:1408: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:1409: warning: pointer targets in passing argument 5 of 'send_command_final' differ in signedness
iax/iax.c: In function 'iax_send_txcnt':
iax/iax.c:1487: warning: pointer targets in passing argument 5 of 'send_command_transfer' differ in signedness
iax/iax.c: In function 'iax_send_txrej':
iax/iax.c:1495: warning: pointer targets in passing argument 5 of 'send_command_transfer' differ in signedness
iax/iax.c: In function 'iax_send_txaccept':
iax/iax.c:1503: warning: pointer targets in passing argument 5 of 'send_command_transfer' differ in signedness
iax/iax.c: In function 'iax_send_txready':
iax/iax.c:1511: warning: pointer targets in passing argument 5 of 'send_command' differ in signedness
iax/iax.c: In function 'iax_auth_reply':
iax/iax.c:1528: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:1530: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:1532: warning: pointer targets in passing argument 5 of 'send_command' differ in signedness
iax/iax.c: In function 'iax_regauth_reply':
iax/iax.c:1542: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:1551: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:1553: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:1555: warning: pointer targets in passing argument 5 of 'send_command' differ in signedness
iax/iax.c: In function 'iax_dial':
iax/iax.c:1567: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:1568: warning: pointer targets in passing argument 5 of 'send_command' differ in signedness
iax/iax.c: In function 'iax_dialplan_request':
iax/iax.c:1585: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:1586: warning: pointer targets in passing argument 5 of 'send_command' differ in signedness
iax/iax.c: In function 'iax_call':
iax/iax.c:1609: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:1611: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:1617: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:1661: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:1663: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:1665: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:1667: warning: pointer targets in passing argument 3 of 'iax_ie_append_str' differ in signedness
iax/iax.c:1678: warning: pointer targets in passing argument 5 of 'send_command' differ in signedness
iax/iax.c: In function 'iax_net_read':
iax/iax.c:2347: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness
iax/iax.c:2362: warning: pointer targets in passing argument 1 of 'iax_net_process' differ in signedness
iax/iax.c: In function 'iax_quelch_moh':
iax/iax.c:2546: warning: pointer targets in passing argument 5 of 'send_command' differ in signedness
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o iax/iax2-parser.o iax/iax2-parser.c
iax/iax2-parser.c: In function 'iax_ie_append_str':
iax/iax2-parser.c:340: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
iax/iax2-parser.c: In function 'iax_parse_ies':
iax/iax2-parser.c:380: warning: pointer targets in assignment differ in signedness
iax/iax2-parser.c:383: warning: pointer targets in assignment differ in signedness
iax/iax2-parser.c:386: warning: pointer targets in assignment differ in signedness
iax/iax2-parser.c:389: warning: pointer targets in assignment differ in signedness
iax/iax2-parser.c:392: warning: pointer targets in assignment differ in signedness
iax/iax2-parser.c:395: warning: pointer targets in assignment differ in signedness
iax/iax2-parser.c:398: warning: pointer targets in assignment differ in signedness
iax/iax2-parser.c:415: warning: pointer targets in assignment differ in signedness
iax/iax2-parser.c:432: warning: pointer targets in assignment differ in signedness
iax/iax2-parser.c:435: warning: pointer targets in assignment differ in signedness
iax/iax2-parser.c:445: warning: pointer targets in assignment differ in signedness
iax/iax2-parser.c:448: warning: pointer targets in assignment differ in signedness
iax/iax2-parser.c:451: warning: pointer targets in assignment differ in signedness
iax/iax2-parser.c:478: warning: pointer targets in assignment differ in signedness
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o iax/iaxclient_lib.o iax/iaxclient_lib.c
iax/iaxclient_lib.c: In function 'handle_text_event':
iax/iaxclient_lib.c:353: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o dtmf.o dtmf.c
dtmf.c: In function 'dtmf':
dtmf.c:90: warning: incompatible implicit declaration of built-in function 'memset'
dtmf.c:113: warning: incompatible implicit declaration of built-in function 'strchr'
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o oss.o oss.c
oss.c: In function 'oss_audio_in':
oss.c:20: warning: incompatible implicit declaration of built-in function 'memmove'
oss.c: In function 'oss_audio_out':
oss.c:59: warning: incompatible implicit declaration of built-in function 'memmove'
oss.c:66: warning: passing argument 3 of 'gsm_decode' from incompatible pointer type
oss.c: In function 'oss_audio_init':
oss.c:117: warning: incompatible implicit declaration of built-in function 'strcpy'
cc -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2 -c -o bluetooth.o bluetooth.c
bluetooth.c:45: error: syntax error before 'src'
bluetooth.c:45: warning: data definition has no type or storage class
bluetooth.c: In function 'bt_init':
bluetooth.c:54: warning: incompatible implicit declaration of built-in function 'strlen'
bluetooth.c:57: warning: passing argument 1 of 'atoi' makes pointer from integer without a cast
bluetooth.c: At top level:
bluetooth.c:64: error: syntax error before '*' token
bluetooth.c: In function 'rfcomm_connect':
bluetooth.c:66: error: storage size of 'addr' isn't known
bluetooth.c:69: error: 'BTPROTO_RFCOMM' undeclared (first use in this function)
bluetooth.c:69: error: (Each undeclared identifier is reported only once
bluetooth.c:69: error: for each function it appears in.)
bluetooth.c:72: warning: incompatible implicit declaration of built-in function 'memset'
bluetooth.c:83: error: 'channel' undeclared (first use in this function)
bluetooth.c: At top level:
bluetooth.c:93: error: syntax error before '*' token
bluetooth.c: In function 'sco_connect':
bluetooth.c:95: error: storage size of 'addr' isn't known
bluetooth.c:96: error: storage size of 'conn' isn't known
bluetooth.c:97: error: storage size of 'opts' isn't known
bluetooth.c:100: error: 'BTPROTO_SCO' undeclared (first use in this function)
bluetooth.c:103: warning: incompatible implicit declaration of built-in function 'memset'
bluetooth.c: In function 'bt_audio_out':
bluetooth.c:160: warning: incompatible implicit declaration of built-in function 'memmove'
bluetooth.c:167: warning: passing argument 3 of 'gsm_decode' from incompatible pointer type
bluetooth.c: In function 'bt_audio_in':
bluetooth.c:197: warning: incompatible implicit declaration of built-in function 'memmove'
bluetooth.c: In function 'bt_modem_init':
bluetooth.c:242: warning: assignment makes pointer from integer without a cast
bluetooth.c:243: warning: assignment makes pointer from integer without a cast
bluetooth.c:245: warning: incompatible implicit declaration of built-in function 'strstr'
bluetooth.c: In function 'bt_modem':
bluetooth.c:285: warning: incompatible implicit declaration of built-in function 'strlen'
bluetooth.c:289: warning: incompatible implicit declaration of built-in function 'memset'
bluetooth.c: In function 'bt_modem_loop':
bluetooth.c:322: warning: incompatible implicit declaration of built-in function 'strstr'
bluetooth.c:331: warning: incompatible implicit declaration of built-in function 'strcpy'
bluetooth.c:331: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast
bluetooth.c:332: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast
make: *** [bluetooth.o] Error 1
[root@voice miax]#
t3_chris schrieb:habe aus mir unerfindlichen Gründen leider ziemliche Probleme miax auf meiner
Maschine zu kompilieren.
[miax]
type=friend
username=miax
secret=1234
host=dynamic
context=bluetooth-in
disallow=all
allow=gsm
[bluetooth-in]
exten => _.,1,SetCallerID(0${EXTEN:3})
exten => _.,2,Dial(${STEFAN},60,tT)
exten => _.,3,Congestion
exten => _.,102,Busy
asterisk# miax -u miax -p 1234 -r -g -b 00:0a:3a:67:3c:05/00:60:57:06:d5:48/13 -l 9
[email protected]
OK
ATE1
OK
AT+CIND=?
+CIND: ("call",(0,1)),("service",(0,1)),("call_setup",(0-3))
OK
BT modem ready.
Miax: ready.
Scheduling retransmission 9
AT+CLIP=1
OK
AT+CMER=3,0,0,1
OK
Miax: Registration accepted
refreshing registration miax:1234@localhost
chaos2000 schrieb:@psuter
@all
wie bekomme ich eigendlich die richtige CallerID/CallerIDNUM bei eingehenden Anrufen angezeigt?
exten => _.,1,SetCallerID(0${EXTEN:3})
SetCallerID(00${EXTEN:1})
./miax -u miax -p miax -s [server-ip] -r -l 9 -g -b [mac-usbstick]/[mac-handy] -g
[email protected]
Can't connect RFCOMM channel: Resource temporarily unavailable
Miax: cannot initialize modem device!