Title: None of Asterisk Events are triggering after I receive Call · Issue #290 · AsterNET/AsterNET · GitHub
Open Graph Title: None of Asterisk Events are triggering after I receive Call · Issue #290 · AsterNET/AsterNET
X Title: None of Asterisk Events are triggering after I receive Call · Issue #290 · AsterNET/AsterNET
Description: Hey, My code can successfully connect to Asterisk. It can add queues, remove queues, pause queues and can perform Hangup on Asterisk But I can't get any event response back to my code. I am registering Hangup and Bridge events but they a...
Open Graph Description: Hey, My code can successfully connect to Asterisk. It can add queues, remove queues, pause queues and can perform Hangup on Asterisk But I can't get any event response back to my code. I am registe...
X Description: Hey, My code can successfully connect to Asterisk. It can add queues, remove queues, pause queues and can perform Hangup on Asterisk But I can't get any event response back to my code. I am reg...
Opengraph URL: https://github.com/AsterNET/AsterNET/issues/290
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"None of Asterisk Events are triggering after I receive Call","articleBody":"Hey,\n\nMy code can successfully connect to Asterisk. \n\nIt can add queues, remove queues, pause queues and can perform Hangup on Asterisk\n\nBut I can't get any event response back to my code. \nI am registering Hangup and Bridge events but they are not getting triggered when call is answered or Hangup is clicked on SIP phone\n\nI have enabled settings in manager.conf \nread = all,\nwrite = all\n\nBelow is my code\n\n``` c#\npublic PbxActionResponse Connect()\n {\n try\n {\n ManagerConnection _amiConnection = new ManagerConnection(serverIp\n port,\n username\n password);\n\n _amiConnection.KeepAlive = true;\n _amiConnection.PingInterval = 1000;\n _amiConnection.Hangup += AmiConnection_Hangup;\n _amiConnection.Bridge += AmiConnection_Bridge; \n _amiConnection.Login();\n\n return new(true, \"Connected to Asterisk\");\n }\n catch (Exception ex)\n {\n return new(false, ex.ToExceptionMessage(), ex.ToExceptionMessage());\n }\n }\n\nprivate void AmiConnection_Bridge(object sender, BridgeEvent e)\n{\n Log($\"Bridge Event: {e.CallerId1} - Channel: {e.Channel}\");\n}\nprivate void AmiConnection_Hangup(object sender, HangupEvent e)\n{\n Log($\"Hangup Event: {e.CallerId} - Channel: {e.Channel}\");\n}\n```","author":{"url":"https://github.com/snippylab","@type":"Person","name":"snippylab"},"datePublished":"2025-03-06T12:46:19Z","url":"https://github.com/AsterNET/AsterNET/issues/290"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| 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:aed559da-8ee6-0956-aa6f-3d03f15828b5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC78:303206:BEDFE7:10CC40E:6AFB5BDE |
| html-safe-nonce | 25c8fc4c3dbb718e8eda7dd0fe57f26beb426502445a143bd4cad3bee14b8ae4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzc4OjMwMzIwNjpCRURGRTc6MTBDQzQwRTo2QUZCNUJERSIsInZpc2l0b3JfaWQiOiI4MDI1MDY2Mjk3NTI1NzU0ODQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d4f750c1404e3975c413b4ad139b186f619fadfdf6ab2229ee326044fd9984a3 |
| hovercard-subject-tag | issue:2900318897 |
| 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/AsterNET/AsterNET/290/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ba7f4cb12089ef3662f2cb527502898c7bbae6e9be0b3780935e80a9b46fce7d/AsterNET/AsterNET/issues/290 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ba7f4cb12089ef3662f2cb527502898c7bbae6e9be0b3780935e80a9b46fce7d/AsterNET/AsterNET/issues/290 |
| og:image:alt | Hey, My code can successfully connect to Asterisk. It can add queues, remove queues, pause queues and can perform Hangup on Asterisk But I can't get any event response back to my code. I am registe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | snippylab |
| hostname | github.com |
| expected-hostname | github.com |
| None | ea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94 |
| turbo-cache-control | no-preview |
| go-import | github.com/AsterNET/AsterNET git https://github.com/AsterNET/AsterNET.git |
| octolytics-dimension-user_id | 18189401 |
| octolytics-dimension-user_login | AsterNET |
| octolytics-dimension-repository_id | 28722690 |
| octolytics-dimension-repository_nwo | AsterNET/AsterNET |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 28722690 |
| octolytics-dimension-repository_network_root_nwo | AsterNET/AsterNET |
| 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 | 59ef97164c52cf59bd10558ddec9c4f482763988 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width