Добрый вечер.
Нужны только исходящие вызовы, работает только если в настройках шлюза прописать параметр
<param name="register" value="true"/>
,
если поставить значение false, то получаю
Originate Resulted in Error Cause: 55 [UNKNOWN]
В настройках шлюза есть параметр proxy и outbound-proxy.
Возможно ли заставить мультифон звонить с register = false?
Вот лог при включенном siptrace
INVITE sip:+XXXXXXXXXXX@sbc.megafon.ru;transport=tcp SIP/2.0
Via: SIP/2.0/TCP YYYYYYYYY:5080;rport;branch=z9hG4bKZ0943DvBc1a1a
Max-Forwards: 69
From: "NNNNNNNN" <sip:YYYYYYYYY@multifon.ru>;tag=Zc04tBKj1rcaj
To: <sip:+XXXXXXXXXXX@sbc.megafon.ru>
Call-ID: 3d51c04d-07e7-1234-a483-525400107afc
CSeq: 83551966 INVITE
Contact: <sip:gw+861@YYYYYYYYY:5080;tport=tcp;transport=tcp;gw=861>
User-Agent: FreeSWITCH-mod_sofia/1.4.20+git~20150724T013613Z~bf08a378cb~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 346
X-FS-Support: update_display,send_info
Remote-Party-ID: "NNNNNNNN" <sip:NNNNNNNN@multifon.ru>;party=calling;screen=yes;privacy=off
v=0
o=FreeSWITCH 1447749897 1447749898 IN IP4 XXXXXXXXXXXXXX
s=FreeSWITCH
c=IN IP4 XXXXXXXXXXXXXXXXX
t=0 0
m=audio 26164 RTP/AVP 111 9 0 8 101 13
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10; useinbandfec=1
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
------------------------------------------------------------------------
recv 317 bytes from tcp/[XXXXXXXXXXXX]:5060 at 19:01:01.246924:
------------------------------------------------------------------------
SIP/2.0 100 Trying
Via: SIP/2.0/TCP XXXXXXXXXXXXXX:5080;received=XXXXXXXXXXXXX;branch=z9hG4bKZ0943DvBc1a1a;rport=PPPPP
From: "NNNNNNNN" <sip:XXXXXXXXXXX@multifon.ru>;tag=Zc04tBKj1rcaj
To: <sip:YYYYYYYYY@multifon.ru>
Call-ID: 3d51c04d-07e7-1234-a483-525400107afc
CSeq: 83551966 INVITE
Content-Length: 0
------------------------------------------------------------------------
recv 395 bytes from tcp/[193.201.229.35]:5060 at 19:01:01.250707:
------------------------------------------------------------------------
SIP/2.0 403 Forbidden
Via: SIP/2.0/TCP 194.177.22.196:5080;received=1XXXXXXXXXXXXX;branch=z9hG4bKZ0943DvBc1a1a;rport=PPPPP
From: "NNNNNNNN" <sip:XXXXXXXXXXX@multifon.ru>;tag=Zc04tBKj1rcaj
To: <sip:YYYYYYYYYYY@multifon.ru>;tag=aprqngfrt-spa5iui0qnptd
Call-ID: 3d51c04d-07e7-1234-a483-525400107afc
CSeq: 83551966 INVITE
Reason: Q.850;cause=55;text="Call Terminated"
Content-Length: 0
------------------------------------------------------------------------
send 369 bytes to tcp/[XXXXXXXXXXXXX]:5060 at 19:01:01.250917:
------------------------------------------------------------------------
ACK sip:YYYYYYYYYY@sbc.megafon.ru;transport=tcp SIP/2.0
Via: SIP/2.0/TCP XXXXXXXXXXXXXX:5080;rport;branch=z9hG4bKZ0943DvBc1a1a
Max-Forwards: 69
From: "NNNNNNNNNNNN" <sip:XXXXXXXXXXXXXX@multifon.ru>;tag=Zc04tBKj1rcaj
To: <sip:YYYYYYYYYYY@multifon.ru>;tag=aprqngfrt-spa5iui0qnptd
Call-ID: 3d51c04d-07e7-1234-a483-525400107afc
CSeq: 83551966 ACK
Content-Length: 0