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
Greetings, I've just gotten asterisk working such that it will accept incoming calls and play the "demo" recording (from "make demo") during the install. However, on the console of the machine asterisk is running on, I'm getting "sound recording overrun" errors. The only other indicator I'm getting is from the asterisk "messages" file, "Sep 14 14:40:58 WARNING[1110678320]: Failed to write frame" Can anyone tell me what problem might be indicated here? TIA for any suggestion/hints/pointers, --Duncan
matt.riddell@sineapps.com
2004-Sep-14 16:36 UTC
[Asterisk-Users] Spawn extension.....exited non-zero
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 -=======================-
Maybe Matching Threads
- Is SIP BROKEN?
- MeetMe + IAX2 + Asterisk 1.2.18 = calls dropped
- SPAM MESSAGE - [Asterisk-Dev] warning message (sound card) - when I run asterisk!!!
- spawn extension (inbound , h, 1) exited non-zero
- Spawn extension (default, 1002, 2) exited non-zero on 'SIP/host-0819d0d0