Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
Send re-invite to be able to make a video call
Author Message
SarunyuP
Brekeke Member


Joined: 24 Oct 2018
Posts: 19
Location: Thailand

PostPosted: Thu Nov 14, 2019 3:40 am    Post subject: Send re-invite to be able to make a video call Reply with quote

1. Brekeke Product Name and Version:
Brekeke PBX, Version 3.8.6.4, Pro
WebRTC, Push Notification

2. Java version:
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

3. OS type and the version:
Red Hat Enterprise Linux Server release 6.10
Linux version 2.6.32-754.10.1.el6.x86_64

4. UA (phone), gateway or other hardware/software involved:
-

5. Your problem:

Why a brekeke pbx send 200 ok response with no video codec after received an invite message in a first time for a video call?
I have to send re-invite to make a video call.
This is an invite message for a video call that I send to brekeke

Code:
INVITE sip:13.228.213.46:5060 SIP/2.0
    Via: SIP/2.0/UDP 192.168.2.2:5060;branch=z9hG4bK.9DZz4qCGU;rport
    From: "boy2" <sip:boy2@iot-brekeke-wssip.ais.co.th>;tag=pKUI7XWWk
    To: <sip:1100@iot-brekeke-wssip.ais.co.th>;tag=bca482ec7p
    CSeq: 21 INVITE
    Call-ID: zNLmhiBrE5
    Max-Forwards: 70
    Subject: Media change
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
    Content-Type: application/sdp
    Content-Length: 535
    Contact: "boy2" <sip:boy2@182.232.60.155:38923;transport=udp>;expires=3600;q=1.0;+sip.instance="<urn:uuid:f827c84f-b4b9-00bb-ae58-4a06979ca205>"
    User-Agent: SipUAAndroid/4.3.0-alpha.37+6ca9656 (Boy) LinphoneSDK/
    v=0
    o=boy2 937 731 IN IP4 192.168.2.2
    s=Talk
    c=IN IP4 192.168.2.2
    t=0 0
    a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
    m=audio 7078 RTP/AVP 0 8 9 18 101
    a=fmtp:18 annexb=yes
    a=rtpmap:101 telephone-event/8000
    a=rtcp-fb:* ccm tmmbr
    m=video 9078 RTP/AVP 96 97
    a=rtpmap:96 VP8/90000
    a=rtpmap:97 H264/90000
    a=fmtp:97 profile-level-id=42801F
    a=rtcp-fb:* ccm tmmbr
    a=rtcp-fb:96 nack pli
    a=rtcp-fb:96 nack sli
    a=rtcp-fb:96 ack rpsi
    a=rtcp-fb:96 ccm fir
    a=rtcp-fb:97 nack pli
    a=rtcp-fb:97 ccm fir


And this is a brekeke pbx send back

Code:
SIP/2.0 200 OK
    Via: SIP/2.0/UDP 192.168.2.2:5060;branch=z9hG4bK.9DZz4qCGU;rport=38923;received=182.232.60.155
    From: "boy2" <sip:boy2@iot-brekeke-wssip.ais.co.th>;tag=pKUI7XWWk
    To: <sip:1100@iot-brekeke-wssip.ais.co.th>;tag=bca482ec7p
    Call-ID: zNLmhiBrE5
    CSeq: 21 INVITE
    Contact: <sip:13.228.213.46:5060>
    Allow: INVITE,ACK,BYE,CANCEL,INFO,MESSAGE,REFER,NOTIFY,SUBSCRIBE,UPDATE,PRACK
    Content-Type: application/sdp
    Content-Length: 144
    v=0
    o=bk 12 1 IN IP4 13.228.213.46
    s=-
    c=IN IP4 13.228.213.46
    t=0 0
    m=audio 30036 RTP/AVP 0
    a=sendrecv
    a=rtpmap:0 PCMU/8000
    a=ptime:20

_________________
Best Regards
=============================
Sarunyu Prasert(Boy)
Entronica Company
=============================
Back to top
View user's profile
llucy
Brekeke Talented


Joined: 31 Jan 2014
Posts: 52

PostPosted: Thu Nov 14, 2019 4:58 pm    Post subject: Reply with quote

Hi SarunyuP,

Brekeke PBX does not support video session started by re-INVITE.


Lucy
Back to top
View user's profile
SarunyuP
Brekeke Member


Joined: 24 Oct 2018
Posts: 19
Location: Thailand

PostPosted: Thu Nov 14, 2019 9:13 pm    Post subject: Reply with quote

Hi Lucy,

I've sent a first invite to start a call session with video codec in sdp but the 200 ok response from brekeke pbx dose not has a video codec it send back only pcmu codec so my app can only start an audio call. While in audio call I have to send re-invite with video codec again to get a 200 ok response with video codec so that my app can start a video call.

I don't know why brekeke pbx send 200 ok response with only pcmu even though I send a invite with video codec.

_________________
Best Regards
=============================
Sarunyu Prasert(Boy)
Entronica Company
=============================
Back to top
View user's profile
llucy
Brekeke Talented


Joined: 31 Jan 2014
Posts: 52

PostPosted: Sun Dec 08, 2019 10:13 am    Post subject: Reply with quote

Please check if you set video=on at the Phone Type settings.

Lucy
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Page 1 of 1