Salida de llamadas con PINSET no timbra en el handset mientras llama

rambo
Posts: 1
Member Since:
2010-02-20

Buenas tardes, estoy comensando a entender como funciona asterisk y me encanta todo lo que permite hacer y la facilidad como se hace.
Pero se me presenta la siguiente situacion, tengo "Outbound Routes" donde para llamar tengo habilitada la opcion para "PIN SET", yo tomo el telefono marco el numero, la central me solicita el PIN, lo introdusco ella me dice gracias y el telefono queda mudo hasta que la persona a la que llamo conteste o se corte por tiempo, en todo este lapso no escucho ni un sonido, he llamado a mi celular y veo como la llamada entra y timbra, es bastante molesto no saber si la llamada esta timbrando (osea llamando) y esperar hasta que algo suceda.

Adicionalmente te comento que ya realice la prueba quitando el PINSET del mismo outbound routes y sin este si se escucha en el auricular del telefono el ring de llamada, pero lo vuelvo a colocar y se vuelve a quedar sin dar ring todo esto lo hago desde el FreePBX. Como te digo la llamada si se estable, por otra parte he notado que dura mucho para indicarme si el telefono que llamo esta ocupado o del todo no me avisa.

Gracias.

Este es el dialplan:

[outrt-003-Internacional]
include => outrt-003-Internacional-custom
exten => _7.,1,Macro(pinsets,1|1)
exten => _7.,n,Macro(dialout-trunk,1,${EXTEN:1},,)
exten => _7.,n,Macro(outisbusy,)

; end of [outrt-003-Internacional]

Esto me sale en el CLI con el PINSET activo:

-- Accepting AUTHENTICATED call from 172.16.12.78:
> requested format = gsm,
> requested prefs = (),
> actual format = ulaw,
> host prefs = (ulaw|alaw|gsm),
> priority = mine
-- Executing Macro("IAX2/322-3", "pinsets|1|1") in new stack
-- Executing GotoIf("IAX2/322-3", "1 = 1?cdr|1") in new stack
-- Goto (macro-pinsets,cdr,1)
-- Executing Authenticate("IAX2/322-3", "/etc/asterisk/pinset_1|a") in new stack
-- Playing 'agent-pass' (language 'en')
-- Playing 'auth-thankyou' (language 'en')
-- Executing Macro("IAX2/322-3", "dialout-trunk|1|22505608||") in new stack
-- Executing Set("IAX2/322-3", "DIAL_TRUNK=1") in new stack
-- Executing Set("IAX2/322-3", "_NODEST=") in new stack
-- Executing Set("IAX2/322-3", "DIAL_NUMBER=22505608") in new stack
-- Executing Set("IAX2/322-3", "ROUTE_PASSWD=") in new stack
-- Executing Set("IAX2/322-3", "DIAL_TRUNK_OPTIONS=trwW") in new stack
-- Executing GotoIf("IAX2/322-3", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,8)
-- Executing Set("IAX2/322-3", "GROUP()=OUT_1") in new stack
-- Executing Macro("IAX2/322-3", "user-callerid|SKIPTTL") in new stack
-- Executing NoOp("IAX2/322-3", "user-callerid: ") in new stack
-- Executing GotoIf("IAX2/322-3", "0?report") in new stack
-- Executing GotoIf("IAX2/322-3", "1?start") in new stack
-- Goto (macro-user-callerid,s,5)
-- Executing NoOp("IAX2/322-3", "REALCALLERIDNUM is 322") in new stack
-- Executing Set("IAX2/322-3", "AMPUSER=322") in new stack
-- Executing Set("IAX2/322-3", "AMPUSERCIDNAME=Manuel Freer") in new stack
-- Executing GotoIf("IAX2/322-3", "0?report") in new stack
-- Executing Set("IAX2/322-3", "CALLERID(all)=Manuel Freer ") in new stack
-- Executing Set("IAX2/322-3", "REALCALLERIDNUM=322") in new stack
-- Executing NoOp("IAX2/322-3", "TTL: ARG1: SKIPTTL") in new stack
-- Executing GotoIf("IAX2/322-3", "1?continue") in new stack
-- Goto (macro-user-callerid,s,21)
-- Executing NoOp("IAX2/322-3", "Using CallerID "Manuel Freer" ") in new stack
-- Executing Macro("IAX2/322-3", "record-enable|322|OUT") in new stack
-- Executing GotoIf("IAX2/322-3", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing DeadAGI("IAX2/322-3", "recordingcheck|20100508-193403|1273368837.24696") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20100508-193403|1273368837.24696: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("IAX2/322-3", "No recording needed") in new stack
-- Executing GotoIf("IAX2/322-3", "0?skipoutcid") in new stack
-- Executing Set("IAX2/322-3", "DIAL_TRUNK_OPTIONS=TtrwW") in new stack
-- Executing Macro("IAX2/322-3", "outbound-callerid|1") in new stack
-- Executing GotoIf("IAX2/322-3", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing NoOp("IAX2/322-3", "REALCALLERIDNUM is 322") in new stack
-- Executing GotoIf("IAX2/322-3", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing Set("IAX2/322-3", "USEROUTCID=25050000") in new stack
-- Executing Set("IAX2/322-3", "EMERGENCYCID=") in new stack
-- Executing Set("IAX2/322-3", "TRUNKOUTCID=") in new stack
-- Executing GotoIf("IAX2/322-3", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing GotoIf("IAX2/322-3", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing GotoIf("IAX2/322-3", "0?report") in new stack
-- Executing Set("IAX2/322-3", "CALLERID(all)=25050000") in new stack
-- Executing GotoIf("IAX2/322-3", "1?report:hidecid") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing NoOp("IAX2/322-3", "CallerID set to "" ") in new stack
-- Executing GotoIf("IAX2/322-3", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,16)
-- Executing DeadAGI("IAX2/322-3", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("IAX2/322-3", "OUTNUM=22505608") in new stack
-- Executing Set("IAX2/322-3", "custom=ZAP/g0") in new stack
-- Executing GotoIf("IAX2/322-3", "0?customtrunk") in new stack
-- Executing Dial("IAX2/322-3", "ZAP/g0/22505608|300|TtrwW") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g0/22505608
-- Zap/1-1 is proceeding passing it to IAX2/322-3
-- Zap/1-1 is ringing
-- Hungup 'Zap/1-1'
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'IAX2/322-3' in macro 'dialout-trunk'
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'IAX2/322-3'
-- Executing Macro("IAX2/322-3", "hangupcall") in new stack
-- Executing ResetCDR("IAX2/322-3", "w") in new stack
-- Executing NoCDR("IAX2/322-3", "") in new stack
-- Executing GotoIf("IAX2/322-3", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing GotoIf("IAX2/322-3", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing Wait("IAX2/322-3", "5") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'IAX2/322-3' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'IAX2/322-3'
-- Hungup 'IAX2/322-3'