La segunda llamada comunica

Ilmunain

Joined
Nov 5, 2010
Messages
5
Likes
0
Points
0
#1
Hola a todos.

Estoy empezando en esto de elastix y me ha surgido algún problemilla que creo es de configuración. He leido "Elastix a ritmo de Merengue" pero no he encontrado ninguna referencia al tema en cuestión..

Vereis tengo una instalación de Elastix 2.0.3 con una tarjeta de primario. En principio las llamadas salen correctamente y las extensiones funcionan bien.

Solo tengo configurada una ruta entrante con un unico DDI que va a un grupo de timbrado y para las llamadas entrantes la primera entra correctamente, pero las siguientes comunican hasta que finaliza la primera.

Lo que yo quiero es que las siguientes llamadas suenen en el resto de telefonos del grupo de timbrado.

Por cierto el Ring Strategy del grupo de timbrado lo tengo puesto en "Sonar Todos"

Gracias por cualquier ayuda prestada.

Un saludo a todos los miembros de esta comunidad
 

mm.alpha2k

Joined
Jun 19, 2010
Messages
165
Likes
0
Points
0
#2
Hola podrias pegar la salida del Cli, cuando sucede esto para ver que esta sucediendo.
 

Ilmunain

Joined
Nov 5, 2010
Messages
5
Likes
0
Points
0
#3
Gracias por la respuesta, adjunto la parte del cli que me ha permitido copiar. Indico donde empieza la segunda llamada.

Si esto sale bien contad con un nuevo miembro de esta comunidad. :cheer:
........
-- <DAHDI/1-1>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("DAHDI/1-1", "SIP/4021&SIP/4022&SIP/4023&SIP/4024&SIP/4025,20,trM(auto-blkvm)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called 4021
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called 4024
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- SIP/4021-00000039 is ringing
-- SIP/4024-0000003a is ringing
-- Accepting call from '682****12' to '945****40' on channel 0/2, span 1
-- Executing [945****40@from-pstn:1] Set("DAHDI/2-1", "__FROM_DID=945****40") in new stack
-- Executing [945****40@from-pstn:2] Gosub("DAHDI/2-1", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/2-1", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("DAHDI/2-1", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("DAHDI/2-1", "") in new stack
-- Executing [945****40@from-pstn:3] ExecIf("DAHDI/2-1", "1 ?Set(CALLERID(name)=682****12)") in new stack
-- Executing [945****40@from-pstn:4] Set("DAHDI/2-1", "__CALLINGPRES_SV=allowed") in new stack
-- Executing [945****40@from-pstn:5] Set("DAHDI/2-1", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [945****40@from-pstn:6] Goto("DAHDI/2-1", "ext-group,4020,1") in new stack
-- Goto (ext-group,4020,1)
-- Executing [4020@ext-group:1] Macro("DAHDI/2-1", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("DAHDI/2-1", "AMPUSER=682****12") in new stack !!!!!!!!!!!Este es el número de teléfono que ha realizado la segunda llamada y da comunicando.
-- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/2-1", "1?Set(REALCALLERIDNUM=682****12)") in new stack
-- Executing [s@macro-user-callerid:4] Set("DAHDI/2-1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("DAHDI/2-1", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/2-1", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("DAHDI/2-1", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("DAHDI/2-1", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("DAHDI/2-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("DAHDI/2-1", "Using CallerID "682****12" <682****12>") in new stack
-- Executing [4020@ext-group:2] GotoIf("DAHDI/2-1", "1?skipdb") in new stack
-- Goto (ext-group,4020,4)
-- Executing [4020@ext-group:4] Set("DAHDI/2-1", "__NODEST=") in new stack
-- Executing [4020@ext-group:5] Set("DAHDI/2-1", "__BLKVM_OVERRIDE=BLKVM/4020/DAHDI/2-1") in new stack
-- Executing [4020@ext-group:6] Set("DAHDI/2-1", "__BLKVM_BASE=4020") in new stack
-- Executing [4020@ext-group:7] Set("DAHDI/2-1", "DB(BLKVM/4020/DAHDI/2-1)=TRUE") in new stack
-- Executing [4020@ext-group:8] Set("DAHDI/2-1", "RRNODEST=") in new stack
-- Executing [4020@ext-group:9] Set("DAHDI/2-1", "__NODEST=4020") in new stack
-- Executing [4020@ext-group:10] GosubIf("DAHDI/2-1", "0?sub-rgsetcid,s,1") in new stack
-- Executing [4020@ext-group:11] Set("DAHDI/2-1", "RecordMethod=Group") in new stack
-- Executing [4020@ext-group:12] Macro("DAHDI/2-1", "record-enable,4021-4022-4023-4024-4025,Group") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("DAHDI/2-1", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("DAHDI/2-1", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("DAHDI/2-1", "1?Group:OUT") in new stack
-- Goto (macro-record-enable,s,6)
-- Executing [s@macro-record-enable:6] Set("DAHDI/2-1", "LOOPCNT=5") in new stack
-- Executing [s@macro-record-enable:7] Set("DAHDI/2-1", "ITER=1") in new stack
-- Executing [s@macro-record-enable:8] GotoIf("DAHDI/2-1", "1?continue") in new stack
-- Goto (macro-record-enable,s,13)
-- Executing [s@macro-record-enable:13] Set("DAHDI/2-1", "ITER=2") in new stack
-- Executing [s@macro-record-enable:14] GotoIf("DAHDI/2-1", "1?begin") in new stack
-- Goto (macro-record-enable,s,8)
-- Executing [s@macro-record-enable:8] GotoIf("DAHDI/2-1", "1?continue") in new stack
-- Goto (macro-record-enable,s,13)
-- Executing [s@macro-record-enable:13] Set("DAHDI/2-1", "ITER=3") in new stack
-- Executing [s@macro-record-enable:14] GotoIf("DAHDI/2-1", "1?begin") in new stack
-- Goto (macro-record-enable,s,8)
-- Executing [s@macro-record-enable:8] GotoIf("DAHDI/2-1", "1?continue") in new stack
-- Goto (macro-record-enable,s,13)
-- Executing [s@macro-record-enable:13] Set("DAHDI/2-1", "ITER=4") in new stack
-- Executing [s@macro-record-enable:14] GotoIf("DAHDI/2-1", "1?begin") in new stack
-- Goto (macro-record-enable,s,8)
-- Executing [s@macro-record-enable:8] GotoIf("DAHDI/2-1", "1?continue") in new stack
-- Goto (macro-record-enable,s,13)
-- Executing [s@macro-record-enable:13] Set("DAHDI/2-1", "ITER=5") in new stack
-- Executing [s@macro-record-enable:14] GotoIf("DAHDI/2-1", "1?begin") in new stack
-- Goto (macro-record-enable,s,8)
-- Executing [s@macro-record-enable:8] GotoIf("DAHDI/2-1", "1?continue") in new stack
-- Goto (macro-record-enable,s,13)
-- Executing [s@macro-record-enable:13] Set("DAHDI/2-1", "ITER=6") in new stack
-- Executing [s@macro-record-enable:14] GotoIf("DAHDI/2-1", "0?begin") in new stack
-- Executing [s@macro-record-enable:15] GotoIf("DAHDI/2-1", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("DAHDI/2-1", "1?MacroExit()") in new stack
-- Executing [4020@ext-group:13] Set("DAHDI/2-1", "RingGroupMethod=ringall") in new stack
-- Executing [4020@ext-group:14] GotoIf("DAHDI/2-1", "0?DIALGRP") in new stack
-- Executing [4020@ext-group:15] Answer("DAHDI/2-1", "") in new stack
-- Executing [4020@ext-group:16] Wait("DAHDI/2-1", "1") in new stack
-- Executing [4020@ext-group:17] Playback("DAHDI/2-1", "custom/Bienvenida.wma") in new stack
-- Executing [4020@ext-group:18] Macro("DAHDI/2-1", "dial,20,tr,4021-4022-4023-4024-4025") in new stack
-- Executing [s@macro-dial:1] GotoIf("DAHDI/2-1", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("DAHDI/2-1", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is '682****12' number is '682****12'
dialparties.agi: Methodology of ring is 'ringall'
-- dialparties.agi: Added extension 4021 to extension map
-- dialparties.agi: Added extension 4022 to extension map
-- dialparties.agi: Added extension 4023 to extension map
-- dialparties.agi: Added extension 4024 to extension map
-- dialparties.agi: Added extension 4025 to extension map
-- dialparties.agi: Extension 4021 cf is disabled
-- dialparties.agi: Extension 4022 cf is disabled
-- dialparties.agi: Extension 4023 cf is disabled
-- dialparties.agi: Extension 4024 cf is disabled
-- dialparties.agi: Extension 4025 cf is disabled
-- dialparties.agi: Extension 4021 do not disturb is disabled
-- dialparties.agi: Extension 4022 do not disturb is disabled
-- dialparties.agi: Extension 4023 do not disturb is disabled
-- dialparties.agi: Extension 4024 do not disturb is disabled
-- dialparties.agi: Extension 4025 do not disturb is disabled
dialparties.agi: EXTENSION_STATE: 8 (RINGING)
dialparties.agi: Extension 4021 has ExtensionState: 8
-- dialparties.agi: Checking CW and CFB status for extension 4021
dialparties.agi: Extension 4021 is not available to be called
dialparties.agi: Extension 4021 has call waiting disabled
dialparties.agi: EXTENSION_STATE: 4 (UNAVAILABLE)
dialparties.agi: Extension 4022 has ExtensionState: 4
-- dialparties.agi: Checking CW and CFB status for extension 4022
-- dialparties.agi: dbset CALLTRACE/4022 to 682****12
dialparties.agi: EXTENSION_STATE: 4 (UNAVAILABLE)
dialparties.agi: Extension 4023 has ExtensionState: 4
-- dialparties.agi: Checking CW and CFB status for extension 4023
-- dialparties.agi: dbset CALLTRACE/4023 to 682****12
dialparties.agi: EXTENSION_STATE: 8 (RINGING)
dialparties.agi: Extension 4024 has ExtensionState: 8
-- dialparties.agi: Checking CW and CFB status for extension 4024
dialparties.agi: Extension 4024 is not available to be called
dialparties.agi: Extension 4024 has call waiting disabled
dialparties.agi: EXTENSION_STATE: 4 (UNAVAILABLE)
dialparties.agi: Extension 4025 has ExtensionState: 4
-- dialparties.agi: Checking CW and CFB status for extension 4025
-- dialparties.agi: dbset CALLTRACE/4025 to 682****12
-- dialparties.agi: Filtered ARG3: 4022-4023-4025
-- <DAHDI/2-1>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("DAHDI/2-1", "SIP/4022&SIP/4023&SIP/4025,20,trM(auto-blkvm)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Everyone is busy/congested at this time (3:0/0/3)
-- Executing [s@macro-dial:8] Set("DAHDI/2-1", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-dial:9] GosubIf("DAHDI/2-1", "0?CHANUNAVAIL,1") in new stack
-- Executing [4020@ext-group:19] Set("DAHDI/2-1", "RingGroupMethod=") in new stack
-- Executing [4020@ext-group:20] GotoIf("DAHDI/2-1", "0?nodest") in new stack
-- Executing [4020@ext-group:21] Set("DAHDI/2-1", "__NODEST=") in new stack
-- Executing [4020@ext-group:22] NoOp("DAHDI/2-1", "Deleting: BLKVM/4020/DAHDI/2-1 TRUE") in new stack
-- Executing [4020@ext-group:23] Goto("DAHDI/2-1", "app-blackhole,hangup,1") in new stack
-- Goto (app-blackhole,hangup,1)
-- Executing [hangup@app-blackhole:1] NoOp("DAHDI/2-1", "Blackhole Dest: Hangup") in new stack
-- Executing [hangup@app-blackhole:2] Hangup("DAHDI/2-1", "") in new stack
== Spawn extension (app-blackhole, hangup, 2) exited non-zero on 'DAHDI/2-1'
-- Hungup 'DAHDI/2-1'
-- Channel 0/1, span 1 got hangup request, cause 16
== Spawn extension (macro-dial, s, 7) exited non-zero on 'DAHDI/1-1' in macro 'dial'
== Spawn extension (ext-group, 4020, 18) exited non-zero on 'DAHDI/1-1'
-- Hungup 'DAHDI/1-1'
 

smonestel

Joined
Sep 16, 2011
Messages
1
Likes
0
Points
0
#4
Yo estoy teniendo exactamente el mismo problema. De hecho creo que el problema pasa cuando dos llamadas entran al mismo tiempo al mismo ring group.

Alguna idea?????
 

soborno

Joined
Dec 19, 2011
Messages
1,358
Likes
4
Points
38
#5
En primera instancia, puedes optar por usar colas, son más flexibles que los grupos de timbrado y es probable no tendrás el problema que comentas.

Saludos,
Claudio
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,563
Latest member
dineshr
Top