Comments (2)
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.
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)
- Make log level configurable
- Contact header
- Dependency Dashboard
- Looking forward to your finish webrtc2sip gateway HOT 1
- ua.go incorrectly assumes that a received invite is a reinvite. HOT 4
- Question about sip to webrtc HOT 1
- I got a error,can someone help me?
- Dialogs/sessions completely broken because of wrong sessionkey HOT 16
- <nil> Route headers added to request
- how to disable verify server certificate HOT 1
- Could this library support method Message?
- register example - Request Timeout HOT 2
- Client example-the example couldn't send voice to other UAC HOT 1
- ua.go 中的 handleBye 无法触发 Terminated HOT 3
- 注册问题
- Persistent CallID
- Q: idea for Google dialogflow phone gateway
- Example UA sends SIP BYE HOT 2
- bug:不能仅仅用callID和fromTag来获取session HOT 2
- Add "rport" in via to support NAT. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-sip-ua.