Spawn Extension message after 35 seconds

General discussions about AsteriskNOW.

Moderators: Moderator, Support

Spawn Extension message after 35 seconds

Postby tbosley » Tue Oct 09, 2012 1:17 pm


I am new to AsteriskNow and would like your help with a spawn_extention message I am seeing.
I installed it on a Linux server and configured the extensions_custom.conf and sip_custom.conf files for 10 extensions. Everything else is set to what ever the default settings are at the time of installation. When I use two laptops running x-lite softphone SW I amd able to register with the server and make calls back and for without any issues. When I try to use traffic generator (Spirents TestCenter) that is capable of SIP calls I have an issue. What happens is the Spirent ports register with the Asterisk server just fine and are able to start a call just fine. The asterisk server messages prior to the Spawn extension message are:

-- Registered SIP '2002' at
-- Registered SIP '2004' at
== Using SIP RTP CoS mark 5
-- Executing [2004@default:1] Dial("SIP/2002-000001c6", "SIP/2004") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/2004
-- SIP/2004-000001c7 is ringing
-- SIP/2004-000001c7 is ringing
-- SIP/2004-000001c7 answered SIP/2002-000001c6
-- Remotely bridging SIP/2002-000001c6 and SIP/2004-000001c7

After about 35 seconds the following message is seen on the Asterisk server:
== Spawn extension (default, 2004, 1) exited non-zero on 'SIP/2002-000001c6'

Can someone please tell me why the Spawn extension message comes up and what does it mean?
Once the spawn extension message is received all RTP traffic for the call stops.
The traffic generator is configured to open a call for 5 minutes and the pcap capture file does not show any sip messages to stop/end the call.

Your help is appreciated,


Tim Bosley
Posts: 1
Joined: Tue Oct 09, 2012 12:29 pm

Re: Spawn Extension message after 35 seconds

Postby david55 » Wed Oct 31, 2012 10:07 am

The Asterisk application that actually made the through connection terminated with a return code other than zero.

Generally this means that the call was cleared by one side or the other, and, if it was cleared by the called party, and the application was Dial, there was no g option present.

It is very normal.
Moves Like Spencer
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Return to AsteriskNOW General

Who is online

Users browsing this forum: No registered users and 1 guest