Skip to content

Executing commands on the outbound session #21

Description

@rakesh-voiger

As per the example here https://github.com/kalmik/switchx/blob/master/examples/outbound.ex, i have implemented the outbound socket. From freeswitch, I can call this socket and a new Examples.OutboundSession gets initialized. The init and callback_mode gets called but control never comes to waiting_data or ready methods. I want to answer the call or run some commands on it, but I don't understand where exactly to do them. I tried from init (SwitchX.api(conn, "answer")) but nothing happens, it is just stuck there (I don't think init is the right place to do it though).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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