[Asterisk-Users] R2 implementation problem

2006-01-31 Thread Manuel Marin Garcia

I have a TE110P connected to a Telmex E1 circuit with R2 signaling.

Asterisk version= 1.0.10
Zaptel= 1.0.1
Spandsp=0.0.3pre6
Unicall= 0.0.3pre8

*zaptel.conf
span=1,1,0,cas,hdb3
cas=1-15:1101
cas=17-31:1101
dchan=16
loadzone = us
defaultzone=us

*unicall.conf
immediate=no
loglevel=255
protocolclass=mfcr2
protocolvariant=mx,10,4
protocolend=cpe
group = 1
context = telmex
channel = 1-15
channel = 17-31
*
*chan_unicall is compiled without any problems and when asterisk starts 
I see all channels in idle state. The problem is that I am unable to 
make or receive calls. When there is an incoming call I see the following


Incoming Call (I receive 10 ANI digits and 4 DNIS digits) I suppose to 
receive 0875 for DNIS


Jan 31 10:08:48 WARNING[4293]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/25  - 0001  [1/   1/Idle  /Idle ]
Jan 31 10:08:48 WARNING[4293]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/25 Detected
Jan 31 10:08:48 WARNING[4293]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/25 Making a new call with CRN 32769
Jan 31 10:08:48 WARNING[4293]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/25 1101  -  [2/   2/Idle  /Idle ]
Jan 31 10:08:48 WARNING[4293]: chan_unicall.c:2865 handle_uc_event: 
Unicall/25 event Detected
Jan 31 10:08:48 WARNING[4293]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/25  - 0 on  [2/   2/Seize ack /Seize ack]
Jan 31 10:08:48 WARNING[4293]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/25 1 on  -  [2/   2/Seize ack /Seize ack]


There is a 9 or 10 seconds pause and the I receive the following 
message. There is a busy tone in the caller side after the message


Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/27  - 1001  [2/   2/Group A   /DNIS request ]
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/27 Far end disconnected(cause=Normal, unspecified cause [31]) - 
state 0x2
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/27  - 0 off [2/ 800/Clear fwd /DNIS request ]
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/27 1 off -  [2/ 800/Clear fwd /DNIS request ]
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/27 R2 prot. err. [2/ 800/Clear fwd /DNIS request ] cause 
32774 - Invalid state
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/27 1001  -  [1/   1/Idle  /Idle ]
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:2865 handle_uc_event: 
Unicall/27 event Far end disconnected
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:3198 handle_uc_event: CRN 
32769 - far disconnected cause=Normal, unspecified cause [31]
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/27 Call control(6)
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/27 Drop call(cause=Normal Clearing [16])
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/27 1101  -  [1/   1/Idle  /Idle ]
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:2865 handle_uc_event: 
Unicall/27 event Protocol failure

  -- Unicall/27 protocol error. Cause 32774
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/28  - 0001  [1/   1/Idle  /Idle ]
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/28 Detected
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/28 Making a new call with CRN 32769
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/28 1101  -  [2/   2/Idle  /Idle ]
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:2865 handle_uc_event: 
Unicall/28 event Detected
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/28  - 0 on  [2/   2/Seize ack /Seize ack]
Jan 31 10:10:34 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/28 1 on  -  [2/   2/Seize ack /Seize ack]
Jan 31 10:10:35 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/28  - 0 off [2/   2/Group A   /DNIS request ]
Jan 31 10:10:35 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/28 1 off -  [2/   2/Group A   /DNIS request ]
Jan 31 10:10:35 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/28  - 8 on  [2/   2/Group A   /DNIS request ]
Jan 31 10:10:35 WARNING[4311]: chan_unicall.c:704 unicall_report: MFC/R2 
UniCall/28 1 on  -  [2/   2/Group A   /DNIS request ]


*NOTE*:
I Already tried changing values for DNIS and ANIS and same problem
I tried with other versions of spandsp and unicall and same problem
The same occurs in Asterisk version 1.2.3

Does someone 

[Asterisk-Users] Asterisk as a Protocol Converter from E1 to T1

2005-02-14 Thread Manuel Marin Garcia
I would like to know if I can use Asterisk to convert an E1 circuit to
T1. I have two * boxes and in one location the telco provides me a T1
and at the other location provides me a E1 circuit. I have a TE405P in
each box. I would like to know if I can receive the E1 circuit at span 1
(Configured as E1 with jumper settings) and configure the channels as
dacsrbs to make a DACS to span2 (Configured as T1) and connect span2
with span3 using a cross over cable. And finally match configuration of
span 3 with the remote location span.

If somebody have tried this configuration please give  me your comments.

Regards

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] How change default law for T100P

2004-11-03 Thread Manuel Marin
I would like to know if there is a way to change default ulaw for a T1
card. I see in the zap show channel X that is working as ulaw. How do I
change it in zapata.conf or zaptel.conf to alaw. Iam interconnecting a
Meridian PBX but I need to configure it as alaw.


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] cdr_mysql compilation error

2004-06-23 Thread Manuel Marin Garcia
I am trying to compile current cvs asterisk-addons for mysql cdr but I
get the following error. Iam running mysql 4.0.20 and cvs v1 stable
version of asterisk.

cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/local/mysql/include  -c
-o cdr_addon_mysql.o cdr_addon_mysql.c
cdr_addon_mysql.c:50: warning: parameter names (without types) in
function declaration
cdr_addon_mysql.c:50: warning: data definition has no type or storage
class
cdr_addon_mysql.c: In function `mysql_log':
cdr_addon_mysql.c:108: `mysql_lock' undeclared (first use in this
function)
cdr_addon_mysql.c:108: (Each undeclared identifier is reported only once
cdr_addon_mysql.c:108: for each function it appears in.)
cdr_addon_mysql.c: In function `usecount':
cdr_addon_mysql.c:420: `mysql_lock' undeclared (first use in this
function)
make: *** [cdr_addon_mysql.o] Error 1


Any idea?
-- 
Manuel Marin Garcia
TRANSTELCO S.A. DE C.V.
Campos Eliseos 9050 B4 – Cd. Juárez, Chih. 32452 - México
Oficina: +52 656 692 11 09 – Fax: +52 656 692 1112 - Celular: 915 727
6141
http://www.transtelco.com.mx

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] TDMoE Question

2004-06-17 Thread Manuel Marin Garcia
Just a Question. I would like to know if TDMoE follows specifiaciones of
TDMoIP RAD protocol that says that there is a compression of 16/1 when
you do TDMoIP.



Manuel Marin Garcia
TRANSTELCO S.A. DE C.V.
Campos Eliseos 9050 B4 – Cd. Juárez, Chih. 32452 - México
Oficina: +52 656 692 11 09 – Fax: +52 656 692 1112 - Celular: 915 727
6141
http://www.transtelco.com.mx

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] How path latest CVS apps Makefile on order to compile app_rxfax and app_txfax

2004-06-08 Thread Manuel Marin Garcia
Does anybody is running spandsp with the latest cvs asterisk source. The
Makefile.patch that comes with spandsp doesnt work with cvs source code.
I would like to know how to path apps Makefile in order to compile
app_txfax and app_rxfax applications.

Pleae help


-- 
Manuel Marin Garcia
TRANSTELCO S.A. DE C.V.
Campos Eliseos 9050 B4 – Cd. Juárez, Chih. 32452 - México
Oficina: +52 656 692 11 09 – Fax: +52 656 692 1112 - Celular: 915 727
6141
http://www.transtelco.com.mx

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Problem with rxFax

2004-06-07 Thread Manuel Marin Garcia
I compiled libtiff version 3.6.1 and spandsp and spandsp version k. When
trying to load asterisk I get the folloein error:

Jun  7 10:15:03 WARNING[16384]: loader.c:408 load_modules: Loading
module app_dtmftotext.so failed!
Ouch ... error while writing audio data: : Broken pipe
[EMAIL PROTECTED] root]# Warning, flexible rate not heavily tested!

Please help!



-- 
Manuel Marin Garcia
TRANSTELCO S.A. DE C.V.
Campos Eliseos 9050 B4 – Cd. Juárez, Chih. 32452 - México
Oficina: +52 656 692 11 09 – Fax: +52 656 692 1112 - Celular: 915 727
6141
http://www.transtelco.com.mx

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Problem with vmail.cgi

2004-06-03 Thread Manuel Marin Garcia
Just a question. I can log to the vmail.cgi, I have a voicemail but the
vmail.cgi does recognize any voicemail.

Iam running perl 5.8.3 with setuid emulation

Please help

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] use of Asterisk and T100P as Nortel DSX-1?

2003-06-26 Thread Manuel Marin Garcia


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Jim Ockers
 Sent: Thursday, June 26, 2003 11:39 AM
 To: [EMAIL PROTECTED]
 Subject: [Asterisk-Users] use of Asterisk and T100P as Nortel DSX-1?


 Hi all,

 I've seen a couple of posts recently from people who are doing
 something with Asterisk and a T100P and a Nortel PBX.  However it's
 not clear exactly what they are doing.

 Does anyone know if it's possible to use a T100P or T400P as a DSX-1
 interface to connect to a T1/PRI CO module in a Nortel PBX?  We have
 a Nortel Norstar Modular ICS PBX and I'd like to plug its CO module
 into an Asterisk server, for interesting reasons.
You can use a Norstar T1 or E1 card to interconenct with asterisk. T1 card
is supportted in DR5 but for E1 card I thing that you need Software release
6. There is an upgrade kit for norstar, includes hardware, software and key
codes to enable PRI functions



 Nortel's ATA/ASM for analog stations are not suitable for use with a
 softswitch like Asterisk and FXO interfaces.  Also, Nortel has no T1
 station module, so I think I could only connect Asterisk to a CO card.
 In this case, the Asterisk server needs to act like a telco for the
 purposes of the Norstar.

 Will this work?

 Also, I'd need to set DID digits on calls delivered to the Norstar
 so that I could control the call routing.  All of the posts I've seen
 to this list indicate that Asterisk can decode DID digits, caller ID,
 etc. that are delivered to it, but I haven't seen any indication that
 Asterisk can SET the DID information on a call being delivered to another
 PBX.

 Will this work?
When PRI us used, you can use Nortar target lines in order to redirect
incoming calls based on incoming digits

 I already know how to use coordinated call routing to deliver calls
 from the Norstart to Asterisk.

 These ideas would be a really handy use of Asterisk.  If this stuff won't
 work, what might it take to make it work?  I suspect it's more
 complicated
 than just using some sort of crossover cable and connecting them together.

 Thanks to the list denizens I've learned how to make Asterisk interface
 very nicely with a dumb pbx using the Flash and SendDTMF functions, but
 I would love to know the best way to make ASterisk interface with a
 smart PBX.

 Thanks a lot,
 Jim

 --
 Jim Ockers, P.Eng. ([EMAIL PROTECTED])
 Contact info: please see http://www.ockers.net/
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Asterisk and Digium E400P in EuroISDN environment

2003-06-26 Thread Manuel Marin Garcia
I think it is possible. Euro ISDN manages all information using E1 channel
16. EM Protocol some times is called TIE lines. I have configured Euro ISDN
in Mexico with Norstar E1 card

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Scott Stingel
 Sent: Thursday, June 26, 2003 1:27 PM
 To: [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Asterisk and Digium E400P in EuroISDN
 environment


 Hello-

 I know this is a basic question, but before I start down the road of using
 Asterisk open source software, I thought I would ask if someone
 could please
 tell me definitively whether Asterisk and Digim will connect with EuroISDN
 using EM protocol, and pass the caller's number (CLI) and dialed number
 (DDI) to the software so I can see them in variables?

 I need this for an application that I'm proposing.

 Thanks in advance,
 Scott Stingel



 Scott M. Stingel
 Emerging Voice Technology Inc.
 Palo Alto, California and London, England

 Email:  [EMAIL PROTECTED]
 URL:www.evtmedia.com




 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Question about Voicemail and Voicemail2

2003-05-29 Thread Manuel Marin Garcia

I would like to know if maxsilence and silencethreshold parameters in
voicemail.conf work only for voicemail2 application and what are the main
differences that exist between voicemail and voicemail2. What possible
values silencethreshold can take?

Thanks



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users