Sem assunto


Segunda Agosto 11 22:30:11 BRT 2008


=20
When defining your trunk configuration=2C you can take asterisk trunk confi=
guration. You have to insert the same name you use to define the trunk in a=
sterisk. If you are defining a SIP trunk and the carrier needs authenticati=
on=2C remember to add the following configuration in sip.conf
=20
By
=20
2008/8/24 Samuel Ferreira da Silva <samuel_tiosam em hotmail.com>

Ol=E1 Pessoal=2C Tenho um a2billing aqui s=F3 que ele n=E3o liga j=E1 cadas=
trei o tronco no no sip.conf.criei no a2billing o tronco  como segue ai aba=
ixo ja dei permiss=E3o pros arquivos relacionados com o a2billingestou disc=
ando : 0055773471XXXX. Op=E7=E3o: > Create provider PROVIDER NAME :telebras=
ilvoip  Op=E7=E3o: > Add trunk VOIP-PROVIDER :telebrasilvoipLABEL : telebra=
silvoip1ADD PREFIX: em brancoREMOVE PREFIX: em brancoPROVIDER TECH: SIPPROV=
IDER IP: sip.telebrasilvoip.com.brADDITIONAL PARAMETER: em brancoFAILOVER T=
RUNK: NOT DEFINED Op=E7=E3o > Create Customers =3D>  CADASTRADOOp=E7=E3o > =
Add Rate =3D> CADASTRADOOP=C7=C3O > Create SIP-FRIEND =3D> CADASTRADOOp=E7=
=E3o >  Create Call Plan  =3D>  CADASTRADO NO SIP.CONF: register=3D40204500=
:minhasenha em sip.telebrasilvoip.com.br:5060/40204500[40204500]username=3D402=
04500type=3Dpeersecret=3D minhasenhaport=3D5060insecure=3Dveryhost=3Dsip.te=
lebrasilvoip.com.brfromuser=3D40204500fromdomain=3Dsip.telebrasilvoip.com.b=
rdtmfmode=3Drfc2833disallow=3Dallcontext=3Da2billingallow=3Dgsmallow=3Dg729=
allow=3Dilbcallow=3Dalaw#include additional_a2billing_sip.confNO EXTENSIONS=
.CONF [a2billing]include =3D> defaultinclude =3D> demoexten =3D> _X.=2C1=2C=
Answerexten =3D> _X.=2Cn=2CWait(1)exten =3D> _X.=2Cn=2CAGI(a2billing.php|1)=
=3Bexten =3D> _X.=2Cn=2CDeadAGI(a2billing.php|1)exten =3D> _X.=2Cn=2CHangup=
 exten=3D> _X.=2CDial(SIP/${EXTEN}@40204500=2C90=2CrT)[a2billing-callback]e=
xten =3D> _X.=2C1=2CAGI(a2billing.php|1|callback)exten =3D> _X.=2Cn=2CHangu=
p[a2billing-cid-callback]exten =3D> _X.=2C1=2CAGI(a2billing.php|1|cid-callb=
ack|34) =3Blast parameter is the callback area codeexten =3D> _X.=2Cn=2CHan=
gup[a2billing-all-callback]exten =3D> _X.=2C1=2CAGI(a2billing.php|1|all-cal=
lback|34) =3Blast parameter is the callback area codeexten =3D> _X.=2Cn=2CH=
angup[a2billing-predictivedialer]exten =3D> _X.=2C1=2CAGI(a2billing.php|1|p=
redictivedialer)exten =3D> _X.=2Cn=2CHangup[a2billing-did]exten =3D> _X.=2C=
1=2CAGI(a2billing.php|1|did)exten =3D> _X.=2C2=2CHangup[a2billing-voucher]e=
xten =3D> _X.=2C1=2CAGI(a2billing.php|1|voucher)=3Bexten =3D> _X.=2C1=2CAGI=
(a2billing.php|1|voucher|44) =3B will add 44 in front of the callerID for t=
he CID authenticationexten =3D> _X.=2Cn=2CHangupSAIDA DO AGI: Verbosity is =
at least 15    -- Remote UNIX connection    -- Executing Answer("SIP/082939=
9439-0819b770"=2C "") in new stack    -- Executing Wait("SIP/0829399439-081=
9b770"=2C "1") in new stack    -- Executing AGI("SIP/0829399439-0819b770"=
=2C "a2billing.php|1") in new stack    -- Launched AGI Script /usr/share/as=
terisk/agi-bin/a2billing.phpAGI Tx >> agi_request: a2billing.phpAGI Tx >> a=
gi_channel: SIP/0829399439-0819b770AGI Tx >> agi_language: enAGI Tx >> agi_=
type: SIPAGI Tx >> agi_uniqueid: 1219597073.3AGI Tx >> agi_callerid: 132784=
311872962AGI Tx >> agi_calleridname: unknownAGI Tx >> agi_callingpres: 0AGI=
 Tx >> agi_callingani2: 0AGI Tx >> agi_callington: 0AGI Tx >> agi_callingtn=
s: 0AGI Tx >> agi_dnid: 005507734713163AGI Tx >> agi_rdnis: unknownAGI Tx >=
> agi_context: a2billingAGI Tx >> agi_extension: 005507734713163AGI Tx >> a=
gi_priority: 3AGI Tx >> agi_enhanced: 0.0AGI Tx >> agi_accountcode: 0829399=
439AGI Tx >>     -- AGI Script a2billing.php completed=2C returning 0    --=
 Executing Hangup("SIP/0829399439-0819b770"=2C "") in new stack  =3D=3D Spa=
wn extension (a2billing=2C 005507734713163=2C 4) exited non-zero on 'SIP/08=
29399439-0819b770'verde*CLI>  Se alguem tem uma sugest=E3o de configura=E7=
=E3o me ajude. Atenciosamente:Samuel Ferreira da SilvaMSN : samuel_tiosam em h=
otmail.com    =20

Instale a Barra de Ferramentas com Desktop Search e ganhe EMOTICONS para o =
Messenger! =C9 GR=C1TIS!_______________________________________________Comp=
re uma camiseta da AsteriskBrasil.org!http://www.voipmania.com.brAcesse o c=
anal IRC de discuss=E3o sobre Asterisk em Portugu=EAs Brasileiro na rede Fr=
eenode.net: #asterisk-br_______________________________________________List=
a de discuss=F5es AsteriskBrasil.orgAsteriskBrasil em listas.asteriskbrasil.or=
ghttp://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil



_______________________________________________Compre uma camiseta da Aster=
iskBrasil.org!http://www.voipmania.com.brAcesse o canal IRC de discuss=E3o =
sobre Asterisk em Portugu=EAs Brasileiro na rede Freenode.net: #asterisk-br=
_______________________________________________Lista de discuss=F5es Asteri=
skBrasil.orgAsteriskBrasil em listas.asteriskbrasil.orghttp://listas.asteriskb=
rasil.org/mailman/listinfo/asteriskbrasil__________ Informa=E7=E3o do NOD32=
 IMON 3382 (20080823) __________Esta mensagem foi verificada pelo NOD32 sis=
tema antiv=EDrushttp://www.eset.com.br
_________________________________________________________________
Instale a Barra de Ferramentas com Desktop Search e ganhe EMOTICONS para o =
Messenger! =C9 GR=C1TIS!
http://www.msn.com.br/emoticonpack=

--_ed17b70c-6b2d-4496-bd9d-b975adb911ac_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style>
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt=3B
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class=3D'hmmessage'><BR>Eduardo na minha tabela o prefixo esta com a =
op=E7=E3o : defaultprefix =3D&gt=3B tarifa padr=E3o para prefixos n=E3o esp=
ecificados.<BR>
e o Destino default. DNIDPREFIX=3Dall CIDPREFIX=3Dall.<BR>
Estou discando =3D&gt=3B 00550773471XXXX&nbsp=3B j=E1 no provedor a discage=
m =E9: 0DD3471XXXX.<BR>
tarifplan =3D&gt=3B LCD : seller price=2C pelo menor pre=E7o.Com um s=F3 ra=
tecard =3D&gt=3B default.<BR>
&nbsp=3B<BR>
&nbsp=3B<BR>
Atenciosamente=2C<BR>
Samuel Ferreira<BR>
&nbsp=3B<BR>
<BR><BR><BR>&nbsp=3B<BR>

<HR id=3DEC_stopSpelling>
<BR>
From: eduardo em impactovoip.com.br<BR>To: asteriskbrasil em listas.asteriskbrasi=
l.org<BR>Date: Mon=2C 25 Aug 2008 08:53:54 -0300<BR>Subject: Re: [AsteriskB=
rasil] Cadastrar tronco no a2billing<BR><BR><BR>
<META content=3D"Microsoft SafeHTML" name=3DGenerator>
<STYLE>
</STYLE>

<DIV><FONT face=3DArial size=3D2>Bom dia Samuel=2C verifique se voce tem es=
te mesmo prefixo em sua tabela=2C exemplo se sua tabela esta 055077&nbsp=3B=
&nbsp=3B e&nbsp=3B&nbsp=3B voce disca&nbsp=3B 0055077&nbsp=3B&nbsp=3B ele n=
=E3o vai encontrar &nbsp=3Ba ratecard e n=E3o vai ligar</FONT></DIV>
<DIV>&nbsp=3B</DIV>
<BLOCKQUOTE style=3D"PADDING-RIGHT: 0px=3B PADDING-LEFT: 5px=3B MARGIN-LEFT=
: 5px=3B BORDER-LEFT: #000000 2px solid=3B MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV style=3D"BACKGROUND: #e4e4e4=3B FONT: 10pt arial=3B font-color: black"=
><B>From:</B> <A title=3Dgiovbs em gmail.com href=3D"mailto:giovbs em gmail.com">=
Giovanni</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Dasteriskbrasil em listas=
.asteriskbrasil.org href=3D"mailto:asteriskbrasil em listas.asteriskbrasil.org=
">asteriskbrasil em listas.asteriskbrasil.org</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Sunday=2C August 24=2C 2008 6:=
29 PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [AsteriskBrasil] Cadast=
rar tronco no a2billing</DIV>
<DIV><BR></DIV>
<DIV dir=3Dltr>
<DIV>Acho isso o seu erro:</DIV>
<DIV>&nbsp=3B</DIV>
<DIV>From the Manual:</DIV>
<DIV>&nbsp=3B</DIV>
<DIV>When defining your trunk configuration=2C you can take asterisk trunk =
configuration. You have to insert the same name you use to define the trunk=
 in asterisk. If you are defining a SIP trunk and the carrier needs authent=
ication=2C remember to add the following configuration in sip.conf</DIV>
<DIV>&nbsp=3B</DIV>
<DIV>By</DIV>
<DIV><BR>&nbsp=3B</DIV>
<DIV class=3DEC_gmail_quote>2008/8/24 Samuel Ferreira da Silva <SPAN dir=3D=
ltr>&lt=3B<A href=3D"mailto:samuel_tiosam em hotmail.com">samuel_tiosam em hotmai=
l.com</A>&gt=3B</SPAN><BR>
<BLOCKQUOTE class=3DEC_gmail_quote style=3D"PADDING-LEFT: 1ex=3B BORDER-LEF=
T: #ccc 1px solid">
<DIV><BR>Ol=E1 Pessoal=2C<BR>&nbsp=3B<BR>Tenho um a2billing aqui s=F3 que e=
le n=E3o liga j=E1 cadastrei o tronco no no sip.conf.<BR>criei no a2billing=
 o tronco&nbsp=3B como segue ai abaixo ja dei permiss=E3o pros arquivos rel=
acionados com o a2billing<BR>estou discando : 0055773471XXXX.<BR>&nbsp=3B<B=
R>Op=E7=E3o: &gt=3B Create provider<BR>&nbsp=3B<BR>PROVIDER NAME :telebrasi=
lvoip <BR>&nbsp=3B<BR>Op=E7=E3o: &gt=3B Add trunk<BR>&nbsp=3B<BR>VOIP-PROVI=
DER :telebrasilvoip<BR>LABEL : telebrasilvoip1<BR>ADD PREFIX: em branco<BR>=
REMOVE PREFIX: em branco<BR>PROVIDER TECH: SIP<BR>PROVIDER IP: <A href=3D"h=
ttp://sip.telebrasilvoip.com.br/" target=3D_blank>sip.telebrasilvoip.com.br=
</A><BR>ADDITIONAL PARAMETER: em branco<BR>FAILOVER TRUNK: NOT DEFINED<BR>&=
nbsp=3B<BR>Op=E7=E3o &gt=3B Create Customers =3D&gt=3B&nbsp=3B CADASTRADO<B=
R>Op=E7=E3o &gt=3B Add Rate =3D&gt=3B CADASTRADO<BR>OP=C7=C3O &gt=3B Create=
 SIP-FRIEND =3D&gt=3B CADASTRADO<BR>Op=E7=E3o &gt=3B&nbsp=3B Create Call Pl=
an&nbsp=3B =3D&gt=3B&nbsp=3B CADASTRADO<BR>&nbsp=3B<BR>NO SIP.CONF:<BR>&nbs=
p=3B<BR>register=3D<A href=3D"http://sip.telebrasilvoip.com.br:5060/4020450=
0" target=3D_blank>40204500:minhasenha em sip.telebrasilvoip.com.br:5060/40204=
500</A><BR><BR>[40204500]<BR>username=3D40204500<BR>type=3Dpeer<BR>secret=
=3D minhasenha<BR>port=3D5060<BR>insecure=3Dvery<BR>host=3D<A href=3D"http:=
//sip.telebrasilvoip.com.br/" target=3D_blank>sip.telebrasilvoip.com.br</A>=
<BR>fromuser=3D40204500<BR>fromdomain=3D<A href=3D"http://sip.telebrasilvoi=
p.com.br/" target=3D_blank>sip.telebrasilvoip.com.br</A><BR>dtmfmode=3Drfc2=
833<BR>disallow=3Dall<BR>context=3Da2billing<BR>allow=3Dgsm<BR>allow=3Dg729=
<BR>allow=3Dilbc<BR>allow=3Dalaw<BR>#include additional_a2billing_sip.conf<=
BR><BR>NO EXTENSIONS.CONF <BR>[a2billing]<BR>include =3D&gt=3B default<BR>i=
nclude =3D&gt=3B demo<BR>exten =3D&gt=3B _X.=2C1=2CAnswer<BR>exten =3D&gt=
=3B _X.=2Cn=2CWait(1)<BR>exten =3D&gt=3B _X.=2Cn=2CAGI(a2billing.php|1)<BR>=
=3Bexten =3D&gt=3B _X.=2Cn=2CDeadAGI(a2billing.php|1)<BR>exten =3D&gt=3B _X=
.=2Cn=2CHangup<BR>&nbsp=3B<BR>exten=3D&gt=3B _X.=2CDial(<A href=3D"mailto:S=
IP/$%7BEXTEN%7D em 40204500=2C90=2CrT">SIP/${EXTEN}@40204500=2C90=2CrT</A>)<BR=
>[a2billing-callback]<BR>exten =3D&gt=3B _X.=2C1=2CAGI(a2billing.php|1|call=
back)<BR>exten =3D&gt=3B _X.=2Cn=2CHangup<BR><BR>[a2billing-cid-callback]<B=
R>exten =3D&gt=3B _X.=2C1=2CAGI(a2billing.php|1|cid-callback|34) =3Blast pa=
rameter is the callback area code<BR>exten =3D&gt=3B _X.=2Cn=2CHangup<BR><B=
R>[a2billing-all-callback]<BR>exten =3D&gt=3B _X.=2C1=2CAGI(a2billing.php|1=
|all-callback|34) =3Blast parameter is the callback area code<BR>exten =3D&=
gt=3B _X.=2Cn=2CHangup<BR>[a2billing-predictivedialer]<BR>exten =3D&gt=3B _=
X.=2C1=2CAGI(a2billing.php|1|predictivedialer)<BR>exten =3D&gt=3B _X.=2Cn=
=2CHangup<BR>[a2billing-did]<BR>exten =3D&gt=3B _X.=2C1=2CAGI(a2billing.php=
|1|did)<BR>exten =3D&gt=3B _X.=2C2=2CHangup<BR><BR>[a2billing-voucher]<BR>e=
xten =3D&gt=3B _X.=2C1=2CAGI(a2billing.php|1|voucher)<BR>=3Bexten =3D&gt=3B=
 _X.=2C1=2CAGI(a2billing.php|1|voucher|44) =3B will add 44 in front of the =
callerID for the CID authentication<BR>exten =3D&gt=3B _X.=2Cn=2CHangup<BR>=
<BR>SAIDA DO AGI:<BR>&nbsp=3B<BR>Verbosity is at least&nbsp=3B15<BR>&nbsp=
=3B&nbsp=3B&nbsp=3B -- Remote UNIX connection<BR>&nbsp=3B&nbsp=3B&nbsp=3B -=
- Executing Answer("SIP/0829399439-0819b770"=2C "") in new stack<BR>&nbsp=
=3B&nbsp=3B&nbsp=3B -- Executing Wait("SIP/0829399439-0819b770"=2C "1") in =
new stack<BR>&nbsp=3B&nbsp=3B&nbsp=3B -- Executing AGI("SIP/0829399439-0819=
b770"=2C "a2billing.php|1") in new stack<BR>&nbsp=3B&nbsp=3B&nbsp=3B -- Lau=
nched AGI Script /usr/share/asterisk/agi-bin/a2billing.php<BR>AGI Tx &gt=3B=
&gt=3B agi_request: a2billing.php<BR>AGI Tx &gt=3B&gt=3B agi_channel: SIP/0=
829399439-0819b770<BR>AGI Tx &gt=3B&gt=3B agi_language: en<BR>AGI Tx &gt=3B=
&gt=3B agi_type: SIP<BR>AGI Tx &gt=3B&gt=3B agi_uniqueid: 1219597073.3<BR>A=
GI Tx &gt=3B&gt=3B agi_callerid: 132784311872962<BR>AGI Tx &gt=3B&gt=3B agi=
_calleridname: unknown<BR>AGI Tx &gt=3B&gt=3B agi_callingpres: 0<BR>AGI Tx =
&gt=3B&gt=3B agi_callingani2: 0<BR>AGI Tx &gt=3B&gt=3B agi_callington: 0<BR=
>AGI Tx &gt=3B&gt=3B agi_callingtns: 0<BR>AGI Tx &gt=3B&gt=3B agi_dnid: 005=
507734713163<BR>AGI Tx &gt=3B&gt=3B agi_rdnis: unknown<BR>AGI Tx &gt=3B&gt=
=3B agi_context: a2billing<BR>AGI Tx &gt=3B&gt=3B agi_extension: 0055077347=
13163<BR>AGI Tx &gt=3B&gt=3B agi_priority: 3<BR>AGI Tx &gt=3B&gt=3B agi_enh=
anced: 0.0<BR>AGI Tx &gt=3B&gt=3B agi_accountcode: 0829399439<BR>AGI Tx &gt=
=3B&gt=3B <BR>&nbsp=3B&nbsp=3B&nbsp=3B -- AGI Script a2billing.php complete=
d=2C returning 0<BR>&nbsp=3B&nbsp=3B&nbsp=3B -- Executing Hangup("SIP/08293=
99439-0819b770"=2C "") in new stack<BR>&nbsp=3B =3D=3D Spawn extension (a2b=
illing=2C 005507734713163=2C 4) exited non-zero on 'SIP/0829399439-0819b770=
'<BR>verde*CLI&gt=3B <BR>&nbsp=3B<BR>Se alguem tem uma sugest=E3o de config=
ura=E7=E3o me ajude.<BR>&nbsp=3B<BR>Atenciosamente:<BR>Samuel Ferreira da S=
ilva<BR>MSN : <A href=3D"mailto:samuel_tiosam em hotmail.com">samuel_tiosam em ho=
tmail.com</A><BR>&nbsp=3B<BR>&nbsp=3B<BR>&nbsp=3B<BR>&nbsp=3B<BR>&nbsp=3B<B=
R><BR>
<HR>
Instale a Barra de Ferramentas com Desktop Search e ganhe EMOTICONS para o =
Messenger! <A href=3D"http://www.msn.com.br/emoticonpack" target=3D_blank>=
=C9 GR=C1TIS!</A></DIV><BR>_______________________________________________<=
BR>Compre uma camiseta da AsteriskBrasil.org!<BR><A href=3D"http://www.voip=
mania.com.br/" target=3D_blank>http://www.voipmania.com.br</A><BR><BR>Acess=
e o canal IRC de discuss=E3o sobre Asterisk em Portugu=EAs Brasileiro na re=
de Freenode.net: #asterisk-br<BR>__________________________________________=
_____<BR>Lista de discuss=F5es AsteriskBrasil.org<BR><A href=3D"mailto:Aste=
riskBrasil em listas.asteriskbrasil.org">AsteriskBrasil em listas.asteriskbrasil.=
org</A><BR><A href=3D"http://listas.asteriskbrasil.org/mailman/listinfo/ast=
eriskbrasil" target=3D_blank>http://listas.asteriskbrasil.org/mailman/listi=
nfo/asteriskbrasil</A><BR></BLOCKQUOTE></DIV><BR></DIV>

<HR>

<P><BR>_______________________________________________<BR>Compre uma camise=
ta da AsteriskBrasil.org!<BR>http://www.voipmania.com.br<BR><BR>Acesse o ca=
nal IRC de discuss=E3o sobre Asterisk em Portugu=EAs Brasileiro na rede Fre=
enode.net: #asterisk-br<BR>_______________________________________________<=
BR>Lista de discuss=F5es AsteriskBrasil.org<BR>AsteriskBrasil em listas.asteri=
skbrasil.org<BR>http://listas.asteriskbrasil.org/mailman/listinfo/asteriskb=
rasil<BR><BR>__________ Informa=E7=E3o do NOD32 IMON 3382 (20080823) ______=
____<BR><BR>Esta mensagem foi verificada pelo NOD32 sistema antiv=EDrus<BR>=
http://www.eset.com.br<BR><BR></BLOCKQUOTE><br /><hr />Veja mapas e encontr=
e as melhores rotas para fugir do tr=E2nsito com o Live Search Maps! <a hre=
f=3D'http://www.livemaps.com.br/index.aspx?tr=3Dtrue' target=3D'_new'>Exper=
imente j=E1!</a></body>
</html>=

--_ed17b70c-6b2d-4496-bd9d-b975adb911ac_--


More information about the AsteriskBrasil mailing list