Fixed work item 1000 - https://asternet.codeplex.com/workitem/1000
This commit is contained in:
parent
07a2548381
commit
7cb7869462
|
@ -316,6 +316,9 @@
|
|||
<Content Include="Manager\Documentation\Asterisk-1.6.2.24\AMI Commands.txt" />
|
||||
<Content Include="Manager\Documentation\Asterisk-1.6.2.24\AMI Events.txt" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Manager\Documentation\Asterisk-1.8.x\" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
|
|
@ -73,8 +73,10 @@ namespace Asterisk.NET
|
|||
int delimiterIndex = actionId.IndexOf(Common.INTERNAL_ACTION_ID_DELIMITER);
|
||||
if (delimiterIndex > 0)
|
||||
{
|
||||
if (actionId.Length > delimiterIndex + 1)
|
||||
return actionId.Substring(delimiterIndex + 1).Trim();
|
||||
if (actionId.Length > delimiterIndex + 1)
|
||||
return actionId.Substring(delimiterIndex + 1).Trim();
|
||||
else
|
||||
return actionId.Substring(0, delimiterIndex).Trim();
|
||||
}
|
||||
return string.Empty;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
28.05.2013 (skrusty)
|
||||
Fix Fixed issue with SendEventGeneratingAction, see work item: 1000 (https://asternet.codeplex.com/workitem/1000)
|
||||
|
||||
03.04.2013 (skrusty)
|
||||
Added direct support for Asterisk 1.8 in version Enum
|
||||
Added documentation for events and actions in Asterisk 1.6.2.24 (last version in 1.6.2 branch)
|
||||
|
|
Loading…
Reference in a new issue