No entran llamadas en FREEPBX - IPLAN

Hola a todos. Les comento mi problema. Tengo configurada la centralita funcionando con 3 SIP TRUNK. Funciona todo bien las salientes y las entrantes (IVR, RING GROUP TODO) pero cuando pongo en “Allow Guest SIP” = NO, solo puedo realizar llamadas salientes y dejan de entrar las llamadas.
La PBX esta funcionando, pero quisiera activar esto como seguridad ya que en el CDR veo que están intentando hackearla (100 Wait s ) varias veces.
En Trunk tengo configurado:
Trunk name: voip
Peer details:
type=friend
username=numero de iplan
secret=contraseña
dtmfmode=rfc2833
host=hpbx.iplannetworks.net
context=from-trunk
outboundproxy=190.2.20.2
port=5065
fromuser=numero de iplan
fromdomain=hpbx.iplannetworks.net
usereqphone=yes
careinvite=no
Register string:
numero de iplan:contraseña:numero de [email protected]/numero iplan
Insisto, todo funciona bien, salvo cuando pongo en NO –> ALLOW GUEST SIP.
Alguna idea??
8 years, 7 months ago
Muchas gracias por tu pronta respuesta:
Aca va el LOG, cuando “INTENTA” entrar la llamada
– Executing NoOp(“SIP/190.2.20.2-00000219”, “Received incoming SIP connection from unknown peer to XXXXXXXXXX&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-00000219”, “DID=XXXXXXXXXX&rdquosmile in new stack
– Executing Goto(“SIP/190.2.20.2-00000219”, “s,1&rdquosmile in new stack
– Goto (from-sip-external,s,1)
– Executing GotoIf(“SIP/190.2.20.2-00000219”, “0?checklang:noanonymous&rdquosmile in new stack
– Goto (from-sip-external,s,5)
– Executing Set(“SIP/190.2.20.2-00000219”, “TIMEOUT(absolute)=15&rdquosmile in new stack
Channel will hangup at 2013-11-20 15:17:02.604 ART.
– Executing Log(“SIP/190.2.20.2-00000219”, “WARNING,”Rejecting unknown SIP connection from 190.2.20.2“&rdquosmile in new stack
WARNING: Ext. s:6 @ from-sip-external: “Rejecting unknown SIP connection from 190.2.20.2”
– Executing Answer(“SIP/190.2.20.2-00000219”, “&rdquosmile in new stack
– Executing Wait(“SIP/190.2.20.2-00000219”, “2&rdquosmile in new stack
– Executing Playback(“SIP/190.2.20.2-00000219”, “ss-noservice&rdquosmile in new stack
– <SIP/190.2.20.2-00000219> Playing ‘ss-noservice.gsm’ (language ‘en&rsquosmile
– Executing PlayTones(“SIP/190.2.20.2-00000219”, “congestion&rdquosmile in new stack
– Executing Congestion(“SIP/190.2.20.2-00000219”, “5&rdquosmile in new stack
== Spawn extension (from-sip-external, s, 11) exited non-zero on ‘SIP/190.2.20.2-00000219’
– Executing Hangup(“SIP/190.2.20.2-00000219”, “&rdquosmile in new stack
== Spawn extension (from-sip-external, h, 1) exited non-zero on ‘SIP/190.2.20.2-00000219’
Aca va el LOG (permitiendo GUEST)
– Executing NoOp(“SIP/190.2.20.2-0000021a”, “Received incoming SIP connection from unknown peer to XXXXXXXXXX&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “DID=XXXXXXXXXX&rdquosmile in new stack
– Executing Goto(“SIP/190.2.20.2-0000021a”, “s,1&rdquosmile in new stack
– Goto (from-sip-external,s,1)
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “1?checklang:noanonymous&rdquosmile in new stack
– Goto (from-sip-external,s,2)
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “1?setlanguage:from-trunk,XXXXXXXXXX,1&rdquosmile in new stack
– Goto (from-sip-external,s,3)
– Executing Set(“SIP/190.2.20.2-0000021a”, “CHANNEL(language)=es&rdquosmile in new stack
– Executing Goto(“SIP/190.2.20.2-0000021a”, “from-trunk,XXXXXXXXXX,1&rdquosmile in new stack
– Goto (from-trunk,XXXXXXXXXX,1)
– Executing Set(“SIP/190.2.20.2-0000021a”, “__FROM_DID=XXXXXXXXXX&rdquosmile in new stack
– Executing Gosub(“SIP/190.2.20.2-0000021a”, “app-blacklist-check,s,1()&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “0?blacklisted&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “CALLED_BLACKLIST=1&rdquosmile in new stack
– Executing Return(“SIP/190.2.20.2-0000021a”, “&rdquosmile in new stack
– Executing Gosub(“SIP/190.2.20.2-0000021a”, “sub-record-cancel,s,1()&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “__REC_POLICY_MODE=&rdquosmile in new stack
– Executing ExecIf(“SIP/190.2.20.2-0000021a”, “1?Return()&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “__REC_POLICY_MODE=never&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “CDR(did)=XXXXXXXXXX&rdquosmile in new stack
– Executing ExecIf(“SIP/190.2.20.2-0000021a”, “0 ?Set(CALLERID(name)=YYYYYYYYYY)&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “__CALLINGPRES_SV=allowed_not_screened&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “CALLERPRES()=allowed_not_screened&rdquosmile in new stack
– Executing Goto(“SIP/190.2.20.2-0000021a”, “ivr-2,s,1&rdquosmile in new stack
– Goto (ivr-2,s,1)
– Executing Set(“SIP/190.2.20.2-0000021a”, “INVALID_LOOPCOUNT=0&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “_IVR_CONTEXT_ivr-2=&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “_IVR_CONTEXT=ivr-2&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “__IVR_RETVM=&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “0?skip&rdquosmile in new stack
– Executing Answer(“SIP/190.2.20.2-0000021a”, “&rdquosmile in new stack
– Executing Wait(“SIP/190.2.20.2-0000021a”, “1&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “IVR_MSG=custom/BIG&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “TIMEOUT(digit)=3&rdquosmile in new stack
– Digit timeout set to 3.000
– Executing ExecIf(“SIP/190.2.20.2-0000021a”, “1?Background(custom/BIG)&rdquosmile in new stack
– <SIP/190.2.20.2-0000021a> Playing ‘custom/BIG.slin’ (language ‘es&rsquosmile
== CDR updated on SIP/190.2.20.2-0000021a
– Executing Macro(“SIP/190.2.20.2-0000021a”, “blkvm-clr,&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “SHARED(BLKVM,)=&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “GOSUB_RETVAL=&rdquosmile in new stack
– Executing MacroExit(“SIP/190.2.20.2-0000021a”, “&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “__NODEST=&rdquosmile in new stack
– Executing Goto(“SIP/190.2.20.2-0000021a”, “from-did-direct,703,1&rdquosmile in new stack
– Goto (from-did-direct,703,1)
– Executing Set(“SIP/190.2.20.2-0000021a”, “__RINGTIMER=15&rdquosmile in new stack
– Executing Macro(“SIP/190.2.20.2-0000021a”, “exten-vm,703,703,0,0,0&rdquosmile in new stack
– Executing Macro(“SIP/190.2.20.2-0000021a”, “user-callerid,&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “TOUCH_MONITOR=1384971697.538&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “AMPUSER=YYYYYYYYYY&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “0?report&rdquosmile in new stack
– Executing ExecIf(“SIP/190.2.20.2-0000021a”, “1?Set(REALCALLERIDNUM=YYYYYYYYYY)&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “AMPUSER=&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “AMPUSERCIDNAME=&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “1?report&rdquosmile in new stack
– Goto (macro-user-callerid,s,15)
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “0?continue&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “__TTL=64&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “1?continue&rdquosmile in new stack
– Goto (macro-user-callerid,s,2smile
– Executing Set(“SIP/190.2.20.2-0000021a”, “CALLERID(number)=YYYYYYYYYY&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “CALLERID(name)=YYYYYYYYYY&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “CDR(cnum)=YYYYYYYYYY&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “CDR(cnam)=YYYYYYYYYY&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “CHANNEL(language)=es&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “RingGroupMethod=none&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “__EXTTOCALL=703&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “__PICKUPMARK=703&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “RT=15&rdquosmile in new stack
– Executing Gosub(“SIP/190.2.20.2-0000021a”, “sub-record-check,s,1(exten,703,)&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “REC_POLICY_MODE_SAVE=never&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “1?check&rdquosmile in new stack
– Goto (sub-record-check,s,7)
– Executing Set(“SIP/190.2.20.2-0000021a”, “__MON_FMT=wav&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “1?next&rdquosmile in new stack
– Goto (sub-record-check,s,11)
– Executing ExecIf(“SIP/190.2.20.2-0000021a”, “0?Return()&rdquosmile in new stack
– Executing ExecIf(“SIP/190.2.20.2-0000021a”, “0?Set(__REC_POLICY_MODE=)&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “0?exten,1&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “__REC_STATUS=INITIALIZED&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “NOW=1384971713&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “__DAY=20&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “__MONTH=11&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “__YEAR=2013&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “__TIMESTR=20131120-152153&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “__FROMEXTEN=YYYYYYYYYY&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “__CALLFILENAME=exten-703-YYYYYYYYYY-20131120-152153-1384971697.538&rdquosmile in new stack
– Executing Goto(“SIP/190.2.20.2-0000021a”, “exten,1&rdquosmile in new stack
– Goto (sub-record-check,exten,1)
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “1?callee&rdquosmile in new stack
– Goto (sub-record-check,exten,smile
– Executing GosubIf(“SIP/190.2.20.2-0000021a”, “0?record,1(exten,703,YYYYYYYYYY)&rdquosmile in new stack
– Executing Return(“SIP/190.2.20.2-0000021a”, “&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “1?macrodial&rdquosmile in new stack
– Goto (macro-exten-vm,s,13)
– Executing GosubIf(“SIP/190.2.20.2-0000021a”, “0?clrheader,1()&rdquosmile in new stack
– Executing Macro(“SIP/190.2.20.2-0000021a”, “dial-one,15,Ttr,703&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “DEXTEN=703&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “DIALSTATUS_CW=&rdquosmile in new stack
– Executing GosubIf(“SIP/190.2.20.2-0000021a”, “0?screen,1()&rdquosmile in new stack
– Executing GosubIf(“SIP/190.2.20.2-0000021a”, “0?cf,1()&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “1?skip1&rdquosmile in new stack
– Goto (macro-dial-one,s,smile
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “0?nodial&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “0?continue&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “EXTHASCW=ENABLED&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “0?next1:cwinusebusy&rdquosmile in new stack
– Goto (macro-dial-one,s,23)
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “1?next3:continue&rdquosmile in new stack
– Goto (macro-dial-one,s,24)
– Executing ExecIf(“SIP/190.2.20.2-0000021a”, “0?Set(DIALSTATUS_CW=BUSY)&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “0?nodial&rdquosmile in new stack
– Executing GosubIf(“SIP/190.2.20.2-0000021a”, “1?dstring,1():dlocal,1()&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “DSTRING=&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “DEVICES=703&rdquosmile in new stack
– Executing ExecIf(“SIP/190.2.20.2-0000021a”, “0?Return()&rdquosmile in new stack
– Executing ExecIf(“SIP/190.2.20.2-0000021a”, “0?Set(DEVICES=03)&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “LOOPCNT=1&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “ITER=1&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “THISDIAL=SIP/703&rdquosmile in new stack
– Executing GosubIf(“SIP/190.2.20.2-0000021a”, “1?zap2dahdi,1()&rdquosmile in new stack
– Executing ExecIf(“SIP/190.2.20.2-0000021a”, “0?Return()&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “NEWDIAL=&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “LOOPCNT2=1&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “ITER2=1&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “THISPART2=SIP/703&rdquosmile in new stack
– Executing ExecIf(“SIP/190.2.20.2-0000021a”, “0?Set(THISPART2=DAHDI/703)&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “NEWDIAL=SIP/703&&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “ITER2=2&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “0?begin2&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “THISDIAL=SIP/703&rdquosmile in new stack
– Executing Return(“SIP/190.2.20.2-0000021a”, “&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “DSTRING=SIP/703&&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “ITER=2&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “0?begin&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “DSTRING=SIP/703&rdquosmile in new stack
– Executing Return(“SIP/190.2.20.2-0000021a”, “&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “0?nodial&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “0?skiptrace&rdquosmile in new stack
– Executing GosubIf(“SIP/190.2.20.2-0000021a”, “1?ctset,1():ctclear,1()&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “DB(CALLTRACE/703)=YYYYYYYYYY&rdquosmile in new stack
– Executing Return(“SIP/190.2.20.2-0000021a”, “&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “D_OPTIONS=Ttr&rdquosmile in new stack
– Executing ExecIf(“SIP/190.2.20.2-0000021a”, “0?SIPAddHeader(Alert-Info: )&rdquosmile in new stack
– Executing ExecIf(“SIP/190.2.20.2-0000021a”, “0?SIPAddHeader()&rdquosmile in new stack
– Executing ExecIf(“SIP/190.2.20.2-0000021a”, “0?Set(CHANNEL(musicclass)=)&rdquosmile in new stack
– Executing GosubIf(“SIP/190.2.20.2-0000021a”, “0?qwait,1()&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “__CWIGNORE=&rdquosmile in new stack
– Executing Set(“SIP/190.2.20.2-0000021a”, “__KEEPCID=TRUE&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “0?usegoto,1&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “1?godial&rdquosmile in new stack
– Goto (macro-dial-one,s,42)
– Executing Dial(“SIP/190.2.20.2-0000021a”, “SIP/703,15,Ttr&rdquosmile in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/703
– SIP/703-0000021b is ringing
– SIP/703-0000021b is ringing
== Spawn extension (macro-dial-one, s, 42) exited non-zero on ‘SIP/190.2.20.2-0000021a’ in macro ‘dial-one’
== Spawn extension (macro-exten-vm, s, 14) exited non-zero on ‘SIP/190.2.20.2-0000021a’ in macro ‘exten-vm’
== Spawn extension (from-did-direct, 703, 2) exited non-zero on ‘SIP/190.2.20.2-0000021a’
– Executing Macro(“SIP/190.2.20.2-0000021a”, “hangupcall,&rdquosmile in new stack
– Executing GotoIf(“SIP/190.2.20.2-0000021a”, “1?theend&rdquosmile in new stack
– Goto (macro-hangupcall,s,3)
– Executing ExecIf(“SIP/190.2.20.2-0000021a”, “0?Set(CDR(recordingfile)=)&rdquosmile in new stack
– Executing Hangup(“SIP/190.2.20.2-0000021a”, “&rdquosmile in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/190.2.20.2-0000021a’ in macro ‘hangupcall’
== Spawn extension (from-did-direct, h, 1) exited non-zero on ‘SIP/190.2.20.2-0000021a’
Saludos y muchas gracias
8 years, 7 months ago
Que versión de asterisk es la que estas usando? Probaste poniendo en la configuración de PEER un insecure=port,invite ?
8 years, 7 months ago
Estimado: Muchas gracias por tu ayuda. Te cuento que logre hacerla funcionar. Actualmente tengo 3 SIP de IPLAN. Cree aparte de estas 3 SIP, 1 SIP con la misma configuracion PERO en el host=190.2.20.4 (hpbx.iplannetworks.net) y NO puse la REGISTER STRING, por lo que llegue a la conclusion que las llamadas ingresan por 190.2.20.2 y salen por 190.2.20.4 y que la register string apunta 192.2.20.4 (hpbx.iplannetworks.net). Me quedaron 4 SIP; 3 salientes y 1 SIP configurada como entrante.
Gracias a esto pude proteger la PBX con Allow SIP Guests=NO y Allow Anonymous Inbound SIP Calls=NO.
Comprobando la seguridad en me dio correcto.
Saludos
8 years, 7 months ago
 

Buscar mensajes