Hello, im having trouble with the following: [Asterisk]<------>[ISP]<------>[ADSL Modem]<------>[Linksys Router]<------>[Grandstream ATA]<------>[Analog Phone] On server: - Asterisk 1.6 - A2Billing 1.4 A2Billing have 2 Trunks: - TrExt: Voip Provider - TrInt: Internal Calls This structure works on first day (Asterisk+A2Billing installation/configuration). But on next day, i found a registration trouble in ATA: It (ata) can not be reached by asterisk (to receive internal call), but it can made OUTBOUND calls (via SIP Prov.) Anyone knows if there is a NAT problem? Following my configuration: 1 - PROBLEMATIC SIP PEER (Configured on ATA) ############################################################## [6000] Accountcode=6000 Regexten=6000 amaflags=billing Callerid=6000 canreinvite=yes context=a2billing dtmfmode=RFC2833 host=dynamic nat=yes qualify=yes secret=1873 type=friend Username=6000 disallow=all allow=gsm allow=g729 allow=ulaw allow=alaw regseconds=0 cancallforward=yes cid_number=6000 2 - A2Billing LOG Lines ################################################################################## -- AGI Script Executing Application: (DIAL) Options: (SIP/6000,60,HRrL(5400000:61000:30000)f) == Using SIP RTP CoS mark 5 [Apr 6 18:35:25] WARNING[13210]: app_dial.c:1745 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown) == Everyone is busy/congested at this time (1:0/0/1) -- Playing 'prepaid-dest-unreachable' (escape_digits=#) (sample_offset 0) -- <SIP/35419-00000172>AGI Script a2billing.php completed, returning -1 -- Executing [h at a2billing:1] NoOp("SIP/35419-00000172", "HANGUPCAUSE-> 20") in new stack -- Executing [h at a2billing:2] Hangup("SIP/35419-00000172", "") in new stack == Spawn extension (a2billing, h, 2) exited non-zero on 'SIP/35419-00000172' 3 - SIP SHOW PEERS ############################################################################## ip-208-109-104-119*CLI> sip show peers Name/username Host Dyn Nat ACL Port Status 6000/6000 (Unspecified) D N 5060 UNKNOWN 4 - SIP SHOW PEER 6000 ########################################################################### * Name : 6000I> Secret : <Set>> MD5Secret : <Not set> Remote Secret: <Not set> Context : a2billing Subscr.Cont. : <Not set> Language : 9*CLI> Accountcode : 6000I> AMA flags : BILLING Transfer mode: openI> CallingPres : Presentation Allowed, Not Screened Callgroup : 9*CLI> Pickupgroup : 9*CLI> Mailbox : 9*CLI> VM Extension : asterisk LastMsgsSent : 32767/65535 Call limit : 0*CLI> Dynamic : YesLI> Callerid : "" <6000> MaxCallBR : 384 kbps Expire : -1CLI> Insecure : noCLI> Nat : Always ACL : NoCLI> T.38 support : NoCLI> T.38 EC mode : Unknown T.38 MaxDtgrm: -1CLI> DirectMedia : YesLI> PromiscRedir : NoCLI> User=Phone : NoCLI> Video Support: NoCLI> Text Support : NoCLI> Ign SDP ver : NoCLI> Trust RPID : NoCLI> Send RPID : NoCLI> Subscriptions: YesLI> Overlap dial : YesLI> DTMFmode : rfc2833 Timer T1 : 500LI> Timer B : 32000> ToHost : 9*CLI> Addr->IP : (Unspecified) Port 5060 Defaddr->IP : 0.0.0.0 Port 5060 Prim.Transp. : UDPLI> Allowed.Trsp : UDPLI> Def. Username: 6000I> SIP Options : (none) Codecs : 0x10e (gsm|ulaw|alaw|g729) Codec Order : (gsm:20,g729:20,ulaw:20,alaw:20) Auto-Framing : No I> 100 on REG : NoCLI> Status : UNKNOWN Useragent : 9*CLI> Reg. Contact : 9*CLI> Qualify Freq : 60000 ms Sess-Timers : Accept Sess-Refresh : uasLI> Sess-Expires : 1800 secs Min-Sess : 90 secs Parkinglot : 9*CLI> -------------------------------------------- Weel, from this point to ahead, the problem appears to be intermittent. In a moment its owrking. In a couple minutes (or hours), the ATA seems to be down (Unreacheable) But OUTBOUND calls are always perfect. Anyone knows something about this kind of problem? Marcelo Amorim Ferreira [<O>] Brasil _________________________________________________________________ O Novo Windows 7 funciona do jeito que voc? quer. Clique aqui para conhecer! http://www.microsoft.com/brasil/windows7/default.html?WT.mc_id=1539 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100413/c17f4a55/attachment.htm