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

matt.riddell at sineapps.com matt.riddell at sineapps.com
Tue Sep 14 16:36:14 MST 2004


On 14 Sep 2004 at 18:20, Matt Williams wrote:

> 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?)
> 

Yeah I have read there may be a problem with it to.  If possible, it  
would be worth testing with HT turned off and post your results.

Also, if this does not work, maybe it would pay to post some more of 
your config files (i.e. obfuscated iax.conf, more of extensions.conf 
and possible some of your sip.conf).

Cheers,

Matt Riddell
-=======================-
 http://www.sineapps.com/news
-=======================-



More information about the asterisk-users mailing list