GraphQL クライアントに XHR/Accept ヘッダと String レスポンスの解析を追加
FreePBXTokenCache と同じパターン: X-Requested-With + 受け付け: application/json FreePBXのHTMLリダイレクトレスポンスを抑制し、3つのコールサイトをすべて切り替える (queryOnce, restGet, restPost) から responseEn...
Add トークンエンドポイントのAccept+XHRヘッダーと未加工文字列応答解析
FreePBX はクラスター DNS 経由で呼び出されたときにテキスト/html を返しました。 ホストヘッダは、設定された PBX HOSTNAME と一致しなかった。 追加する 受け入れ: application/json と X-Requested-With: XMLHttpRequest は FreePBX を...
FreePBX API の OAuth2 スコープ文字列を修正
FreePBX スコープはトップレベルの識別子です: 'gql' (すべての GraphQL) および 'rest' (すべてのREST)。 'gql:read' はモジュールの GQL を意味します。 'read' という名前で、存在しない、無効な scope 400 エラーを引き起こします.
リポジトリのスキャンにcom.kamo.z.shared.commerceを含める
最新のkamo-shared-library伝搬 メニュー (donotmodify.dao.services) はコンストラクタの依存性を持つ メニュー メニュー ザ・オブ・ザ・ サービスは VOIPService のコンポーネントのスキャンによってロードされますが、そのリポジトリは スコープから、スタートアップでU...
Bump kamo-shared-library to 1.4.0
Docker Stage 1 builds kamo-shared-library main (now 1.4.0) and installs it to the local .m2; the service pom still referenced 1.0.0 which Maven could not find, ...
Handle RC webhook validation token; make body optional for verification requests
Explicitly stringify Long IDs in SmsController responses
**************** Long-as-string approach was not taking effect. Directly call .toString() on all Long IDs in the controller flat-map responses to guarantee no J...
Serialize Long IDs as strings to prevent JS precision loss
CockroachDB unique_rowid() generates 64-bit integers larger than Number.MAX_SAFE_INTEGER (2^53-1). JS JSON.parse silently rounds them, causing conversation ID m...
Return flat map from send endpoint to prevent LazyInitializationException
VoipMessage.conversation is FetchType.LAZY; after @Transactional commits, Jackson serializing the entity would throw LazyInitializationException causing a 500, ...
Fall back to org mainPhoneNumber when member has no VOIP config
Members without an individual MemberVoipConfig (or no fromPhoneNumber set) now use the org's mainPhoneNumber from VoipProviderConfig as the outbound number, ins...
Remove getJwtKey() from WebhookController after OAuth migration
Signature validation used jwtKey as HMAC secret which no longer exists on VoipProviderConfig. Skip validation for now consistent with ****************
Use correct session key casing for orgID and memberID
KSessionService stores keys as orgID and memberID (capital D). Both controllers were calling .get("orgId") and .get("memberId") which always returns null, causi...