Buenos Días, soy nuevo en Asterisk e Issabel, Ojala puedan echarme una mano.
Si bien algo entiendo no puedo lograr hacer llamadas desde un anexo a través de una Gateway GSM (celulink). Las llamadas entrantes andan Super, pero las salientes no puedo lograr configurarlas.
Incluyo el Log de CLI
*CLI> == Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> 0x7fee9c00bb40 -- Strict RTP learning after remote address set to: 192.168.1.110:5004
-- Executing [952842158@from-internal:1] Macro("SIP/500-00000000", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/500-00000000", "TOUCH_MONITOR=1543346742.0") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/500-00000000", "AMPUSER=500") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/500-00000000", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/500-00000000", "1?Set(REALCALLERIDNUM=500)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/500-00000000", "AMPUSER=500") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/500-00000000", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/500-00000000", "AMPUSERCIDNAME=500") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/500-00000000", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/500-00000000", "AMPUSERCID=500") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/500-00000000", "DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/500-00000000", "CALLERID(all)="500" <500>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/500-00000000", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/500-00000000", "1?Set(GROUP(concurrency_limit)=500)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/500-00000000", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/500-00000000", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/500-00000000", "CALLERID(number)=500") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/500-00000000", "CALLERID(name)=500") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/500-00000000", "CDR(cnum)=500") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/500-00000000", "CDR(cnam)=500") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/500-00000000", "CHANNEL(language)=en") in new stack
-- Executing [952842158@from-internal:2] Set("SIP/500-00000000", "MOHCLASS=default") in new stack
-- Executing [952842158@from-internal:3] Set("SIP/500-00000000", "_NODEST=") in new stack
-- Executing [952842158@from-internal:4] Gosub("SIP/500-00000000", "sub-record-check,s,1(out,952842158,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/500-00000000", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/500-00000000", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/500-00000000", "MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/500-00000000", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/500-00000000", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/500-00000000", "0?Set(REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/500-00000000", "0?out,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/500-00000000", "REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/500-00000000", "NOW=1543346742") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/500-00000000", "DAY=27") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/500-00000000", "MONTH=11") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/500-00000000", "YEAR=2018") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/500-00000000", "TIMESTR=20181127-162542") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/500-00000000", "FROMEXTEN=500") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/500-00000000", "CALLFILENAME=out-952842158-500-20181127-162542-1543346742.0") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/500-00000000", "out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] ExecIf("SIP/500-00000000", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
-- Executing [out@sub-record-check:2] GosubIf("SIP/500-00000000", "0?record,1(exten,952842158,500)") in new stack
-- Executing [out@sub-record-check:3] Return("SIP/500-00000000", "") in new stack
-- Executing [952842158@from-internal:5] Macro("SIP/500-00000000", "dialout-trunk,2,952842158,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/500-00000000", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/500-00000000", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/500-00000000", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/500-00000000", "DIAL_NUMBER=952842158") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/500-00000000", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/500-00000000", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/500-00000000", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/500-00000000", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/500-00000000", "DIAL_TRUNK_OPTIONS=Tt") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/500-00000000", "outbound-callerid,2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/500-00000000", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/500-00000000", "0?Set(REALCALLERIDNUM=500)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/500-00000000", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/500-00000000", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/500-00000000", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/500-00000000", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/500-00000000", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/500-00000000", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/500-00000000", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/500-00000000", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/500-00000000", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("SIP/500-00000000", "CDR(outbound_cnum)=500") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("SIP/500-00000000", "CDR(outbound_cnam)=500") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/500-00000000", "1?sub-flp-2,s,1()") in new stack
-- Executing [s@sub-flp-2:1] ExecIf("SIP/500-00000000", "1?Return()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/500-00000000", "OUTNUM=952842158") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/500-00000000", "custom=SIP/Lyric") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/500-00000000", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusicdefault)Tt)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/500-00000000", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/500-00000000", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/500-00000000", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/500-00000000", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/500-00000000", "1?Set(CONNECTEDLINE(num,i)=952842158)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/500-00000000", "1?Set(CONNECTEDLINE(name,i)=CID:500)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/500-00000000", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("SIP/500-00000000", "SIP/Lyric/952842158,300,Tt") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/Lyric/952842158
-- Got SIP response 603 "Declined" back from 192.168.1.21:5060
-- SIP/Lyric-00000001 is busy
== Everyone is busy/congested at this time (1:1/0/0)
-- Executing [s@macro-dialout-trunk:23] NoOp("SIP/500-00000000", "Dial failed for some reason with DIALSTATUS = BUSY and HANGUPCAUSE = 21") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/500-00000000", "0?continue,1:s-BUSY,1") in new stack
-- Goto (macro-dialout-trunk,s-BUSY,1)
-- Executing [s-BUSY@macro-dialout-trunk:1] NoOp("SIP/500-00000000", "Dial failed due to trunk reporting BUSY - giving up") in new stack
-- Executing [s-BUSY@macro-dialout-trunk:2] PlayTones("SIP/500-00000000", "busy") in new stack
-- Executing [s-BUSY@macro-dialout-trunk:3] Busy("SIP/500-00000000", "20") in new stack
== Spawn extension (macro-dialout-trunk, s-BUSY, 3) exited non-zero on 'SIP/500-00000000' in macro 'dialout-trunk'
== Spawn extension (from-internal, 952842158, 5) exited non-zero on 'SIP/500-00000000'
-- Executing [h@from-internal:1] Hangup("SIP/500-00000000", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/500-00000000'
[2018-11-27 16:25:47] ERROR[7799]: cdr_csv.c:315 csv_log: Unable to re-open master file /var/log/asterisk//cdr-csv//Master.csv : Permission denied
[2018-11-27 16:25:47] ERROR[7799]: cdr_csv.c:315 csv_log: Unable to re-open master file /var/log/asterisk//cdr-csv//Master.csv : Permission denied
Cuando intento llamar, luego de 2 segundos, suena el tono de ocupado.
Estos son los "Peers Detail":
type=friend
username=Lyric
host=IP.GATEWAY
secret=PASS.GATEWAY
regexten=1005
dtmfmode=rfc2833
insecure=invite,port
canreinvite=yes
nat=yes
qualify=yes
ya cree las rutas de salidas y las Asocie con el trunk.
He intentado muchas configuraciones que he leído en este mismo foro. Incluso debí reinstalar Issabel ya que alguna configuración tengo que haber cambiado con la que perdí comunicación con la Gateway y no logre solucionarlo.
Que tengan un lindo dia. Estare muy agradecido si me pueden ayudar con esto.