clearlyip / node-asteriskagi

NodeJS Asterisk Fast AGI Server
MIT License
2 stars 0 forks source link

Node/Express #1

Open AlanGreyjoy opened 1 week ago

AlanGreyjoy commented 1 week ago

If we are using Express.js (normal port 3000) and this on the default port, will they interfere with each other?

For local dev, I use NGROK and pointed it to 4573, but Asterisk yells at me about an AGI timeout.

Asterisk example

[outbound-preprocess]
exten  = s,1,NoOp(Outbound Preprocess)
same   = n,AGI(agi://my-ngrok-domain-url-that-points-to-localhost:4573)
same   = n,Return()

NGROK shows no incoming hits either.

coreymcf commented 1 week ago

That shouldn't be an issue... You could try taking ngrok out of the equation or using the "port" parameter to specify something alternate you know had worked previously when creating your new AGIServer() to rule that out.