[asterisk-r2] asterisk-r2 (bloqueo del ani)

francone esteban at francone.com.ar
Mon May 31 07:03:06 CDT 2010


Moises como decís vos, yo quiero poder ocultar el ANI de la llamada saliente
desde el dial plan,
 esto se puede hacer con SetCallerPres(prohib_not_screened) desde el
asterisk y no es 
lo mismo que un hidecallerid.
Cuando se hace un prohib_not_screened el dahdi nunca se entera de ese
parámetro porque no tiene 
definidas la variable CallerPres del asterisk, y hacer un hidecallerid desde
el dahdi no es lo
 mismo porque cuando oculta el ANI el dahdi manda una F en la comunicación
R2 informando que es una 
llamada con ANI restringido pero no manda el ANI.
Esto está pensado a nivel prestador de servicios, son dos centrales publicas
conectadas entre si, 
la otra central tiene que saber con una F que la llamada viene con ANI
restrinjido pero también tiene 
que recibir el ani completo y  eso no lo hace el hidecallerid.
saludos




-----Mensaje original-----
De: asterisk-r2-bounces at lists.digium.com
[mailto:asterisk-r2-bounces at lists.digium.com] En nombre de
asterisk-r2-request at lists.digium.com
Enviado el: viernes, 28 de mayo de 2010 11:02 p.m.
Para: asterisk-r2 at lists.digium.com
Asunto: asterisk-r2 Digest, Vol 21, Issue 22

Send asterisk-r2 mailing list submissions to
	asterisk-r2 at lists.digium.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.digium.com/mailman/listinfo/asterisk-r2
or, via email, send a message with subject or body 'help' to
	asterisk-r2-request at lists.digium.com

You can reach the person managing the list at
	asterisk-r2-owner at lists.digium.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of asterisk-r2 digest..."


Today's Topics:

   1. asterisk-r2  (bloqueo del ani ) (francone)
   2. Re: asterisk-r2 (bloqueo del ani ) (Moises Silva)


----------------------------------------------------------------------

Message: 1
Date: Fri, 28 May 2010 18:40:22 -0300
From: "francone" <esteban at francone.com.ar>
Subject: [asterisk-r2] asterisk-r2  (bloqueo del ani )
To: <asterisk-r2 at lists.digium.com>
Message-ID: <011301cafeae$60749c60$215dd520$@com.ar>
Content-Type: text/plain;	charset="iso-8859-1"

Moises encontr? parte del problema, el tema viene por el usecallingpres que
solo es soportado por ss7 y pri
Ya me hab?a pasado lo mismo con el unicall y se ve que este problema es
arrastrado tambi?n con el dahdi.
No esta definida la variable ast->cid.cid_pres en el chan_dahdi.c
Podes darme una mano con este tema, te comento que para el chan_unicall.c lo
hab?amos resuelto asi.

uc_callparm_calling_party_category(callparms,
get_channel_category(ast));
    uc_callparm_originating_number(callparms, l);
    uc_callparm_destination_number(callparms, c + p->stripmsd);
    uc_callparm_originating_presentation(callparms, ast->cid.cid_pres);



-----Mensaje original-----
De: asterisk-r2-bounces at lists.digium.com
[mailto:asterisk-r2-bounces at lists.digium.com] En nombre de
asterisk-r2-request at lists.digium.com
Enviado el: viernes, 28 de mayo de 2010 02:00 p.m.
Para: asterisk-r2 at lists.digium.com
Asunto: asterisk-r2 Digest, Vol 21, Issue 21

Send asterisk-r2 mailing list submissions to
	asterisk-r2 at lists.digium.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.digium.com/mailman/listinfo/asterisk-r2
or, via email, send a message with subject or body 'help' to
	asterisk-r2-request at lists.digium.com

You can reach the person managing the list at
	asterisk-r2-owner at lists.digium.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of asterisk-r2 digest..."


Today's Topics:

   1. asterisk-r2 Digest, (bloqueo del ani ) (francone)


----------------------------------------------------------------------

Message: 1
Date: Fri, 28 May 2010 11:15:08 -0300
From: "francone" <esteban at francone.com.ar>
Subject: [asterisk-r2] asterisk-r2 Digest, (bloqueo del ani )
To: <asterisk-r2 at lists.digium.com>
Message-ID: <00e901cafe70$2d6dc000$88494000$@com.ar>
Content-Type: text/plain;	charset="us-ascii"

Can someone please tell me where is the problem, is in the code or a bad
configuration? 
I have all functional except for this detail and is driving me crazy. I
think that the problem is the 
DAHDI code but I'm not sure. 
I appreciate the help of the list.

----------------------------------------------------------------------

Message: 1
Date: Fri, 21 May 2010 19:01:29 -0300
From: "francone" <esteban at francone.com.ar>
Subject: [asterisk-r2]  bloqueo del ani
To: <asterisk-r2 at lists.digium.com>
Message-ID: <003301caf931$2a7bca70$7f735f50$@com.ar>
Content-Type: text/plain; charset="iso-8859-1"

 

Hola lista mi nombre es esteban, soy nuevo en la lista espero puedan
ayudarme.

Tengo un asterisk 1.4.31 con el openr2 1.3 y dahdi conectado contra telecom
pasando por una siemens sde.

Les comento que funciona de mil maravillas pero me encontr? con un
inconveniente que tal vez moises pueda ayudarme.

Necesito poder restringir el ani de las llamadas salientes, no lo logre con
ninguna opci?n desde el asterisk pero poniendo 

un  hidecallerid=yes en el chan_dahdi.conf si puedo.

Bueno el tema es que cuando el openr2 hace la llamada con el ani restricted
no env?a el ani.

En argentina telecom solicita que se le env?e la F pero tambi?n el ani
completo.

Espero puedan ayudarme muchas gracias

 

[18:11:12:016] [Thread: 1120774464] [Chan 48] - Call started at Fri May 21
18:11:12 2010 on chan 48 [openr2 version 1.3.0, revision (release)]

[18:11:12:017] [Thread: 1120774464] [Chan 48] - Outgoing call proceeding:
ANI=(restricted), DNIS=0111559234567, Category=National Subscriber

[18:11:12:017] [Thread: 1120774464] [Chan 48] - CAS Tx >> [SEIZE] 0x00

[18:11:12:017] [Thread: 1120774464] [Chan 48] - CAS Raw Tx >> 0x01

[18:11:12:017] [Thread: 1120774464] [Chan 48] - scheduled timer id 2
(r2_seize)

[18:11:12:040] [Thread: 1120774464] [Chan 48] - Bits changed from 0x08 to
0x0C

[18:11:12:040] [Thread: 1120774464] [Chan 48] - CAS Rx << [SEIZE ACK] 0x0C

[18:11:12:040] [Thread: 1120774464] [Chan 48] - Attempting to cancel timer
timer 2

[18:11:12:040] [Thread: 1120774464] [Chan 48] - timer id 2 found, cancelling
it now

[18:11:12:040] [Thread: 1120774464] [Chan 48] - MFC/R2 call acknowledge!

[18:11:12:040] [Thread: 1120774464] [Chan 48] - Sending DNIS digit 0

[18:11:12:040] [Thread: 1120774464] [Chan 48] - MF Tx >> 0 [ON]

[18:11:12:136] [Thread: 1120774464] [Chan 48] - MF Rx << 5 [ON]

[18:11:12:136] [Thread: 1120774464] [Chan 48] - Attempting to cancel timer
timer 0

[18:11:12:136] [Thread: 1120774464] [Chan 48] - Cannot cancel timer 0

[18:11:12:136] [Thread: 1120774464] [Chan 48] - MF Tx >> 0 [OFF]

[18:11:12:216] [Thread: 1120774464] [Chan 48] - MF Rx << 5 [OFF]

[18:11:12:216] [Thread: 1120774464] [Chan 48] - Sending category National
Subscriber

[18:11:12:216] [Thread: 1120774464] [Chan 48] - MF Tx >> 1 [ON]

[18:11:12:256] [Thread: 1120774464] [Chan 48] - MF Rx << 5 [ON]

[18:11:12:256] [Thread: 1120774464] [Chan 48] - Attempting to cancel timer
timer 0

[18:11:12:256] [Thread: 1120774464] [Chan 48] - Cannot cancel timer 0

[18:11:12:256] [Thread: 1120774464] [Chan 48] - MF Tx >> 1 [OFF]

[18:11:12:316] [Thread: 1120774464] [Chan 48] - MF Rx << 5 [OFF]

[18:11:12:316] [Thread: 1120774464] [Chan 48] - Sending Restricted ANI

[18:11:12:316] [Thread: 1120774464] [Chan 48] - MF Tx >> F [ON]

[18:11:12:356] [Thread: 1120774464] [Chan 48] - MF Rx << 1 [ON]

[18:11:12:356] [Thread: 1120774464] [Chan 48] - Attempting to cancel timer
timer 0

[18:11:12:356] [Thread: 1120774464] [Chan 48] - Cannot cancel timer 0

[18:11:12:356] [Thread: 1120774464] [Chan 48] - MF Tx >> F [OFF]

[18:11:12:416] [Thread: 1120774464] [Chan 48] - MF Rx << 1 [OFF]

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-r2/attachments/20100521/d6df22f7/
attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2488 bytes
Desc: not available
Url :
http://lists.digium.com/pipermail/asterisk-r2/attachments/20100521/d6df22f7/
attachment-0001.gif 

------------------------------

Message: 2
Date: Fri, 21 May 2010 23:39:01 +0000
From: francisco flores <turuwhiska at hotmail.com>
Subject: Re: [asterisk-r2] bloqueo del ani
To: <asterisk-r2 at lists.digium.com>
Message-ID: <BAY120-W158D4276BA11AA6862BF6AC6E40 at phx.gbl>
Content-Type: text/plain; charset="iso-8859-1"



uhhh no lo puedo creer jaja como conectaste una sde con placa? hace un
monton que estoy en eso
_________________________________________________________________
Organizar y compartir tus documentos nunca fue tan f?cil. Hotmail te da 25
GB gratis. Ver m?s
http://www.descubrewindowslive.com/hotmail/almacenamiento.asp
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-r2/attachments/20100521/5efdd202/
attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2488 bytes
Desc: not available
Url :
http://lists.digium.com/pipermail/asterisk-r2/attachments/20100521/5efdd202/
attachment.gif 

------------------------------

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-r2 mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-r2

End of asterisk-r2 Digest, Vol 21, Issue 16
*******************************************




------------------------------

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-r2 mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-r2

End of asterisk-r2 Digest, Vol 21, Issue 21
*******************************************




------------------------------

Message: 2
Date: Fri, 28 May 2010 22:01:25 -0400
From: Moises Silva <moises.silva at gmail.com>
Subject: Re: [asterisk-r2] asterisk-r2 (bloqueo del ani )
To: asterisk-r2 at lists.digium.com
Message-ID:
	<AANLkTinNnCXz-Q1Mn6y0lWR6G3UprtmwJYf5jS9t8ZFj at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

No estoy seguro de entender lo que necesitas.

?hidecallerid? ya hace lo que requieres?

Est?s simplemente requiriendo una forma de hacer lo mismo que hace
hidecallerid desde el plan de marcado?

Moises Silva
Senior Software Engineer
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3
Canada
t. 1 905 474 1990 x 128 | e. moy at sangoma.com


2010/5/28 francone <esteban at francone.com.ar>

> Moises encontr? parte del problema, el tema viene por el usecallingpres
que
> solo es soportado por ss7 y pri
> Ya me hab?a pasado lo mismo con el unicall y se ve que este problema es
> arrastrado tambi?n con el dahdi.
> No esta definida la variable ast->cid.cid_pres en el chan_dahdi.c
> Podes darme una mano con este tema, te comento que para el chan_unicall.c
> lo
> hab?amos resuelto asi.
>
> uc_callparm_calling_party_category(callparms,
> get_channel_category(ast));
>    uc_callparm_originating_number(callparms, l);
>    uc_callparm_destination_number(callparms, c + p->stripmsd);
>    uc_callparm_originating_presentation(callparms, ast->cid.cid_pres);
>
>
>
> -----Mensaje original-----
> De: asterisk-r2-bounces at lists.digium.com
> [mailto:asterisk-r2-bounces at lists.digium.com] En nombre de
> asterisk-r2-request at lists.digium.com
> Enviado el: viernes, 28 de mayo de 2010 02:00 p.m.
> Para: asterisk-r2 at lists.digium.com
> Asunto: asterisk-r2 Digest, Vol 21, Issue 21
>
> Send asterisk-r2 mailing list submissions to
>        asterisk-r2 at lists.digium.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.digium.com/mailman/listinfo/asterisk-r2
> or, via email, send a message with subject or body 'help' to
>        asterisk-r2-request at lists.digium.com
>
> You can reach the person managing the list at
>        asterisk-r2-owner at lists.digium.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of asterisk-r2 digest..."
>
>
> Today's Topics:
>
>   1. asterisk-r2 Digest, (bloqueo del ani ) (francone)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 28 May 2010 11:15:08 -0300
> From: "francone" <esteban at francone.com.ar>
> Subject: [asterisk-r2] asterisk-r2 Digest, (bloqueo del ani )
> To: <asterisk-r2 at lists.digium.com>
> Message-ID: <00e901cafe70$2d6dc000$88494000$@com.ar>
> Content-Type: text/plain;       charset="us-ascii"
>
> Can someone please tell me where is the problem, is in the code or a bad
> configuration?
> I have all functional except for this detail and is driving me crazy. I
> think that the problem is the
> DAHDI code but I'm not sure.
> I appreciate the help of the list.
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 21 May 2010 19:01:29 -0300
> From: "francone" <esteban at francone.com.ar>
> Subject: [asterisk-r2]  bloqueo del ani
> To: <asterisk-r2 at lists.digium.com>
> Message-ID: <003301caf931$2a7bca70$7f735f50$@com.ar>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
>
> Hola lista mi nombre es esteban, soy nuevo en la lista espero puedan
> ayudarme.
>
> Tengo un asterisk 1.4.31 con el openr2 1.3 y dahdi conectado contra
telecom
> pasando por una siemens sde.
>
> Les comento que funciona de mil maravillas pero me encontr? con un
> inconveniente que tal vez moises pueda ayudarme.
>
> Necesito poder restringir el ani de las llamadas salientes, no lo logre
con
> ninguna opci?n desde el asterisk pero poniendo
>
> un  hidecallerid=yes en el chan_dahdi.conf si puedo.
>
> Bueno el tema es que cuando el openr2 hace la llamada con el ani
restricted
> no env?a el ani.
>
> En argentina telecom solicita que se le env?e la F pero tambi?n el ani
> completo.
>
> Espero puedan ayudarme muchas gracias
>
>
>
> [18:11:12:016] [Thread: 1120774464] [Chan 48] - Call started at Fri May 21
> 18:11:12 2010 on chan 48 [openr2 version 1.3.0, revision (release)]
>
> [18:11:12:017] [Thread: 1120774464] [Chan 48] - Outgoing call proceeding:
> ANI=(restricted), DNIS=0111559234567, Category=National Subscriber
>
> [18:11:12:017] [Thread: 1120774464] [Chan 48] - CAS Tx >> [SEIZE] 0x00
>
> [18:11:12:017] [Thread: 1120774464] [Chan 48] - CAS Raw Tx >> 0x01
>
> [18:11:12:017] [Thread: 1120774464] [Chan 48] - scheduled timer id 2
> (r2_seize)
>
> [18:11:12:040] [Thread: 1120774464] [Chan 48] - Bits changed from 0x08 to
> 0x0C
>
> [18:11:12:040] [Thread: 1120774464] [Chan 48] - CAS Rx << [SEIZE ACK] 0x0C
>
> [18:11:12:040] [Thread: 1120774464] [Chan 48] - Attempting to cancel timer
> timer 2
>
> [18:11:12:040] [Thread: 1120774464] [Chan 48] - timer id 2 found,
> cancelling
> it now
>
> [18:11:12:040] [Thread: 1120774464] [Chan 48] - MFC/R2 call acknowledge!
>
> [18:11:12:040] [Thread: 1120774464] [Chan 48] - Sending DNIS digit 0
>
> [18:11:12:040] [Thread: 1120774464] [Chan 48] - MF Tx >> 0 [ON]
>
> [18:11:12:136] [Thread: 1120774464] [Chan 48] - MF Rx << 5 [ON]
>
> [18:11:12:136] [Thread: 1120774464] [Chan 48] - Attempting to cancel timer
> timer 0
>
> [18:11:12:136] [Thread: 1120774464] [Chan 48] - Cannot cancel timer 0
>
> [18:11:12:136] [Thread: 1120774464] [Chan 48] - MF Tx >> 0 [OFF]
>
> [18:11:12:216] [Thread: 1120774464] [Chan 48] - MF Rx << 5 [OFF]
>
> [18:11:12:216] [Thread: 1120774464] [Chan 48] - Sending category National
> Subscriber
>
> [18:11:12:216] [Thread: 1120774464] [Chan 48] - MF Tx >> 1 [ON]
>
> [18:11:12:256] [Thread: 1120774464] [Chan 48] - MF Rx << 5 [ON]
>
> [18:11:12:256] [Thread: 1120774464] [Chan 48] - Attempting to cancel timer
> timer 0
>
> [18:11:12:256] [Thread: 1120774464] [Chan 48] - Cannot cancel timer 0
>
> [18:11:12:256] [Thread: 1120774464] [Chan 48] - MF Tx >> 1 [OFF]
>
> [18:11:12:316] [Thread: 1120774464] [Chan 48] - MF Rx << 5 [OFF]
>
> [18:11:12:316] [Thread: 1120774464] [Chan 48] - Sending Restricted ANI
>
> [18:11:12:316] [Thread: 1120774464] [Chan 48] - MF Tx >> F [ON]
>
> [18:11:12:356] [Thread: 1120774464] [Chan 48] - MF Rx << 1 [ON]
>
> [18:11:12:356] [Thread: 1120774464] [Chan 48] - Attempting to cancel timer
> timer 0
>
> [18:11:12:356] [Thread: 1120774464] [Chan 48] - Cannot cancel timer 0
>
> [18:11:12:356] [Thread: 1120774464] [Chan 48] - MF Tx >> F [OFF]
>
> [18:11:12:416] [Thread: 1120774464] [Chan 48] - MF Rx << 1 [OFF]
>
>
>
>
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
>
>
http://lists.digium.com/pipermail/asterisk-r2/attachments/20100521/d6df22f7/
> attachment-0001.htm
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: image/gif
> Size: 2488 bytes
> Desc: not available
> Url :
>
>
http://lists.digium.com/pipermail/asterisk-r2/attachments/20100521/d6df22f7/
> attachment-0001.gif
>
> ------------------------------
>
> Message: 2
> Date: Fri, 21 May 2010 23:39:01 +0000
> From: francisco flores <turuwhiska at hotmail.com>
> Subject: Re: [asterisk-r2] bloqueo del ani
> To: <asterisk-r2 at lists.digium.com>
> Message-ID: <BAY120-W158D4276BA11AA6862BF6AC6E40 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
>
> uhhh no lo puedo creer jaja como conectaste una sde con placa? hace un
> monton que estoy en eso
> _________________________________________________________________
> Organizar y compartir tus documentos nunca fue tan f?cil. Hotmail te da 25
> GB gratis. Ver m?s
> http://www.descubrewindowslive.com/hotmail/almacenamiento.asp
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
>
>
http://lists.digium.com/pipermail/asterisk-r2/attachments/20100521/5efdd202/
> attachment.htm
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image001.gif
> Type: image/gif
> Size: 2488 bytes
> Desc: not available
> Url :
>
>
http://lists.digium.com/pipermail/asterisk-r2/attachments/20100521/5efdd202/
> attachment.gif
>
> ------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-r2 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>
> End of asterisk-r2 Digest, Vol 21, Issue 16
> *******************************************
>
>
>
>
> ------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-r2 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>
> End of asterisk-r2 Digest, Vol 21, Issue 21
> *******************************************
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-r2 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-r2/attachments/20100528/c5840831/
attachment.htm 

------------------------------

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-r2 mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-r2

End of asterisk-r2 Digest, Vol 21, Issue 22
*******************************************




More information about the asterisk-r2 mailing list