[Asterisk-Users] Spawn extension.....exited non-zero

Matt Williams rehashed at hotmail.com
Tue Sep 14 11:20:00 MST 2004


I am recieving inbound calls to my asterisk box over IAX.
And getting "spawn extension....exited non-zero" errors.
Im not entirely sure what this means, and would appreciate any help in 
fixing my problem.
FYI:
********** is the inbound phone number
x.x.x.x is a remote asterisk box calling my own asterisk box.

When I choose it to dial an internal extension using this dialplan:

exten => *********,1,Dial(${GRANDSTREAM},20);

the phone "blips" and I get this error in the asterisk console:

-- Accepting unauthenticated call from x.x.x.x, requested format = 8, actual 
format = 2
    -- Executing Dial("IAX2/*********@*********/1", "SIP/grandstream|20") in 
new stack
    -- Called grandstream
  == Spawn extension (inbound, *********, 1) exited non-zero on 
'IAX2/*********@*********/1'
    -- Hungup 'IAX2/*********@*********/1'

And if I try to just answer the call and play a message using this dialplan:

exten => *********,1,Answer
exten => *********,2,BackGround(demo-congrats)

I get this error:

    -- Accepting unauthenticated call from x.x.x.x, requested format = 8, 
actual format = 2
    -- Executing Answer("IAX2/*********@*********/5", "") in new stack
    -- Executing BackGround("IAX2/*********@*********/5", "demo-congrats") 
in new stack
    -- Playing 'demo-congrats' (language 'en')
Sep 14 19:08:10 NOTICE[138140672]: chan_iax2.c:2375 iax2_read: I should 
never be called!
Sep 14 19:08:10 WARNING[138140672]: file.c:548 ast_readaudio_callback: 
Failed to write frame
  == Spawn extension (inbound, *********, 2) exited non-zero on 
'IAX2/*********@*********/5'
    -- Hungup 'IAX2/*********@*********/5'


If this helps:

I am running on FreeBSD (my previous asterisk server was also freebsd and 
with no problems)
My processor is hyperthreading (a first for me - but i read there may be a 
problem with it?)

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger




More information about the asterisk-users mailing list