[AsteriskBrasil] Chamada Presa E1 VIVO em R2

Artur Meissner arturmnt em gmail.com
Sexta Maio 13 14:49:10 BRT 2016


Olá lista,

Tive um problema com chamadas presas em um gw que configurei pra um cliente.

Abri chamado com a Vivo e ela não identificou problema no link.

Alguém teria uma dica de como identificar como essas chamadas ficam presas
e uma possível ideia pra eliminar isso?

Eu fiz as seguintes configurações:
digivoice.conf
[general]
consolelanguage=br
allow_ulaw=1
allow_alaw=1
allow_slinear=0
allow_gsm=0

[allportsconfig]
default_callprogress=cp_default.cfg
detectiontype=1
dialtype=1
afterdialpause=1000

ringbacktone1=tone1
ringbacktone2=tone1
ringbacktimes=1000,4000,1000,4000

busytone1=tone1
busytone2=tone1
busytimes=250,250,250,250

subchannelringtone1=tone1
subchannelringtone2=tone1
subchannelringtimes=100,100,100,5000

[groups]
group=1
ports=>1-60

;group=2
;ports=>31-60

[port_config]
signalling=r2mfc_ndis_variable
context=from-pstn
language=pt_BR
accountcode=
musiconhold=
tx_gain=0
rx_gain=0
echotype=dsp
echocan=2
echotraining=400
callprogress=cp_default.cfg
silence_threshold=-42
relaxdtmf=1
gen_dtmf=1
gen_ringback=1
gen_busy=1
dtmf_to_asterisk=2
faxdetection=1
fax_pass_through=1
drop_tx_samples_factor=33
r2_country=br
min_digits_rx=1
max_digits_rx=20
interdigit_timeout=2000
cid_pos=1
category=1
group_b_value=1
wait_group_b=0
port_id=
b_subscriber_hangup=1
ccb_pass_through=0
vconf_pass_through=0
wait_dialtone=1
dialtone_timeout=3000
ports=>1-60

[e1_config]
e1_sync=1
use_crc4=0
span=1,cas
span=2,cas
cards=>1

extensions.conf
[globals]
PROTO01=SIP
PROTO02=IAX2

[macro-hanguptdm]
exten => s,1,NoOp(Macro HangupCause)
same => n,Set(CDR(isdn_original)=${HANGUPCAUSE})
same => n,GotoIf($["${HANGUPCAUSE}"="34"]?release1)
same => n,GotoIf($["${HANGUPCAUSE}"="18"]?release1)
same => n,GotoIf($["${HANGUPCAUSE}"="20"]?release1)
same => n,GotoIf($["${HANGUPCAUSE}"="21"]?release1)
same => n(release1),NoOp(Canal Utilizado: ${CDR(dstchannel)})
same => n,Hangup(42)
same => n,Set(CDR(isdn)=${HANGUPCAUSE})


[E1VIVO]
exten => _09845.,1,Noop(CLIENTE 1)
same => n,Noop(NUMERO DISCADO: ${EXTEN})
same => n,Dial(DGV/g/015${EXTEN:7},60,gS(7200),gS(7200))
same => n,Noop(STATUS DE DESLIGAMENTO: ${HANGUPCAUSE})
same => n,Macro(hanguptdm,${HANGUPCAUSE})

exten => h,1,NoOp(HANGUP CAUSE)
same => n,Noop(STATUS DE DESLIGAMENTO: ${HANGUPCAUSE})
same => n,Macro(hanguptdm,${HANGUPCAUSE})
same => n,Set(CDR(isdn_original)=${HANGUPCAUSE})
same => n,Set(CDR(isdn)=${HANGUPCAUSE})
same => n,Hangup()

sip.conf
[general]
bindaddr = 0.0.0.0
externip = XXX.XXX.XXX.XXX
bindport = 5060
srvlookup = yes
transport = udp
t38pt_udptl = yes
rtptimeout=60
rtpholdtimeout=60
disallow = all
allow = g729
allow = alaw
allow = ulaw
externrefresh = 300
maxcallbitrate = 384  ;bites
maxexpiry = 10000
minexpiry = 1000
defaultexpiry = 1800
alwaysauthreject = yes
allowguest = no
nat = force_rport,comedia
qualify = no
limitonpeer = no
dtmfmode = rfc2833
rtcachefriends = yes
context = default
directmedia=no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20160513/ef03112f/attachment.html>


Mais detalhes sobre a lista de discussão AsteriskBrasil