[asterisk-r2] asterisk-r2 Digest, (bloqueo de ani)

francone esteban at francone.com.ar
Mon May 31 15:40:35 CDT 2010


Moises te paso el traceo de una llamada entrante hacia mi central para que
veas lo que te explique, aca no hay nada que especifique como tiene que ser
la comunicación R2 con respeto al ani oculto, si hay una reglamentación que
obliga a presentar el ani pero es media ambigua, el problema es que si no lo
presento ningún prestador publico me toma la llamada.
Este traceo de llamada que te paso es la llamada desde un celular de la
compañía movistar argentina ocultando el ANI hacia mi central telefonica
conectada contra Telecom de argentina.
Fijate que manda el ANI y al final manda la F

[13:00:01:832] [Thread: 1093458240] [Chan 7] - Call started at Mon May 31
13:00:01 2010 on chan 7 [openr2 version 1.2.0, revision exported]
[13:00:01:832] [Thread: 1093458240] [Chan 7] - CAS Tx >> [SEIZE ACK] 0x0C
[13:00:01:832] [Thread: 1093458240] [Chan 7] - CAS Raw Tx >> 0x0D
[13:00:02:143] [Thread: 1093458240] [Chan 7] - MF Rx << 4 [ON]
[13:00:02:143] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 0
[13:00:02:143] [Thread: 1093458240] [Chan 7] - Cannot cancel timer 0
[13:00:02:143] [Thread: 1093458240] [Chan 7] - Getting DNIS digit 4
[13:00:02:143] [Thread: 1093458240] [Chan 7] - DNIS so far: 4, expected
length: 6
[13:00:02:143] [Thread: 1093458240] [Chan 7] - Requesting next DNIS with
signal 0x31.
[13:00:02:143] [Thread: 1093458240] [Chan 7] - MF Tx >> 1 [ON]
[13:00:02:143] [Thread: 1093458240] [Chan 7] - scheduled timer id 2
(mf_back_cycle)
[13:00:02:243] [Thread: 1093458240] [Chan 7] - MF Rx << 4 [OFF]
[13:00:02:243] [Thread: 1093458240] [Chan 7] - MF Tx >> 1 [OFF]
[13:00:02:323] [Thread: 1093458240] [Chan 7] - MF Rx << 9 [ON]
[13:00:02:323] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 2
[13:00:02:323] [Thread: 1093458240] [Chan 7] - timer id 2 found, cancelling
it now
[13:00:02:323] [Thread: 1093458240] [Chan 7] - Getting DNIS digit 9
[13:00:02:323] [Thread: 1093458240] [Chan 7] - DNIS so far: 49, expected
length: 6
[13:00:02:323] [Thread: 1093458240] [Chan 7] - Requesting next DNIS with
signal 0x31.
[13:00:02:323] [Thread: 1093458240] [Chan 7] - MF Tx >> 1 [ON]
[13:00:02:323] [Thread: 1093458240] [Chan 7] - scheduled timer id 3
(mf_back_cycle)
[13:00:02:423] [Thread: 1093458240] [Chan 7] - MF Rx << 9 [OFF]
[13:00:02:423] [Thread: 1093458240] [Chan 7] - MF Tx >> 1 [OFF]
[13:00:02:523] [Thread: 1093458240] [Chan 7] - MF Rx << 3 [ON]
[13:00:02:523] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 3
[13:00:02:523] [Thread: 1093458240] [Chan 7] - timer id 3 found, cancelling
it now
[13:00:02:523] [Thread: 1093458240] [Chan 7] - Getting DNIS digit 3
[13:00:02:523] [Thread: 1093458240] [Chan 7] - DNIS so far: 493, expected
length: 6
[13:00:02:523] [Thread: 1093458240] [Chan 7] - Requesting next DNIS with
signal 0x31.
[13:00:02:523] [Thread: 1093458240] [Chan 7] - MF Tx >> 1 [ON]
[13:00:02:523] [Thread: 1093458240] [Chan 7] - scheduled timer id 4
(mf_back_cycle)
[13:00:02:623] [Thread: 1093458240] [Chan 7] - MF Rx << 3 [OFF]
[13:00:02:623] [Thread: 1093458240] [Chan 7] - MF Tx >> 1 [OFF]
[13:00:02:703] [Thread: 1093458240] [Chan 7] - MF Rx << 0 [ON]
[13:00:02:703] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 4
[13:00:02:703] [Thread: 1093458240] [Chan 7] - timer id 4 found, cancelling
it now
[13:00:02:703] [Thread: 1093458240] [Chan 7] - Getting DNIS digit 0
[13:00:02:703] [Thread: 1093458240] [Chan 7] - DNIS so far: 4930, expected
length: 6
[13:00:02:703] [Thread: 1093458240] [Chan 7] - Requesting next DNIS with
signal 0x31.
[13:00:02:703] [Thread: 1093458240] [Chan 7] - MF Tx >> 1 [ON]
[13:00:02:703] [Thread: 1093458240] [Chan 7] - scheduled timer id 5
(mf_back_cycle)
[13:00:02:803] [Thread: 1093458240] [Chan 7] - MF Rx << 0 [OFF]
[13:00:02:803] [Thread: 1093458240] [Chan 7] - MF Tx >> 1 [OFF]
[13:00:02:903] [Thread: 1093458240] [Chan 7] - MF Rx << 0 [ON]
[13:00:02:903] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 5
[13:00:02:903] [Thread: 1093458240] [Chan 7] - timer id 5 found, cancelling
it now
[13:00:02:903] [Thread: 1093458240] [Chan 7] - Getting DNIS digit 0
[13:00:02:903] [Thread: 1093458240] [Chan 7] - DNIS so far: 49300, expected
length: 6
[13:00:02:903] [Thread: 1093458240] [Chan 7] - Requesting next DNIS with
signal 0x31.
[13:00:02:903] [Thread: 1093458240] [Chan 7] - MF Tx >> 1 [ON]
[13:00:02:903] [Thread: 1093458240] [Chan 7] - scheduled timer id 6
(mf_back_cycle)
[13:00:03:003] [Thread: 1093458240] [Chan 7] - MF Rx << 0 [OFF]
[13:00:03:003] [Thread: 1093458240] [Chan 7] - MF Tx >> 1 [OFF]
[13:00:03:103] [Thread: 1093458240] [Chan 7] - MF Rx << 2 [ON]
[13:00:03:103] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 6
[13:00:03:103] [Thread: 1093458240] [Chan 7] - timer id 6 found, cancelling
it now
[13:00:03:103] [Thread: 1093458240] [Chan 7] - Getting DNIS digit 2
[13:00:03:103] [Thread: 1093458240] [Chan 7] - DNIS so far: 493002, expected
length: 6
[13:00:03:103] [Thread: 1093458240] [Chan 7] - Done getting DNIS!
[13:00:03:103] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [ON]
[13:00:03:103] [Thread: 1093458240] [Chan 7] - scheduled timer id 7
(mf_back_cycle)
[13:00:03:183] [Thread: 1093458240] [Chan 7] - MF Rx << 2 [OFF]
[13:00:03:183] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [OFF]
[13:00:03:283] [Thread: 1093458240] [Chan 7] - MF Rx << 1 [ON]
[13:00:03:283] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 7
[13:00:03:283] [Thread: 1093458240] [Chan 7] - timer id 7 found, cancelling
it now
[13:00:03:283] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [ON]
[13:00:03:283] [Thread: 1093458240] [Chan 7] - scheduled timer id 8
(mf_back_cycle)
[13:00:03:383] [Thread: 1093458240] [Chan 7] - MF Rx << 1 [OFF]
[13:00:03:383] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [OFF]
[13:00:03:483] [Thread: 1093458240] [Chan 7] - MF Rx << 1 [ON]
[13:00:03:483] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 8
[13:00:03:483] [Thread: 1093458240] [Chan 7] - timer id 8 found, cancelling
it now
[13:00:03:483] [Thread: 1093458240] [Chan 7] - Getting ANI digit 1
[13:00:03:483] [Thread: 1093458240] [Chan 7] - ANI so far: 1, expected
length: 20
[13:00:03:483] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [ON]
[13:00:03:483] [Thread: 1093458240] [Chan 7] - scheduled timer id 9
(mf_back_cycle)
[13:00:03:563] [Thread: 1093458240] [Chan 7] - MF Rx << 1 [OFF]
[13:00:03:563] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [OFF]
[13:00:03:683] [Thread: 1093458240] [Chan 7] - MF Rx << 1 [ON]
[13:00:03:683] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 9
[13:00:03:683] [Thread: 1093458240] [Chan 7] - timer id 9 found, cancelling
it now
[13:00:03:683] [Thread: 1093458240] [Chan 7] - Getting ANI digit 1
[13:00:03:683] [Thread: 1093458240] [Chan 7] - ANI so far: 11, expected
length: 20
[13:00:03:683] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [ON]
[13:00:03:683] [Thread: 1093458240] [Chan 7] - scheduled timer id 10
(mf_back_cycle)
[13:00:03:763] [Thread: 1093458240] [Chan 7] - MF Rx << 1 [OFF]
[13:00:03:763] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [OFF]
[13:00:03:883] [Thread: 1093458240] [Chan 7] - MF Rx << 5 [ON]
[13:00:03:883] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 10
[13:00:03:883] [Thread: 1093458240] [Chan 7] - timer id 10 found, cancelling
it now
[13:00:03:883] [Thread: 1093458240] [Chan 7] - Getting ANI digit 5
[13:00:03:883] [Thread: 1093458240] [Chan 7] - ANI so far: 115, expected
length: 20
[13:00:03:883] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [ON]
[13:00:03:883] [Thread: 1093458240] [Chan 7] - scheduled timer id 11
(mf_back_cycle)
[13:00:03:943] [Thread: 1093458240] [Chan 7] - MF Rx << 5 [OFF]
[13:00:03:943] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [OFF]
[13:00:04:023] [Thread: 1093458240] [Chan 7] - MF Rx << 9 [ON]
[13:00:04:023] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 11
[13:00:04:023] [Thread: 1093458240] [Chan 7] - timer id 11 found, cancelling
it now
[13:00:04:023] [Thread: 1093458240] [Chan 7] - Getting ANI digit 9
[13:00:04:023] [Thread: 1093458240] [Chan 7] - ANI so far: 1159, expected
length: 20
[13:00:04:023] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [ON]
[13:00:04:023] [Thread: 1093458240] [Chan 7] - scheduled timer id 12
(mf_back_cycle)
[13:00:04:103] [Thread: 1093458240] [Chan 7] - MF Rx << 9 [OFF]
[13:00:04:103] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [OFF]
[13:00:04:183] [Thread: 1093458240] [Chan 7] - MF Rx << 2 [ON]
[13:00:04:183] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 12
[13:00:04:183] [Thread: 1093458240] [Chan 7] - timer id 12 found, cancelling
it now
[13:00:04:183] [Thread: 1093458240] [Chan 7] - Getting ANI digit 2
[13:00:04:183] [Thread: 1093458240] [Chan 7] - ANI so far: 11592, expected
length: 20
[13:00:04:183] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [ON]
[13:00:04:183] [Thread: 1093458240] [Chan 7] - scheduled timer id 13
(mf_back_cycle)
[13:00:04:283] [Thread: 1093458240] [Chan 7] - MF Rx << 2 [OFF]
[13:00:04:283] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [OFF]
[13:00:04:383] [Thread: 1093458240] [Chan 7] - MF Rx << 3 [ON]
[13:00:04:383] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 13
[13:00:04:383] [Thread: 1093458240] [Chan 7] - timer id 13 found, cancelling
it now
[13:00:04:383] [Thread: 1093458240] [Chan 7] - Getting ANI digit 3
[13:00:04:383] [Thread: 1093458240] [Chan 7] - ANI so far: 115923, expected
length: 20
[13:00:04:383] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [ON]
[13:00:04:383] [Thread: 1093458240] [Chan 7] - scheduled timer id 14
(mf_back_cycle)
[13:00:04:483] [Thread: 1093458240] [Chan 7] - MF Rx << 3 [OFF]
[13:00:04:483] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [OFF]
[13:00:04:583] [Thread: 1093458240] [Chan 7] - MF Rx << 1 [ON]
[13:00:04:583] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 14
[13:00:04:583] [Thread: 1093458240] [Chan 7] - timer id 14 found, cancelling
it now
[13:00:04:583] [Thread: 1093458240] [Chan 7] - Getting ANI digit 1
[13:00:04:583] [Thread: 1093458240] [Chan 7] - ANI so far: 1159231, expected
length: 20
[13:00:04:583] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [ON]
[13:00:04:583] [Thread: 1093458240] [Chan 7] - scheduled timer id 15
(mf_back_cycle)
[13:00:04:663] [Thread: 1093458240] [Chan 7] - MF Rx << 1 [OFF]
[13:00:04:663] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [OFF]
[13:00:04:763] [Thread: 1093458240] [Chan 7] - MF Rx << 5 [ON]
[13:00:04:763] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 15
[13:00:04:763] [Thread: 1093458240] [Chan 7] - timer id 15 found, cancelling
it now
[13:00:04:763] [Thread: 1093458240] [Chan 7] - Getting ANI digit 5
[13:00:04:763] [Thread: 1093458240] [Chan 7] - ANI so far: 11592315,
expected length: 20
[13:00:04:763] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [ON]
[13:00:04:763] [Thread: 1093458240] [Chan 7] - scheduled timer id 16
(mf_back_cycle)
[13:00:04:843] [Thread: 1093458240] [Chan 7] - MF Rx << 5 [OFF]
[13:00:04:843] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [OFF]
[13:00:04:963] [Thread: 1093458240] [Chan 7] - MF Rx << 1 [ON]
[13:00:04:963] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 16
[13:00:04:963] [Thread: 1093458240] [Chan 7] - timer id 16 found, cancelling
it now
[13:00:04:963] [Thread: 1093458240] [Chan 7] - Getting ANI digit 1
[13:00:04:963] [Thread: 1093458240] [Chan 7] - ANI so far: 115923151,
expected length: 20
[13:00:04:963] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [ON]
[13:00:04:963] [Thread: 1093458240] [Chan 7] - scheduled timer id 17
(mf_back_cycle)
[13:00:05:043] [Thread: 1093458240] [Chan 7] - MF Rx << 1 [OFF]
[13:00:05:043] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [OFF]
[13:00:05:143] [Thread: 1093458240] [Chan 7] - MF Rx << 2 [ON]
[13:00:05:143] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 17
[13:00:05:143] [Thread: 1093458240] [Chan 7] - timer id 17 found, cancelling
it now
[13:00:05:143] [Thread: 1093458240] [Chan 7] - Getting ANI digit 2
[13:00:05:143] [Thread: 1093458240] [Chan 7] - ANI so far: 1159231512,
expected length: 20
[13:00:05:143] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [ON]
[13:00:05:143] [Thread: 1093458240] [Chan 7] - scheduled timer id 18
(mf_back_cycle)
[13:00:05:223] [Thread: 1093458240] [Chan 7] - MF Rx << 2 [OFF]
[13:00:05:223] [Thread: 1093458240] [Chan 7] - MF Tx >> 5 [OFF]
[13:00:05:343] [Thread: 1093458240] [Chan 7] - MF Rx << F [ON]
[13:00:05:343] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 18
[13:00:05:343] [Thread: 1093458240] [Chan 7] - timer id 18 found, cancelling
it now
[13:00:05:343] [Thread: 1093458240] [Chan 7] - Got end of ANI
[13:00:05:343] [Thread: 1093458240] [Chan 7] - ANI is restricted
[13:00:05:343] [Thread: 1093458240] [Chan 7] - Requesting change to Group II
with signal 0x33
[13:00:05:343] [Thread: 1093458240] [Chan 7] - MF Tx >> 3 [ON]
[13:00:05:343] [Thread: 1093458240] [Chan 7] - scheduled timer id 19
(mf_back_cycle)
[13:00:05:463] [Thread: 1093458240] [Chan 7] - MF Rx << F [OFF]
[13:00:05:463] [Thread: 1093458240] [Chan 7] - MF Tx >> 3 [OFF]
[13:00:05:563] [Thread: 1093458240] [Chan 7] - MF Rx << 1 [ON]
[13:00:05:563] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 19
[13:00:05:563] [Thread: 1093458240] [Chan 7] - timer id 19 found, cancelling
it now
[13:00:05:563] [Thread: 1093458240] [Chan 7] - MF Tx >> 6 [ON]
[13:00:05:563] [Thread: 1093458240] [Chan 7] - scheduled timer id 20
(mf_back_cycle)
[13:00:05:643] [Thread: 1093458240] [Chan 7] - MF Rx << 1 [OFF]
[13:00:05:643] [Thread: 1093458240] [Chan 7] - MF Tx >> 6 [OFF]
[13:00:05:643] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 20
[13:00:05:643] [Thread: 1093458240] [Chan 7] - timer id 20 found, cancelling
it now
[13:00:05:643] [Thread: 1093458240] [Chan 7] - scheduled timer id 21
(r2_answer_delay)
[13:00:05:803] [Thread: 1093458240] [Chan 7] - Attempting to cancel timer
timer 21
[13:00:05:803] [Thread: 1093458240] [Chan 7] - timer id 21 found, cancelling
it now
[13:00:05:803] [Thread: 1093458240] [Chan 7] - calling timer 21
(r2_answer_delay) callback
[13:00:12:372] [Thread: 1092376896] [Chan 7] - Bits changed from 0x00 to
0x08
[13:00:12:372] [Thread: 1092376896] [Chan 7] - CAS Rx << [CLEAR FORWARD]
0x08
[13:00:12:372] [Thread: 1092376896] [Chan 7] - Far end disconnected. Reason:
Normal Clearing
[13:00:12:372] [Thread: 1092376896] [Chan 7] - Call ended
[13:00:12:372] [Thread: 1092376896] [Chan 7] - Attempting to cancel timer
timer 0
[13:00:12:372] [Thread: 1092376896] [Chan 7] - Cannot cancel timer 0



-----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: lunes, 31 de mayo de 2010 02:00 p.m.
Para: asterisk-r2 at lists.digium.com
Asunto: asterisk-r2 Digest, Vol 21, Issue 23

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. Re: asterisk-r2  (bloqueo del ani) (francone)
   2. Re: asterisk-r2 (bloqueo del ani) (Moises Silva)


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

Message: 1
Date: Mon, 31 May 2010 09:03:06 -0300
From: "francone" <esteban at francone.com.ar>
Subject: Re: [asterisk-r2] asterisk-r2  (bloqueo del ani)
To: <asterisk-r2 at lists.digium.com>
Message-ID: <003801cb00b9$3ab3e910$b01bbb30$@com.ar>
Content-Type: text/plain;	charset="iso-8859-1"

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
*******************************************




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

Message: 2
Date: Mon, 31 May 2010 10:54:13 -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:
	<AANLkTinvmB9eZUergyE9WjlsD0-u8ismY79SsW-arWYh at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

>
> On Mon, May 31, 2010 at 8:03 AM, francone <esteban at francone.com.ar> wrote:
>
>> 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
>>
>>
Entonces quieres mandar una F y ademas mandar el ANI?

De ser asi, estas seguro que eso es lo que requiere tu telco?

Para poder agregar esto de forma justificable necesito de preferencia una
especificacion, o bien, que me detalles como necesitas el trazado de se?ales
de registro.

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-r2/attachments/20100531/67f72b45/
attachment-0001.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 23
*******************************************




More information about the asterisk-r2 mailing list