[erlang-questions] Megaco: Void signalsDescriptor crashes stack

Maxim Treskin zerthurd@REDACTED
Mon Jul 28 18:11:31 CEST 2008


When MGC sends to our megaco gateway void signals descriptor, like
Signals{}, we have parser error.
I make a small patch for this, just add following line into
megaco_text_parser_v1.yrl (and for other versions):

signalsDescriptor    -> 'SignalsToken' 'LBRKT' 'RBRKT' : [] .

This works fine, and it seems, that real solution.

Maxim Treskin

More information about the erlang-questions mailing list