jaracil / iax

IAX2 client library for Go
MIT License
3 stars 1 forks source link

[Error] IAX trunk event queue full #2

Open raheelkhanyyz opened 7 months ago

raheelkhanyyz commented 7 months ago

Hi,

i registered to a asterisk peer after one minute or so , it gives this error "[Error] IAX trunk event queue full" and then unregister , could you plz point me out in the right direction .

the following are the trunk options that i set :

    FrameTimeout:     5,
    EvtQueueSize:     200,
    SendQueueSize:    200,
    CallEvtQueueSize: 200,
    CallFrmQueueSize: 200,
    DebugMiniframes:  false,

thanks .

jaracil commented 7 months ago

Hi. You must poll the events using WaitEvent method. See recently pushed example... Bye.

raheelkhanyyz commented 7 months ago

bundle of thanks !!!