<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hello,<br>im having trouble with the following:<br><br>[Asterisk]<------>[ISP]<------>[ADSL Modem]<------>[Linksys Router]<------>[Grandstream ATA]<------>[Analog Phone]<br><br>On server:<br>- Asterisk 1.6<br>- A2Billing 1.4<br><br>A2Billing have 2 Trunks:<br><br>- TrExt: Voip Provider<br>- TrInt: Internal Calls<br><br>This structure works on first day (Asterisk+A2Billing installation/configuration).<br><br>But on next day, i found a registration trouble in ATA:<br>It (ata) can not be reached by asterisk (to receive internal call), but it can made OUTBOUND calls (via SIP Prov.)<br><br>Anyone knows if there is a NAT problem?<br><br>Following my configuration:<br><br>1 - PROBLEMATIC SIP PEER (Configured on ATA) ##############################################################<br> [6000]<br> Accountcode=6000<br> Regexten=6000<br> amaflags=billing<br> Callerid=6000<br> canreinvite=yes<br> context=a2billing<br> dtmfmode=RFC2833<br> host=dynamic<br> nat=yes<br> qualify=yes<br> secret=1873<br> type=friend<br> Username=6000<br> disallow=all<br> allow=gsm<br> allow=g729<br> allow=ulaw<br> allow=alaw<br> regseconds=0<br> cancallforward=yes<br> cid_number=6000<br><br>2 - A2Billing LOG Lines ##################################################################################<br><br> -- AGI Script Executing Application: (DIAL) Options: (SIP/6000,60,HRrL(5400000:61000:30000)f)<br> == Using SIP RTP CoS mark 5<br> [Apr 6 18:35:25] WARNING[13210]: app_dial.c:1745 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)<br> == Everyone is busy/congested at this time (1:0/0/1)<br> -- Playing 'prepaid-dest-unreachable' (escape_digits=#) (sample_offset 0)<br> -- <SIP/35419-00000172>AGI Script a2billing.php completed, returning -1<br> -- Executing [h@a2billing:1] NoOp("SIP/35419-00000172", "HANGUPCAUSE-> 20") in new stack<br> -- Executing [h@a2billing:2] Hangup("SIP/35419-00000172", "") in new stack<br> == Spawn extension (a2billing, h, 2) exited non-zero on 'SIP/35419-00000172'<br><br>3 - SIP SHOW PEERS ##############################################################################<br> ip-208-109-104-119*CLI> sip show peers<br> Name/username Host Dyn Nat ACL Port Status<br> 6000/6000 (Unspecified) D N 5060 UNKNOWN<br><br>4 - SIP SHOW PEER 6000 ###########################################################################<br> * Name : 6000I><br> Secret : <Set>><br> MD5Secret : <Not set><br> Remote Secret: <Not set><br> Context : a2billing<br> Subscr.Cont. : <Not set><br> Language : 9*CLI><br> Accountcode : 6000I><br> AMA flags : BILLING<br> Transfer mode: openI><br> CallingPres : Presentation Allowed, Not Screened<br> Callgroup : 9*CLI><br> Pickupgroup : 9*CLI><br> Mailbox : 9*CLI><br> VM Extension : asterisk<br> LastMsgsSent : 32767/65535<br> Call limit : 0*CLI><br> Dynamic : YesLI><br> Callerid : "" <6000><br> MaxCallBR : 384 kbps<br> Expire : -1CLI><br> Insecure : noCLI><br> Nat : Always<br> ACL : NoCLI><br> T.38 support : NoCLI><br> T.38 EC mode : Unknown<br> T.38 MaxDtgrm: -1CLI><br> DirectMedia : YesLI><br> PromiscRedir : NoCLI><br> User=Phone : NoCLI><br> Video Support: NoCLI><br> Text Support : NoCLI><br> Ign SDP ver : NoCLI><br> Trust RPID : NoCLI><br> Send RPID : NoCLI><br> Subscriptions: YesLI><br> Overlap dial : YesLI><br> DTMFmode : rfc2833<br> Timer T1 : 500LI><br> Timer B : 32000><br> ToHost : 9*CLI><br> Addr->IP : (Unspecified) Port 5060<br> Defaddr->IP : 0.0.0.0 Port 5060<br> Prim.Transp. : UDPLI><br> Allowed.Trsp : UDPLI><br> Def. Username: 6000I><br> SIP Options : (none)<br> Codecs : 0x10e (gsm|ulaw|alaw|g729)<br> Codec Order : (gsm:20,g729:20,ulaw:20,alaw:20)<br> Auto-Framing : No I><br> 100 on REG : NoCLI><br> Status : UNKNOWN<br> Useragent : 9*CLI><br> Reg. Contact : 9*CLI><br> Qualify Freq : 60000 ms<br> Sess-Timers : Accept<br> Sess-Refresh : uasLI><br> Sess-Expires : 1800 secs<br> Min-Sess : 90 secs<br> Parkinglot : 9*CLI><br><br><br>--------------------------------------------<br><br>Weel, from this point to ahead, the problem appears to be intermittent.<br>In a moment its owrking. In a couple minutes (or hours), the ATA seems to be down (Unreacheable)<br><br>But OUTBOUND calls are always perfect.<br><br>Anyone knows something about this kind of problem?<br><br>Marcelo Amorim Ferreira<br>[<O>] Brasil<br><br>                                            <br /><hr />Quer ver seus e-mails de todas as contas num lugar só? <a href='http://www.windowslive.com.br/public/tip.aspx/view/16?product=1&ocid=CRM-WindowsLive:dicaPopAggregator:Tagline:WLCRM:On:WL:pt-BR:Hotmail' target='_new'>Junte todas elas no Hotmail.</a></body>
</html>