hola: Tengo mi centralita asterisk-freepbx con las extensiones a travez del ata PAP2T-NA conectadas a los telefonos analogos. El detalle es que tengo problemas con utilizar la tecla flash o transfer en los telefonos analogos, ejemplo: si marca la extencion 134 a la 133 y la 133 quiere transferirla a la ext.116 oprimiendo flash+116......entra la llamada, en lo que la 134 escucha la musica de espera pero cuando cuelga la ext 133 para dejar conectados a la 134y 116 se regresa la llamada sonando la extension 133 sacando a la 116 por lo que se quedan hablando la 134 y 133.....
La combinacion de teclas ##+No.ext y *2+No.ext funcionan perfectamente, pero mi jefe quiere que todas las extensiones usen la tecla transfer y no la combinacion de teclas ya que asi es mas "facil" alguien me puede orientar, aqui les dejo la ultima parte del cli de lo que hace, que es cuando la extension 133 cuelga para dejar enlazados a la 134 con 116 pero esto no logra hacerse ya que a la hora de colgar la 133; se regresa la llamada y vuelve a sonar la 133 cortando o sacando a la 116.
-- Executing [s@macro-dial-one:27] GotoIf("SIP/133-0000007b", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/133-0000007b", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/133-0000007b", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/133-0000007b", "DB(CALLTRACE/116)=133") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/133-0000007b", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/133-0000007b", "D_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/133-0000007b", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/133-0000007b", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/133-0000007b", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/133-0000007b", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/133-0000007b", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/133-0000007b", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/133-0000007b", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("SIP/133-0000007b", "0?godial") in new stack
-- Executing [s@macro-dial-one:39] Set("SIP/133-0000007b", "CONNECTEDLINE(name,i)=IT Jesus Reyes") in new stack
-- Executing [s@macro-dial-one:40] Set("SIP/133-0000007b", "CONNECTEDLINE(num)=116") in new stack
-- Executing [s@macro-dial-one:41] Set("SIP/133-0000007b", "D_OPTIONS=TtrI") in new stack
-- Executing [s@macro-dial-one:42] Dial("SIP/133-0000007b", "SIP/116,,TtrI") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/116
-- Connected line update to SIP/133-0000007b prevented.
-- SIP/116-0000007c is ringing
== Spawn extension (macro-dial-one, s, 42) exited non-zero on 'SIP/133-0000007b' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 14) exited non-zero on 'SIP/133-0000007b' in macro 'exten-vm'
== Spawn extension (from-internal, 116, 2) exited non-zero on 'SIP/133-0000007b'
-- Executing [h@from-internal:1] Hangup("SIP/133-0000007b", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/133-0000007b'
-- Stopped music on hold on SIP/134-00000079
-- Executing [h@macro-dial-one:1] Macro("SIP/134-00000079", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/134-00000079", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/134-00000079", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("SIP/134-00000079", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/134-00000079' in macro 'hangupcall'
== Spawn extension (macro-dial-one, h, 1) exited non-zero on 'SIP/134-00000079'
== Spawn extension (macro-dial-one, s, 42) exited non-zero on 'SIP/134-00000079' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 14) exited non-zero on 'SIP/134-00000079' in macro 'exten-vm'
== Spawn extension (from-internal, 133, 2) exited non-zero on 'SIP/134-00000079'
La combinacion de teclas ##+No.ext y *2+No.ext funcionan perfectamente, pero mi jefe quiere que todas las extensiones usen la tecla transfer y no la combinacion de teclas ya que asi es mas "facil" alguien me puede orientar, aqui les dejo la ultima parte del cli de lo que hace, que es cuando la extension 133 cuelga para dejar enlazados a la 134 con 116 pero esto no logra hacerse ya que a la hora de colgar la 133; se regresa la llamada y vuelve a sonar la 133 cortando o sacando a la 116.
-- Executing [s@macro-dial-one:27] GotoIf("SIP/133-0000007b", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/133-0000007b", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/133-0000007b", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/133-0000007b", "DB(CALLTRACE/116)=133") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/133-0000007b", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/133-0000007b", "D_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/133-0000007b", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/133-0000007b", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/133-0000007b", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/133-0000007b", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/133-0000007b", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/133-0000007b", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/133-0000007b", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("SIP/133-0000007b", "0?godial") in new stack
-- Executing [s@macro-dial-one:39] Set("SIP/133-0000007b", "CONNECTEDLINE(name,i)=IT Jesus Reyes") in new stack
-- Executing [s@macro-dial-one:40] Set("SIP/133-0000007b", "CONNECTEDLINE(num)=116") in new stack
-- Executing [s@macro-dial-one:41] Set("SIP/133-0000007b", "D_OPTIONS=TtrI") in new stack
-- Executing [s@macro-dial-one:42] Dial("SIP/133-0000007b", "SIP/116,,TtrI") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/116
-- Connected line update to SIP/133-0000007b prevented.
-- SIP/116-0000007c is ringing
== Spawn extension (macro-dial-one, s, 42) exited non-zero on 'SIP/133-0000007b' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 14) exited non-zero on 'SIP/133-0000007b' in macro 'exten-vm'
== Spawn extension (from-internal, 116, 2) exited non-zero on 'SIP/133-0000007b'
-- Executing [h@from-internal:1] Hangup("SIP/133-0000007b", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/133-0000007b'
-- Stopped music on hold on SIP/134-00000079
-- Executing [h@macro-dial-one:1] Macro("SIP/134-00000079", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/134-00000079", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/134-00000079", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("SIP/134-00000079", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/134-00000079' in macro 'hangupcall'
== Spawn extension (macro-dial-one, h, 1) exited non-zero on 'SIP/134-00000079'
== Spawn extension (macro-dial-one, s, 42) exited non-zero on 'SIP/134-00000079' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 14) exited non-zero on 'SIP/134-00000079' in macro 'exten-vm'
== Spawn extension (from-internal, 133, 2) exited non-zero on 'SIP/134-00000079'
Comentario