Christoph Kampka
2004-Oct-16 03:39 UTC
[Asterisk-Users] sipgate cannot dial out / loop detected
Hi all, I have troubles getting outgoing calls to work with sipgate. Tried all possible constellations, copied posted configs, nothing. Registration or incoming calls never a problem. If I use a SIP phone from my network it works. * doesn't. I always get 482 Loop Detected -------------------------- -- Starting simple switch on 'Zap/2-1' -- Executing SetCallerID("Zap/2-1", ""8004277" <8004277>") in new stack -- Executing Dial("Zap/2-1", "SIP/$(EXTEN:3)@sipgate") in new stack -- Called $(EXTEN:3)@sipgate -- Got SIP response 482 "Loop Detected" back from 217.10.79.9 -- Now forwarding Zap/2-1 to 'Local/$(EXTEN:3)@sipincoming' (thanks to SIP/sipgate-92b0) Oct 16 12:36:29 NOTICE[278554]: chan_local.c:374 local_alloc: No such extension/context sipincoming@$(EXTEN:3) creating local channel Oct 16 12:36:29 NOTICE[278554]: app_dial.c:232 wait_for_answer: Unable to create local channel for call forward to 'Local/$(EXTEN:3)@sipincoming' == Everyone is busy/congested at this time -- Executing Hangup("Zap/2-1", "") in new stack == Spawn extension (default, 92010000, 3) exited non-zero on 'Zap/2-1' -- Hungup 'Zap/2-1' ---------------------------- Below my current configs. What am I doing wrong? ----------------------------------- sip.conf [general] port=5060 bindaddr=192.168.1.9 externip=xxxxxx.dyndns.org localnet=192.168.1.0/255.255.255.0 context=sipincoming srvlookup=yes tos=reliability disallow=all allow=ulaw allow=alaw allow=gsm register => 8004277:xxxxxxxx@sipgate.de/8004277 [sipgate] type=friend username=8004277 secret=xxxxxx host=sipgate.de insecure=very nat=yes canreinvite=no fromuser=8004277 fromdomain=sipgate.net ------------------------------------- extensions.conf exten => _920.,1,SetCallerID("8004277" <8004277>) exten => _920.,2,Dial(SIP/$(EXTEN:3)@sipgate) exten => _920.,3,Hangup --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.775 / Virus Database: 522 - Release Date: 08-10-04