Hola a todos. He instalado Trixbox en un ordenador con una tarjeta X100P (en concreto esta: m.ebay.es/itm/130339643798?ViewItem=&ite…130339643798)
El caso es que las llamadas las entrantes funcionan perfectamente, lo tengo configurado para que la extension 100 reciba las llamadas y se oye muy bien y puedo transferir llamadas y demás. El problema está cuando llamo, que muy muy muy pocas veces funciona (una de cada 20 o 30). Marco el teléfono y cuando el interlocutor descuelga, la comunicación se cuelga. He probado con fijos, móviles, 1403... de todo. He mirado por internet y he puesto lo del cambio de polaridad, he puesto lo del busydetect... nada, no sé qué hacer. Incluso he reinstalado el sistema varias veces, pero nada.
Cuando llamo, el log dice esto:
[Jun 29 16:48:30] VERBOSE[2866] logger.c: == Using SIP RTP TOS bits 184 [Jun 29 16:48:30] VERBOSE[2866] logger.c: == Using SIP RTP CoS mark 5 [Jun 29 16:48:30] VERBOSE[2866] logger.c: == Using SIP VRTP TOS bits 136 [Jun 29 16:48:30] VERBOSE[2866] logger.c: == Using SIP VRTP CoS mark 6 [Jun 29 16:48:30] DEBUG[2852] pbx.c: FONALITY: This thread has already held the conlock, skip locking [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Executing [1403@from-internal:1] Macro("SIP/100-0000004f", "user-callerid,SKIPTTL,") in new stack [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Executing [s@macro-user-callerid:1] Set("SIP/100-0000004f", "AMPUSER=100") in new stack [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/100-0000004f", "0?report") in new stack [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/100-0000004f", "1?Set(REALCALLERIDNUM=100)") in new stack [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Executing [s@macro-user-callerid:4] Set("SIP/100-0000004f", "AMPUSER=100") in new stack [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Executing [s@macro-user-callerid:5] Set("SIP/100-0000004f", "AMPUSERCIDNAME=Leandro") in new stack [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/100-0000004f", "0?report") in new stack [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Executing [s@macro-user-callerid:7] Set("SIP/100-0000004f", "AMPUSERCID=100") in new stack [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Executing [s@macro-user-callerid:8] Set("SIP/100-0000004f", "CALLERID(all)="Leandro" <100>") in new stack [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Executing [s@macro-user-callerid:9] ExecIf("SIP/100-0000004f", "1?Set(CHANNEL(language)=es)") in new stack [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Executing [s@macro-user-callerid:10] GotoIf("SIP/100-0000004f", "1?continue") in new stack [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Goto (macro-user-callerid,s,19) [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Executing [s@macro-user-callerid:19] NoOp("SIP/100-0000004f", "Using CallerID "Leandro" <100>") in new stack [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Executing [1403@from-internal:2] Set("SIP/100-0000004f", "_NODEST=") in new stack [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Executing [1403@from-internal:3] Macro("SIP/100-0000004f", "record-enable,100,OUT,") in new stack [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/100-0000004f", "1?check") in new stack [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Goto (macro-record-enable,s,4) [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Executing [s@macro-record-enable:4] AGI("SIP/100-0000004f", "recordingcheck,20110629-164830,1309358910.147") in new stack [Jun 29 16:48:30] VERBOSE[29636] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck [Jun 29 16:48:31] VERBOSE[29636] logger.c: recordingcheck,20110629-164830,1309358910.147: Outbound recording not enabled [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- AGI Script recordingcheck completed, returning 0 [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-record-enable:5] MacroExit("SIP/100-0000004f", "") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [1403@from-internal:4] Macro("SIP/100-0000004f", "dialout-trunk,1,1403,,") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/100-0000004f", "DIAL_TRUNK=1") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/100-0000004f", "0?sub-pincheck,s,1") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/100-0000004f", "0?disabletrunk,1") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/100-0000004f", "DIAL_NUMBER=1403") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/100-0000004f", "DIAL_TRUNK_OPTIONS=tr") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/100-0000004f", "OUTBOUND_GROUP=OUT_1") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/100-0000004f", "0?nomax") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/100-0000004f", "0?chanfull") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/100-0000004f", "0?skipoutcid") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/100-0000004f", "DIAL_TRUNK_OPTIONS=") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/100-0000004f", "outbound-callerid,1") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/100-0000004f", "0?Set(CALLERPRES()=)") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/100-0000004f", "0?Set(REALCALLERIDNUM=100)") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/100-0000004f", "1?normcid") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Goto (macro-outbound-callerid,s,6) [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/100-0000004f", "USEROUTCID=") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/100-0000004f", "EMERGENCYCID=") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/100-0000004f", "TRUNKOUTCID=") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/100-0000004f", "1?trunkcid") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Goto (macro-outbound-callerid,s,12) [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/100-0000004f", "0?Set(CALLERID(all)=)") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/100-0000004f", "0?Set(CALLERID(all)=)") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/100-0000004f", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/100-0000004f", "1?AGI(fixlocalprefix)") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix [Jun 29 16:48:31] VERBOSE[29636] logger.c: == fixlocalprefix: Dialpattern X. matched. 1403 -> 1403 [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- AGI Script fixlocalprefix completed, returning 0 [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/100-0000004f", "OUTNUM=1403") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/100-0000004f", "custom=DAHDI/G0") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/100-0000004f", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:16] Macro("SIP/100-0000004f", "dialout-trunk-predial-hook,") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/100-0000004f", "") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/100-0000004f", "0?bypass,1") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/100-0000004f", "0?customtrunk") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/100-0000004f", "DAHDI/G0/1403,300,") in new stack [Jun 29 16:48:31] VERBOSE[29636] logger.c: -- Called G0/1403 [Jun 29 16:48:33] VERBOSE[29636] logger.c: -- DAHDI/1-1 answered SIP/100-0000004f [Jun 29 16:48:34] DEBUG[2852] pbx.c: FONALITY: This thread has already held the conlock, skip locking [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Started music on hold, class 'default', on DAHDI/1-1 [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Stopped music on hold on DAHDI/1-1 [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Executing [h@macro-dialout-trunk:1] Macro("SIP/100-0000004f", "hangupcall,") in new stack [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/100-0000004f", "1?skiprg") in new stack [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Goto (macro-hangupcall,s,4) [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Executing [s@macro-hangupcall:4] GotoIf("SIP/100-0000004f", "1?skipblkvm") in new stack [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Goto (macro-hangupcall,s,7) [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/100-0000004f", "1?theend") in new stack [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Goto (macro-hangupcall,s,9) [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Executing [s@macro-hangupcall:9] Hangup("SIP/100-0000004f", "") in new stack [Jun 29 16:48:34] VERBOSE[29636] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/100-0000004f' in macro 'hangupcall' [Jun 29 16:48:34] VERBOSE[29636] logger.c: == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/100-0000004f' [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Hungup 'DAHDI/1-1' [Jun 29 16:48:34] VERBOSE[29636] logger.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/100-0000004f' in macro 'dialout-trunk' [Jun 29 16:48:34] VERBOSE[29636] logger.c: == Spawn extension (from-internal, 1403, 4) exited non-zero on 'SIP/100-0000004f' [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Executing [h@from-internal:1] Macro("SIP/100-0000004f", "hangupcall") in new stack [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/100-0000004f", "1?skiprg") in new stack [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Goto (macro-hangupcall,s,4) [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Executing [s@macro-hangupcall:4] GotoIf("SIP/100-0000004f", "1?skipblkvm") in new stack [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Goto (macro-hangupcall,s,7) [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/100-0000004f", "1?theend") in new stack [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Goto (macro-hangupcall,s,9) [Jun 29 16:48:34] VERBOSE[29636] logger.c: -- Executing [s@macro-hangupcall:9] Hangup("SIP/100-0000004f", "") in new stack [Jun 29 16:48:34] VERBOSE[29636] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/100-0000004f' in macro 'hangupcall' [Jun 29 16:48:34] VERBOSE[29636] logger.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/100-0000004f' [Jun 29 16:48:34] DEBUG[2852] pbx.c: FONALITY: This thread has already held the conlock, skip locking
Tengo línea con Ono, no sé si servirá de algo.
Saludos y muchas gracias