(what pbx.InfoNote)
| 763 | } |
| 764 | |
| 765 | func pbInfoNoteWhatDeserialize(what pbx.InfoNote) string { |
| 766 | var out string |
| 767 | switch what { |
| 768 | case pbx.InfoNote_KP: |
| 769 | out = "kp" |
| 770 | case pbx.InfoNote_READ: |
| 771 | out = "read" |
| 772 | case pbx.InfoNote_RECV: |
| 773 | out = "recv" |
| 774 | case pbx.InfoNote_CALL: |
| 775 | out = "call" |
| 776 | default: |
| 777 | } |
| 778 | return out |
| 779 | } |
| 780 | |
| 781 | func pbCallEventSerialize(event string) pbx.CallEvent { |
| 782 | var out pbx.CallEvent |
no outgoing calls
no test coverage detected
searching dependent graphs…