Muy buenas a todos,
Estoy dando algunas vueltas a una cosita.
Hay veces que cuando se llama a un móvil, y este está comunicando, el Asterisk me da los tonos de comunicando, pero hay otras veces que me dice "en este momento todas nuestras líneas están ocupadas, inténtelo más tarde", mensaje de mi Asterisk.
También me ocurre que cuando alguien rechaza una llamada, por ejemplo, desde un móvil, me ocurre lo mismo.
En este último caso he realizado una captura en el CLI y me da como causa un código 31.
---------------------------------------------------------------------------------------------------------------------------------------------
Centralita-PBX-01*CLI>
< Protocol Discriminator: Q.931 (8) len=13
< Call Ref: len= 2 (reference 6955/0x1B2B) (Terminator)
< Message type: DISCONNECT (69)
< [08 02 84 9f]C1*CLI>
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Public network serving the remote user (4)
< Ext: 1 Cause: Normal, unspecified (31), class = Normal Event (1) ]
< [1e 02 82 88]C1*CLI>
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
-- Processing IE 8 (cs0, Cause)
-- Processing IE 30 (cs0, Progress Indicator)
q931.c:3784 q931_receive: call 39723 on channel 3 enters state 12 (Disconnect Indication)
-- Channel 0/3, span 1 got hangup request, cause 31
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request
q931.c:2925 q931_release: call 39723 on channel 3 enters state 19 (Release Request)
> Protocol Discriminator: Q.931 (8) len=9
> Call Ref: len= 2 (reference 6955/0x1B2B) (Originator)
> Message type: RELEASE (77)
> [08 02 81 9f]
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
> Ext: 1 Cause: Normal, unspecified (31), class = Normal Event (1) ]
-- Hungup 'Zap/3-1'
---------------------------------------------------------------------------------------------------------------------------------------------
Es correcto este 31 o me debería de dar otro código. Creo que debería de darme otro, ¿no?
¿Podría ser mi proveedor o puede ser algo de configuración de mi zapata.conf?
---------------------------------------------------------------------------------------------------------------------------------------------
Zaptel.conf
---------------------------------------------------------------------------------------------------------------------------------------------
loadzone = es
defaultzone = es
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
dchan=16
#bchan=17-31
---------------------------------------------------------------------------------------------------------------------------------------------
Zapata.conf
---------------------------------------------------------------------------------------------------------------------------------------------
language=es
signalling=pri_cpe
switchtype=euroisdn
rxwink=300 ; Atlas seems to use long (250ms) winks
priindication=outofband
pridialplan=unknown
prilocaldialplan=unknown
usecallerid=yes
callerid=asreceived
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
relaxdtmf=yes
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
channel=1-15,17-31
---------------------------------------------------------------------------------------------------------------------------------------------
Saludos,
Ramses
Estimado colega yo tengo el mismo problema, pero el mio es con cualquier numero telefonico, al realizar una llamada solo me devuelve dos estados: