[asterisk-r2] ayuda con ANI=(restridted) desde tronco sip hacia PSTN-openr2
r0d0
rodolfo at dic.ohc.cu
Tue Feb 28 08:26:17 CST 2012
gente buenos dias y saludos, necesito saber como setear esta opcion,
ANI=(restricted) a no, tengo dos PBXs , PBX1 y PBX2 las llamadas
enrutadas desde la PBX1 que es el que tiene configurado el E1 señalizado
r2 hacia la PSTN, no tienen problemas pero las que vienen desde la PBX2
a traves de un tronco sip, a pesar de enviar desde PBX2 el numero
completo, cuando salen hacia la PSTN me dicen los log[1] que
ANI=(restricted), y entonces el callerid en los telefonos se recibe 71,
donde 7 es el numero que tiene mi enlace E1 para ser enrutado
correctamente y 1 me imangino que sea el numero identificando el primer
tronco es decir el sip. Encontre googleando la opcion restrictcid=yes/no
pero dice que ya esta obsoleta, alguna ayuda? uso asterisk 1.8.7.0 y
dahdi 2.4.1.2
gracias de antemano.
[1]
[Feb 28 09:31:26] VERBOSE[25162] pbx.c: -- Executing
[08608808 at from-internal:1] Macro("SIP/sdPBX-00010045",
"user-callerid,SKIPTTL,") in new stack
[Feb 28 09:31:26] VERBOSE[25162] pbx.c: -- Executing
[08608808 at from-internal:2] NoOp("SIP/sdPBX-00010045", "Calling Out
Route: habana") in new stack
[Feb 28 09:31:26] VERBOSE[25162] pbx.c: -- Executing
[08608808 at from-internal:3] Set("SIP/sdPBX-00010045",
"INTRACOMPANYROUTE=YES") in new stack
[Feb 28 09:31:26] VERBOSE[25162] pbx.c: -- Executing
[08608808 at from-internal:4] Set("SIP/sdPBX-00010045", "MOHCLASS=default")
in new stack
[Feb 28 09:31:26] VERBOSE[25162] pbx.c: -- Executing
[08608808 at from-internal:5] Set("SIP/sdPBX-00010045", "_NODEST=") in new
stack
[Feb 28 09:31:26] VERBOSE[25162] pbx.c: -- Executing
[08608808 at from-internal:6] Macro("SIP/sdPBX-00010045",
"record-enable,,OUT,") in new stack
[Feb 28 09:31:26] VERBOSE[25162] pbx.c: -- Executing
[08608808 at from-internal:7] Macro("SIP/sdPBX-00010045",
"dialout-trunk,1,8608808,") in new stack
[Feb 28 09:31:26] VERBOSE[25162] pbx.c: -- Executing
[s at macro-dialout-trunk:4] Set("SIP/sdPBX-00010045",
"DIAL_NUMBER=8608808") in new stack
[Feb 28 09:31:26] VERBOSE[25162] pbx.c: -- Executing [s at sub-flp-1:1]
ExecIf("SIP/sdPBX-00010045", "1?Set(TARGET_FLP_1=78608808)") in new stack
[Feb 28 09:31:26] VERBOSE[25162] pbx.c: -- Executing [s at sub-flp-1:6]
Set("SIP/sdPBX-00010045", "DIAL_NUMBER=78608808") in new stack
[Feb 28 09:31:26] VERBOSE[25162] pbx.c: -- Executing
[s at macro-dialout-trunk:13] Set("SIP/sdPBX-00010045", "OUTNUM=78608808")
in new stack
[Feb 28 09:31:26] VERBOSE[25162] pbx.c: -- Executing
[s at macro-dialout-trunk:19] Dial("SIP/sdPBX-00010045",
"DAHDI/g0/78608808,300,tr") in new stack
[Feb 28 09:31:26] DEBUG[25162] chan_dahdi.c: Chan 3 - Requested to make
call (ANI=sdPBX, DNIS=78608808, category=National Subscriber)
[Feb 28 09:31:26] DEBUG[25162] chan_dahdi.c: Chan 3 - Outgoing call
proceeding: ANI=(restricted), DNIS=78608808, Category=National Subscriber
[Feb 28 09:31:26] VERBOSE[25162] app_dial.c: -- Called DAHDI/g0/78608808
[Feb 28 09:31:28] VERBOSE[25162] pbx.c: == Spawn extension
(from-internal, 08608808, 7) exited non-zero on 'SIP/sdPBX-00010045'
--
--
Talk is cheap, show me the code!!!
More information about the asterisk-r2
mailing list