Re: Asterisk нет звука при внешних звонках
Vot primer kak SIP informacia rabotaet, ia zvonu na vnytrenii nomer 4034, no sam telefon nahoditsia v drygom gorode
dlia primera ia izmenil vneshnii IP na 99.98.97.96, no localnii IP 192.168.1.20, pri etom vneshnii na firewall 99.98.97.95( mozhno ispolzovat` i 99.98.97.95, esli y vas tolko odit telefon, no pri nalichii extra IP adresov ia ispolzyu drygoi ). Dlia togo chtobi telefon zaregistrirovalsia, SIP packet soderzhit v sebe informaciu, kotoryu server ispolzyet dlia peredachi zvyka obratno i esli IP adres telefona ykazan neverno to zvyka ne bydet, hotia telefon zaregistriryetsia. Dlia primera rasmotrim sityaciu, kogda telefon soderzhit vneshnii IP adres v SIP packete 99.98.97.96 ( takzhe neobhodimo, chbi NAT na firewall tozhe sovpadal )
sip debug:
<--- SIP read from 99.98.97.96:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.2.30:5060;branch=z9hG4bK184b8e28;rport
From: "Unknown" <sip:Unknown@10.0.2.30>;tag=as38e40334
To: <sip:4034@99.98.97.96:5060>;tag=7D489196-2F8C7FD3
CSeq: 102 OPTIONS
Call-ID: 67062ff26afe10e656c629b60591cce4@10.0.2.30
Contact: <sip:4034@99.98.97.96:5060>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER
User-Agent: PolycomSoundPointIP-SPIP_330-UA/3.1.3.0439
Accept-Language: en
Accept: application/sdp,text/plain,message/sipfrag,application/dialog-info+xml
Accept-Encoding: identity
Supported: 100rel,timer,replaces
Content-Length: 0
|