[Asterisk-Users] Outgoing Call problem with PSTN line

Mark Emery emerym at citymax.org
Sun Mar 20 03:48:39 MST 2005


Hi,

I've got an Asterisk system that I've just added an X100P card to.

Incoming calls route to my call group just fine.  When I make outgoing calls 
by prefixing with 9, they route to the PSTN network okay, get answered but 
then drop straight away.

Has anyone seen this before and found a fix? I'm in the UK using a phone line 
from NTL.  I've Googled for a bit, can find others who had the same problem 
but they didn't post a solution.

This is what I see in the console:

  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/2002-7743'
    -- Executing Macro("SIP/2002-189f", "dialout|1|9123") in new stack
    -- Executing GotoIf("SIP/2002-189f", "1?4") in new stack
    -- Goto (macro-dialout,s,4)
    -- Executing GotoIf("SIP/2002-189f", "1?6") in new stack
    -- Goto (macro-dialout,s,6)
    -- Executing SetVar("SIP/2002-189f", "length=1") in new stack
    -- Executing Dial("SIP/2002-189f", "ZAP/g0/123") in new stack
    -- Called g0/123
    -- Zap/1-1 answered SIP/2002-189f
    -- Hungup 'Zap/1-1'
  == Spawn extension (macro-dialout, s, 7) exited non-zero on 'SIP/2002-189f' 
in macro 'dialout'
  == Spawn extension (from-internal, 9123, 1) exited non-zero on 
'SIP/2002-189f'
    -- Executing Macro("SIP/2002-189f", "hangupcall") in new stack
    -- Executing ResetCDR("SIP/2002-189f", "w") in new stack
    -- Executing NoCDR("SIP/2002-189f", "") in new stack
    -- Executing Wait("SIP/2002-189f", "5") in new stack
    -- Executing Hangup("SIP/2002-189f", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 
'SIP/2002-189f' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/2002-189f'

My zaptel.conf has:

fxsks = 1
loadzone = uk
defaultzone = uk

Thanks,
Mark



More information about the asterisk-users mailing list