Hola Christian.
Gracias por tus comentarios.
Mira, si funciona (a medias) no se por que, pero para hacer que funcione tengo que er CLI.
Tengo dos inconvenientes.
El primero es que si funciona, pero asterisk no regresa la posición.
Para saber tengo que entrar a CLI.
CASO 1
== Using SIP RTP CoS mark 5
-- Executing [2004@users:1] Dial("SIP/marcos-00000032", "SIP/dish,20,trf") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/dish
> 0xb6b06538 -- Probation passed - setting RTP source address to 192.168.1.244:78
-- SIP/dish-00000033 is ringing
-- SIP/dish-00000033 is making progress passing it to SIP/marcos-00000032
> 0xb6b06538 -- Probation passed - setting RTP source address to 192.168.1.244:78
-- SIP/dish-00000033 answered SIP/marcos-00000032
> 0xb6d2eac0 -- Probation passed - setting RTP source address to 192.168.1.147:128
> 0xb6b06538 -- Probation passed - setting RTP source address to 192.168.1.244:78
-- Started music on hold, class 'default', on SIP/marcos-00000032
-- Stopped music on hold on Parking/SIP/marcos-00000032<ZOMBIE>
-- Started music on hold, class 'default', on SIP/marcos-00000032
== Parked SIP/marcos-00000032 on 701 (lot default). Will timeout back to extension 2004, 1 in 45 seconds
-- Added extension '701' priority 1 to parkedcalls
== Spawn extension (users, 2004, 1) exited non-zero on 'Parking/SIP/marcos-00000032<ZOMBIE>'
-- <SIP/dish-00000033> Playing 'digits/7.gsm' (language 'en')
-- <SIP/dish-00000033> Playing 'digits/0.gsm' (language 'en')
-- <SIP/dish-00000033> Playing 'digits/1.gsm' (language 'en')
Aquí asumo que es 701 y pues en efecto con esto entro. (Pero jamas lo regresa solo se escucha el tono de ocupado).
Por otro lado.
Cuando entro a 701 la calidad del sonido es muy mala.
Otro inconveniente es que una vez estando en la posición 701 por ejemplo si quiero dejar en hold para que el otro escuche musica (no se escucha).
CASO 2
== Using SIP RTP CoS mark 5
-- Executing [2004@users:1] Dial("SIP/telefono1-00000041", "SIP/dish,20,trf") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/dish
-- SIP/dish-00000042 is ringing
-- SIP/dish-00000042 is making progress passing it to SIP/telefono1-00000041
> 0xb6b2ca00 -- Probation passed - setting RTP source address to 192.168.1.244:90
-- SIP/dish-00000042 answered SIP/telefono1-00000041
> 0xb6d00550 -- Probation passed - setting RTP source address to 192.168.1.212:7078
> 0xb6b2ca00 -- Probation passed - setting RTP source address to 192.168.1.244:90
-- Started music on hold, class 'default', on SIP/telefono1-00000041
-- Started music on hold, class 'default', on SIP/telefono1-00000041
== Parked SIP/telefono1-00000041 on 701 (lot default). Will timeout back to extension 2004, 1 in 45 seconds
-- Added extension '701' priority 1 to parkedcalls
== Spawn extension (users, 2004, 1) exited non-zero on 'Parking/SIP/telefono1-00000041<ZOMBIE>'
-- Stopped music on hold on Parking/SIP/telefono1-00000041<ZOMBIE>
-- <SIP/dish-00000042> Playing 'digits/7.gsm' (language 'en')
-- <SIP/dish-00000042> Playing 'digits/0.gsm' (language 'en')
-- <SIP/dish-00000042> Playing 'digits/1.gsm' (language 'en')
== Using SIP RTP CoS mark 5
-- Executing [701@users:1] ParkedCall("SIP/marcos-00000043", "701,default") in new stack
-- Stopped music on hold on SIP/telefono1-00000041
> 0xb6d2eac0 -- Probation passed - setting RTP source address to 192.168.1.147:136
-- Channel SIP/marcos-00000043 connected to parked call 701
-- Remotely bridging SIP/marcos-00000043 and SIP/telefono1-00000041
[Oct 28 21:05:02] NOTICE[C-0000002e]: channel.c:4257 __ast_read: Dropping incompatible voice frame on SIP/marcos-00000043 of format ulaw since our native format has changed to (gsm)
-- Started music on hold, class 'default', on SIP/telefono1-00000041
> 0xb6d00550 -- Probation passed - setting RTP source address to 192.168.1.212:7078
> 0xb6d00550 -- Probation passed - setting RTP source address to 192.168.1.212:7078
Aquí en las ultimas líneas oprimo retener, y no suena nada cuando en otras ocasiones, mejor dicho cuando marco de una extensión a otra y pongo retener si se escucha.
La única manera en la que se puede escuchar el music on hold es oprimiendo la tecla transferir, además se escucha muy mal.
Nada como cuando llamo de una extensión a otra y en esa otro pongo hold.
He aquí la prueba.
== Using SIP RTP CoS mark 5
-- Executing [2004@users:1] Dial("SIP/marcos-0000004d", "SIP/dish,20,trf") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/dish
-- SIP/dish-0000004e is ringing
-- SIP/dish-0000004e is making progress passing it to SIP/marcos-0000004d
> 0xb6b06538 -- Probation passed - setting RTP source address to 192.168.1.244:100
-- SIP/dish-0000004e answered SIP/marcos-0000004d
> 0xb6d39020 -- Probation passed - setting RTP source address to 192.168.1.147:146
> 0xb6b06538 -- Probation passed - setting RTP source address to 192.168.1.244:100
-- Started music on hold, class 'default', on SIP/marcos-0000004d
> 0xb6b06538 -- Probation passed - setting RTP source address to 192.168.1.244:100
¿Por que a mi? 😃
Espero puedan echarme una mano.