Skip to content

Traceback Error when we call ESLconnection method. #2

@akadi

Description

@akadi

Hello;

If the argument "self.port" is an integer, the method " ESLconnection" returne an exception [1], would not be better to force it type to "str".

Thank you.

[1]: Traceback (most recent call last):
self.con = ESLconnection( self.host, self.port, password )
File "/usr/local/lib/python2.7/dist-packages/freeswitchESL/ESL.py", line 77, in init
this = apply(_ESL.new_ESLconnection, args)
NotImplementedError: Wrong number of arguments for overloaded function 'new_ESLconnection'.
Possible C/C++ prototypes are:
ESLconnection(char const *,char const *,char const *,char const *)
ESLconnection(char const *,char const *,char const *)
ESLconnection(int)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions