[asterisk-users] Asterisk using 100% of CPU
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Fri Apr 25 15:42:48 CDT 2008
On Friday 25 April 2008 15:23:05 Chris Elliott wrote:
> If I reverse the situation it gets a little better. Asterisk doesn't
> use 100% of the CPU, but until SIP/exten-20 answers, the manager
> interface doesn't respond. So I can't hangup the line using the manager
> API if SIP/exten-20 doesn't answer. SIP/exten-20 is a SPA3102 FXS.
> Here is that example:
>
> Action: Originate
> Channel: SIP/exten-20
> Context: internal
> Extension: 0
> Priority: 1
The reason Manager doesn't respond is that it's waiting for a result code to
give you. If you don't care, use the "Async: yes" option to the Originate
action to get AMI to continue past that point.
--
Tilghman
More information about the asterisk-users
mailing list