I have installed AsteriskNow and run it in a virtual machine on a Windows XP System.
Asterisk Version is : 1.4.18.1
VMWarePlayer : 2.0.1 build-55017
I have installed Asterisk.Net.1.6.1.0 as a dll on my XP System and wrote a simple VBTest app. This app initialises manager api connection with success and intatiates and agi script host also with success.
I have defined one sip extension to dial into asterisk with x-lite phone. SIP.conf looks like this:
[2000]
type=friend
secret=0000
host=dynamic
,n,Wait
extensions.conf looks like this:
[default]
exten=s,1,Ringing()
exten=s,n,Wait(3)
exten=s,n,AGI(agi://192.168.49.237/tkfastagi)
exten=s,n,Hangup()
now i initiate a call from my sip phone. Asterisk reacts with the following lines:
Executing[s@default:1] Ringing(“SIP/2000-08207c60”,"") in new stack
Executing[s@default:2] Wait(“SIP/2000-08207c60”,“3”) in new stack
Executing[s@default:3] AGI(“SIP/2000-08207c60”,“agi://192.168.49.237/tkfastagi”) in new stack
when i do agi debug on asterisk console i see data coming for call seems correct like
AGI TX >> agi_network: yes
etc…
but when it comes to RX the followeing lines come
AGI RX << temp buffer (three digits I cannot type on keyboard) - errno Ressource temporarily unavaliable
This line is repeated 100 times or so and this ends with
AGI RX << (the same three digits as above)ANSWER
AGI TX >> 510 Invalid or unknown command
I am trying to solve this problem for a few days now and I tested much but it doesn’t work.
Any help is very apreciated.
Thanks…Guido