-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TEL-6201 Add new functions for setting and getting dialplan function. #333
base: telnyx/telephony/development
Are you sure you want to change the base?
Conversation
src/switch_core_state_machine.c
Outdated
@@ -390,6 +389,15 @@ static void switch_core_standard_on_execute(switch_core_session_t *session) | |||
|
|||
} | |||
|
|||
post_dialplan_execute = switch_channel_get_variable(session->channel, "post_dialplan_execute"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happen when I execute uuid_broadcast
, will it call the post dialplan function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think it should, since this happens in _on_execute handler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally this should only be executed only when processing dialplan commands during ROUTE
state. Otherwise CC commands which always call uuid_broadcast
will execute the post dialplan commands.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I think I understand what you mean now.. I moved it to on_routing
handler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the comment from @dev-ryanc , LGTM
…caller_extension_insert_application'.
@dev-ryanc this is a WIP, but please take a look. thanks