Skip to content

Unable to send dtmf using dial_dtmf #8

@saisyam

Description

@saisyam

I was trying to send dtmf events using dial_dtmf method but always returns PJ_EINVAL. I tried with string and bytes as well. I looked into your code and found the method PyUnicode_ToPJ which is doing the conversion. The method uses PyUnicode_Check(obj). It seems Python3 str object is not passing this method. I tried following:
call.dial_dtmf(b'5551234567#')
`call.dial_dtmf('5551234567#')

None worked.

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