AsteriskC2D perl script is great for those wanting to dial via remote systems using curl. One minor fix though:
!= was used in a string comparison which bypasses authentication around line 110.
if (@dbrows[0] != $in{'password'})
needs to be:
if (@dbrows[0] ne $in{'password'})
!= was used in a string comparison which bypasses authentication around line 110.
if (@dbrows[0] != $in{'password'})
needs to be:
if (@dbrows[0] ne $in{'password'})