espressif / esp-adf-libs

61 stars 41 forks source link

SIP MESSAGE #14

Open howroyd opened 3 years ago

howroyd commented 3 years ago

Feature request:

There is the ability to read incoming MESSAGEs received over SIP using esp_sip_read_incomming_messages but no mechanism to send a MESSAGE.

Since the source is precompiled I cannot add this functionality in and provide it to you and the community.

For example, I would like to send a MESSAGE over SIP such as:

MESSAGE sip:user2@domain.com SIP/2.0
Via: SIP/2.0/UDP user1.domain.com;branch=z9hG4bK776sgdkse
To: sip:user2@domain.com
From: sip:user1@domain.com;tag=49583
Call-ID: asd88asd77a@1.2.3.4
CSeq: 1 MESSAGE
Max-Forwards: 70
Content-Type: application/scaip+xml
Content-Length: 144
<mrq>
<ref>1234</ref>
<cid>123456</cid>
<dty>0001</dty>
<stc>001</stc>
</mrq>
indotronic commented 2 years ago

Feature request:

There is the ability to read incoming MESSAGEs received over SIP using esp_sip_read_incomming_messages but no mechanism to send a MESSAGE.

Since the source is precompiled I cannot add this functionality in and provide it to you and the community.

For example, I would like to send a MESSAGE over SIP such as:

MESSAGE sip:user2@domain.com SIP/2.0
Via: SIP/2.0/UDP user1.domain.com;branch=z9hG4bK776sgdkse
To: sip:user2@domain.com
From: sip:user1@domain.com;tag=49583
Call-ID: asd88asd77a@1.2.3.4
CSeq: 1 MESSAGE
Max-Forwards: 70
Content-Type: application/scaip+xml
Content-Length: 144
<mrq>
<ref>1234</ref>
<cid>123456</cid>
<dty>0001</dty>
<stc>001</stc>
</mrq>

yes bro, i need to send message..! anyone can add it?

mstempin commented 2 years ago

What is the status of this request?

howroyd commented 2 years ago

I assume completely ignored by Espressif: https://github.com/espressif/esp-adf-libs/issues/12#issuecomment-842760093

tdVincentB commented 11 months ago

+1 we need this guys, it's not just a gimmick please!

VoIP with the esp_rtc library works well but is very limited regarding the SIP request types.

The "MESSAGE" type for instance is crucial for certain widely used alarm protocols like SCAIP. It is impossible to use your library just because of this one missing type...and one must rewrite a whole SIP stack just for this.

If you won't provide the code of the SIP stack at least provide a way for users to send standard SIP requests.