Coder Social home page Coder Social logo

Comments (2)

Windforce17 avatar Windforce17 commented on June 11, 2024

The SIP Stack seem to find a wrong network interface,and write a wrong ip address to sip protocol.Because the lib create sip stack in advacnce,and then listen to a udp port.So the SipStackConfig.Host has been set a wrong address, unless you set a correct host.

from go-sip-ua.

Windforce17 avatar Windforce17 commented on June 11, 2024

SIP protocol not handle other data transform. In my case,the audio data encoded by PCMU and use RTP protocol.This information defined in sip's payload by sdp protocol:

SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.100.27:5060;branch=z9hG4bK.LXjpfN0we17IlFyjNLBbxL30NJbsuYz7
From: "nightingale" <sip:[email protected]:5060>;tag=Qp1Mmnwu
To: <sip:[email protected]>;tag=7cf111ddb4ae263d724df31f014fa639
Call-ID: COFVXP23YzwPjHNxqMsDC6TRmwxlQflc
CSeq: 1 INVITE
Contact: "Anonymous" <sip:6.6.6.6:5060>
Content-Type: application/sdp
Content-Length: 192

v=0
o=- 8395 8395 IN IP4 7.7.7.7.7
s=-
c=IN IP4 7.7.7.7.7
t=0 0
m=audio 15520 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv

the sip server(6.6.6.6) use rtp protocol and PCMU format to transform data through 7.7.7.7:15520

from go-sip-ua.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.