1

pjsua を使用する私の VoIP アプリケーションは、通話転送の REFER 要求で 403 Frobidden を返します。

コール転送コードは次のとおりです。

public void transferTo(String destination) throws Exception {

        String transferString = "sip:" + destination + "@" + SipPreferenceManager.getDomain(context);

        CallOpParam param = new CallOpParam();

        currentCall.xfer(transferString, param);
        }

応答ログは次のとおりです。

I/System.out: REFER sip:xxx.xxx.xxx.xxx:5060;TRC=ffffffff-ffffffff;Dpt=ed2a-200 SIP/2.0

I/System.out: 経由: SIP/2.0/UDP 25.45.1.121:5060;rport;branch=z9hG4bKPj1bb70192-a6be-4a2d-89bb-4bafc03af55d

I/System.out: 最大転送数: 70

I/System.out: から: ;tag=2b62b4a4-31c4-42d4-b848-755d5f6e2a13

I/System.out: To: ;tag=sbc04074wqgc46y

I/System.out: 連絡先:

I/System.out: コール ID: asbcyf4y5uw9ufr2yqf979gy2uguwr7e7f2f@10.191.54.18

I/System.out: CSeq: 13241 REFER

I/System.out: イベント: 参照

I/System.out: 有効期限: 600

I/System.out: サポート: replaces、100rel、timer、norefersub

I/System.out: Accept: message/sipfrag;version=2.0

I/System.out: Allow-Events: プレゼンス、メッセージ サマリー、参照

I/System.out: 参照先: sip:123456789@domain

I/System.out: 参照元:

I/System.out: ユーザーエージェント: Pjsua2 Android 2.9

I/System.out: コンテンツの長さ: 0

I/System.out: --end msg--

I/System.out: 14:04:11.804 evsub0x8e7fbc1 .....サブスクリプションの状態が NULL に変更されました --> SENT

I/System.out: 14:04:11.926 pjsua_core.c !.RX 348 バイト UDP 218.248.233.142:5060 からの応答メッセージ 403/REFER/cseq=13241 (rdata0x8df74014):

I/System.out: SIP/2.0 403 禁止

I/System.out: 経由: SIP/2.0/UDP 25.45.1.121:5060;branch=z9hG4bKPj1bb70192-a6be-4a2d-89bb-4bafc03af55d;rport=5060

I/System.out: コール ID: asbcyf4y5uw9ufr2yqf979gy2uguwr7e7f2f@10.191.54.18

I/System.out: から: ;tag=2b62b4a4-31c4-42d4-b848-755d5f6e2a13

I/System.out: To: ;tag=sbc04074wqgc46y

I/System.out: CSeq: 13241 REFER

I/System.out: コンテンツの長さ: 0

I/System.out: --end msg--

I/System.out: 14:04:11.928 evsub0x8e7fbc1 ....サブスクリプションの状態が変更されました SENT --> TERMINATED

I/System.out: 14:04:11.929 pjsua_call.c ......Xfer クライアントのサブスクリプションが終了しました

I/System.out: 14:04:12.086 pjsua_core.c .TX 358 バイト 応答メッセージ 500/INVITE/cseq=1 (tdta0x8e0dc064) から UDP 212.129.25.1:5074:


4

1 に答える 1