[Asterisk-Users] Digium X100P card to a brazilian analog line

miguel at amplanet.com.br miguel at amplanet.com.br
Wed Jul 14 15:54:57 MST 2004


I'm in Brazil and here are my configs:

Zaptel.conf

fxsks=1
loadzone = us
defaultzone= us

Indications.conf

[general]
country=br

[br]
description = Brazil
ringcadance = 1000,4000
dial = 425
busy = 425/250,0/250
ring = 425/1000,0/4000
congestion = 425/250,0/250,425/750,0/250
callwaiting = 425/50,0/1000
; Dialrecall not used in Brazil standard (using UK standard)
dialrecall = 350+440
; Record tone is not used in Brazil, use busy tone
record = 425/250,0/250
; Info not used in Brazil standard (using UK standard)
info = 950/330,1400/330,1800/330

It was working for me.

Kind regards,

Miguel

From: "Johannes van Hulst" <han.vanhulst at terra.com.br>
To: <asterisk-users at lists.digium.com>
Date: Wed, 14 Jul 2004 14:30:39 -0300
Subject: [Asterisk-Users] Digium X100P card to a brazilian analog line
Reply-To: asterisk-users at lists.digium.com

This is a multi-part message in MIME format.

------=_NextPart_000_0016_01C469AF.22CBA060
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello,

 

I have a problem with connecting a Digium X100P card to a Brazilian analog
line.

Can somebody help me out with this problem? 

 

 

My /etc/zaptel.conf is 

loadzone=br

defaultzone=br

fxsks=1

 

 

My /etc/asterisk/indications.conf

[general]

country=br

 

[br]

description = Brazil

ringcadance = 1000,4000

dial = 425

busy = 425/250,0/250

ring = 425/1000,0/4000

congestion = 425/250,0/250,425/750,0/250

callwaiting = 425/50,0/1000

dialrecall = 350+440

record = 425/250,0/250

info = 950/330,1400/330,1800/330

 

 

I get the following error

[root at US040712 etc]# modprobe zaptel

[root at US040712 etc]# modprobe wcfxo

[root at US040712 etc]# ztcfg

Notice: Configuration file is /etc/zaptel.conf

line 2: No such tone zone known: br

 

1 error(s) detected

 

[root at US040712 etc]#  

 

 

I hope somebody can help me out.

 

Best regards,

 

Han van Hulst

 


------=_NextPart_000_0016_01C469AF.22CBA060
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"country-region"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"place"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hello,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have a problem with connecting a Digium X100P card =
to a Brazilian
analog line.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Can somebody help me out with this problem? =
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'>My /etc/zaptel.conf is =
<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>loadzone=3Dbr<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>defaultzone=3Dbr<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>fxsks=3D1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'>My =
/etc/asterisk/indications.conf<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[general]<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>country=3Dbr<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[br]<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>description =3D <st1:place =
w:st=3D"on"><st1:country-region
 =
w:st=3D"on">Brazil</st1:country-region></st1:place><o:p></o:p></span></fo=
nt></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>ringcadance =3D =
1000,4000<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>dial =3D 425<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>busy =3D 425/250,0/250<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>ring =3D 425/1000,0/4000<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>congestion =3D =
425/250,0/250,425/750,0/250<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>callwaiting =3D =
425/50,0/1000<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>dialrecall =3D 350+440<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>record =3D 425/250,0/250<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>info =3D =
950/330,1400/330,1800/330<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'>I get the following =
error<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DPT-BR =
style=3D'font-size:
10.0pt;font-family:Arial'>[root at US040712 etc]# modprobe =
zaptel<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DPT-BR =
style=3D'font-size:
10.0pt;font-family:Arial'>[root at US040712 etc]# modprobe =
wcfxo<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[root at US040712 etc]# =
ztcfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Notice: Configuration file is =
/etc/zaptel.conf<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>line 2: No such tone zone known: =
br<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DPT-BR =
style=3D'font-size:
10.0pt;font-family:Arial'>1 error(s) =
detected<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DPT-BR =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DPT-BR =
style=3D'font-size:
10.0pt;font-family:Arial'>[root at US040712 etc]# =
&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DPT-BR =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DPT-BR =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I hope somebody can help me =
out.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Best regards,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><st1:PersonName ProductID=3D"Han van Hulst" =
tabIndex=3D"0"
style=3D"BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: =
url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x"
w:st=3D"on"><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
 Arial'>Han van Hulst</span></font></st1:PersonName><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p=
>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0016_01C469AF.22CBA060--



--__--__--

Message: 6
To: asterisk-users at lists.digium.com
Date: 14 Jul 2004 10:33:18 -0700
From: "Wolfgang S. Rupprecht" <list+asterisk-users at lists.wsrcc.com>
Organization: W S Rupprecht Computer Consulting, Fremont CA
Subject: Re: [Asterisk-Users] Re: OT: saving/restoring sipura config
Reply-To: asterisk-users at lists.digium.com


dwelch at phoneboy.com (Dameon D. Welch-Abernathy) writes:
> On Tue, 2004-07-13 at 19:10, Wolfgang S. Rupprecht wrote:
> 
> > I'd settle for just a way of restoring it from a file.  I just got my
> > Sipura-3000, and it would be nice to keep the master config on disk
> > and under CVS.
> 
> If you generate your own configuration files and have the device
> download those configuration files from a tftp or web server, then you
> could easily do that. You need a copy of the "Sipura Profile Compiler."

Is the "Sipura Profile Compiler" some perl script that massages the
data?  Where can I ftp/http it from?  (Or is it some ms-binary, in
which case it wouldn't be all that useful to me.)

I'd really prefer just finding a spec describing the config file
syntax/format and the list of variables that I could set.  It is
perfectly fine if the downloaded file needs to be binary.  It just
needs to be well-enough defined that one can write a BSD or linux
program for.

-wolfgang
-- 
Wolfgang S. Rupprecht                http://www.wsrcc.com/wolfgang/
openbsd amd64 http://www.wsrcc.com/wolfgang/ftp/asterisk-openbsd35.patch

--__--__--

Message: 7
From: "Steve Totaro" <asterisk at totarotechnologies.com>
To: <asterisk-users at lists.digium.com>
Subject: Re: [Asterisk-Users] How to uninstall Asterisk?
Date: Mon, 14 Jun 2004 13:39:37 -0400
Reply-To: asterisk-users at lists.digium.com

LOL,

IMHO=In my humble opinion
LOL=Laughing out loud


----- Original Message ----- 
From: "ruixun wu" <ruixunwu at yahoo.ca>
To: <asterisk-users at lists.digium.com>
Sent: Wednesday, July 14, 2004 10:07 AM
Subject: Re: [Asterisk-Users] How to uninstall Asterisk?


> hi Gus and Roger,
>    Thanks for you reply. I choose no load the
> chan_oh323. The asterisk now can start again. :)
>    And Gus, could you tell me what's the meaning of
> IMHO? I can't find the topic about IMHO in WIFI.
> 
> Thanks a lot!
> Best Regards
> Rui
> 
> 
> 
> --- CW_ASN <cw_asn at fibertel.com.ar> wrote: > > Hi,
> > >    After I install openh323, the asterisk cann't
> > work
> > > anymore. Asterisk failed in loading chan_oh323. I
> > > cann't deleted the openh323 package, so the only
> > thing
> > > I can do is to reinstall Asterisk. I checked out
> > the
> > > asterisk and make install Astersik without
> > installed
> > > openh323, but when I started Asterisk, Asterisk
> > still
> > > loaded openh323 and failed.
> > >    Does anyone know how to uninstall Asterisk?
> > 
> > If you don't like to load a channel or module, you
> > can choose for two
> > methods:
> > - You can delete it. The channels and apps are
> > located in
> > /usr/lib/asterisk/modules.
> > - You can choose to not load when asterisk loads.
> > Use modules.conf, set
> >     noload => foo.so
> > 
> > At least is strage...  I'm using chan_oh323 without
> > failures, and IMHO, it's
> > more stable and powerful than others. I'm not wish
> > to start a war, it's just
> > my opinion.
> > 
> > Regards,
> > 
> > Gus
> > 
> > 
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at 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
> >  
> 
> ______________________________________________________________________ 
> Post your free ad now! http://personals.yahoo.ca
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
> 

--__--__--

Message: 8
Date: Wed, 14 Jul 2004 12:47:15 -0500
From: Charlie Hedlin <charlie at hedlin.com>
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Getting an USA phone number
Reply-To: asterisk-users at lists.digium.com

Way off topic, but I recommend BroadVoice, at www.broadvoice.com. 
Charlie

Alessio Focardi wrote:

>Hi,
>
>it may be off topic, in case excuse me.
>
>I need to get a USA phone number, possibly a Florida one.
>
>I would like to use my actual sip phone to connect, also I would love
>montly flat rates on calls.
>
>Have you got a provider to suggest that will allow me to subscribe
>with a credit card (easy) and with my Grandstream ATA sip device (less easy
it seems)?
>
>Tnx !
>
>  
>


--__--__--

Message: 9
From: Daniel Daley <dan at chameleoncode.jp>
Subject: Re: [Asterisk-Users] Asterisk crashing with no indication why.
Date: Wed, 14 Jul 2004 11:51:46 -0600
To: asterisk-users at lists.digium.com
Reply-To: asterisk-users at lists.digium.com


> That can very well be the cause - there is a known issue, first stated 
> by
> "mattf" on this list, about trouble when a manager API client looses 
> the
> connection and then another API client (maybe the same using a 
> different
> connection) comes into play.

Thankfully I read about that in the wiki and used a version of his idea 
to implement a central daemon that handles all connections. The daemon 
runs on the local machine so it shouldn't loose the connection unless 
asterisk dumps it.

> So: Stop using that deamon and see if Asterisk becomes stable.
> You could also introduce regular - but not too many! - "reloads", e.g. 
> 1-
> 4 times a day plus one "restart" during night time with the help of a
> CRON job.

Unfortunately we can't without loosing our ability to function as a 
call center, since the daemon is required to handle logins/logouts of 
our agents and reporting back to us queue statistics. Do the reloads 
help clean out pending troubles? I read a little about doing the 
restarts (which is still difficult since it logs our agents out) but 
maybe if reloads help we could try that.

> Also: Check /tmp for a core file and run gdb and a backtrace if you 
> find
> one. Search for "debugging" on the Wiki for more detailed instructions.

No luck there, I guess I'll have to keep waiting for it to happen 
again, it's been 2 days now, funny how it happens all the time when 
you're not waiting.

Thanks,

--Daniel Daley--
dan at chameleoncode.jp



--__--__--

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users


End of Asterisk-Users Digest





More information about the asterisk-users mailing list