Title: Erroneous handleDialEvent warning when originating channels · Issue #708 · asterisk-java/asterisk-java · GitHub
Open Graph Title: Erroneous handleDialEvent warning when originating channels · Issue #708 · asterisk-java/asterisk-java
X Title: Erroneous handleDialEvent warning when originating channels · Issue #708 · asterisk-java/asterisk-java
Description: I see a lot of the following warning log due to using channel origination as part of our normal call flow handleDialEvent: Ignored DialEvent for unknown source channel null with unique id null This stems from this piece of code in Channe...
Open Graph Description: I see a lot of the following warning log due to using channel origination as part of our normal call flow handleDialEvent: Ignored DialEvent for unknown source channel null with unique id null This...
X Description: I see a lot of the following warning log due to using channel origination as part of our normal call flow handleDialEvent: Ignored DialEvent for unknown source channel null with unique id null This...
Opengraph URL: https://github.com/asterisk-java/asterisk-java/issues/708
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Erroneous handleDialEvent warning when originating channels","articleBody":"I see a lot of the following warning log due to using channel origination as part of our normal call flow\n\n`handleDialEvent: Ignored DialEvent for unknown source channel null with unique id null`\n\nThis stems from this piece of code in ChannelManager.java\n\n\n```\nvoid handleDialEvent(DialEvent event) {\n final AsteriskChannelImpl sourceChannel = getChannelImplById(event.getUniqueId());\n final AsteriskChannelImpl destinationChannel = getChannelImplById(event.getDestUniqueId());\n\n if (sourceChannel == null) {\n logger.warn(\"handleDialEvent: Ignored DialEvent for unknown source channel \" + event.getChannel()\n + \" with unique id \" + event.getUniqueId());\n return;\n }\n```\n\n\nThis is normal though because Dial Events aren't expected to have a source channel when created via an originate (we do a lot of origination via AMI).\n\nMy suggestion would be to axe this check/warning entirely and make all the sourceChannel stuff further down\nthis function require that sourceChannel not be null instead.","author":{"url":"https://github.com/JonathanRRose","@type":"Person","name":"JonathanRRose"},"datePublished":"2025-04-21T15:15:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/708/asterisk-java/issues/708"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:30543885-0b5b-0959-66c1-7f2dab9caa8c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AEA6:2A07B7:1BBD317:243060A:69745398 |
| html-safe-nonce | e702894fd42c2fdcb84256851d8dc9954d7fe37726add77019203e4422aef956 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUE2OjJBMDdCNzoxQkJEMzE3OjI0MzA2MEE6Njk3NDUzOTgiLCJ2aXNpdG9yX2lkIjoiNDc4NDY0ODEwMjcxMjk4ODU2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8f4b6e5c2f3289b1495fe9b2dfb251e87e6fd27b32ce960d20f6f4cf338f13f5 |
| hovercard-subject-tag | issue:3008650781 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/asterisk-java/asterisk-java/708/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4b3f8192241d05901c680ea0bd492e71760b361163588846c1902dc5634bd88c/asterisk-java/asterisk-java/issues/708 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4b3f8192241d05901c680ea0bd492e71760b361163588846c1902dc5634bd88c/asterisk-java/asterisk-java/issues/708 |
| og:image:alt | I see a lot of the following warning log due to using channel origination as part of our normal call flow handleDialEvent: Ignored DialEvent for unknown source channel null with unique id null This... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JonathanRRose |
| hostname | github.com |
| expected-hostname | github.com |
| None | e0b95d743b7672c9ac0e1032d5f117950182dc164a83434a7db86510e8f0b37c |
| turbo-cache-control | no-preview |
| go-import | github.com/asterisk-java/asterisk-java git https://github.com/asterisk-java/asterisk-java.git |
| octolytics-dimension-user_id | 12164530 |
| octolytics-dimension-user_login | asterisk-java |
| octolytics-dimension-repository_id | 1195396 |
| octolytics-dimension-repository_nwo | asterisk-java/asterisk-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1195396 |
| octolytics-dimension-repository_network_root_nwo | asterisk-java/asterisk-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fe7e2e8de6e57740bca50402351ea656f7a4bf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width