EvoluxBR / greenswitch

Battle proven FreeSWITCH Event Socket Protocol client implementation with Gevent
Other
126 stars 50 forks source link

Wildcard handlers are only called if there are no event handlers #72

Open Otoru opened 3 years ago

Otoru commented 3 years ago

When registering a handler for any event ("*") they are only called when I don't have any handler associated with that event type.

I believe this is due to the code below: https://github.com/EvoluxBR/greenswitch/blob/82558462de6aa2c62b08cd294b9ddd78cb481a2b/greenswitch/esl.py#L187

Is this expected?