Имеется услуга "Виртуальная АТС" от РосТелеком, Крутиться на Svetotets Call Manager, экспериментально было установлено, что sip гуляет по TCP, входящие/исходящие звонки на софтфон(3CX) ходят.
Настраиваю транк с Asterisk 1.6, исходящая связь работает, входящие звонки не приходят, в чем может быть проблема ?
sip.conf
[general]
register=>admin:pass@286970.lp.centertelecom.ru/admin
[admin]
type=friend
secret=pass
username=admin
host=77.51.250.219
fromuser=admin
fromdomain=286970.lp.centertelecom.ru
transport=tcp
context=from-admin
allow=all
extensions.conf
[from-admin]
include=>office
exten=> s,1,Answer
exten=> s,2,Dial(SIP/111,30,Ttr)
exten=> s,3,Hangup
CLI:
[Sep 29 10:45:10] NOTICE[18360]: chan_sip.c:12063 sip_reregister: -- Re-registration for artemiy86@sipnet.ru
[Sep 29 10:45:10] NOTICE[18360]: chan_sip.c:18868 handle_response_register: Outbound Registration: Expiry for sipnet.ru is 120 sec (Scheduling reregistration in 105 s)
[Sep 29 10:45:10] NOTICE[18360]: chan_sip.c:12063 sip_reregister: -- Re-registration for admin@286970.lp.centertelecom.ru
REGISTER 11 headers, 0 lines
Reliably Transmitting (no NAT) to 77.51.250.219:5060:
REGISTER sip:286970.lp.centertelecom.ru SIP/2.0
Via: SIP/2.0/UDP 89.179.102.101:5060;branch=z9hG4bK3e108d4e;rport
Max-Forwards: 70
From: <sip:admin@286970.lp.centertelecom.ru>;tag=as16ec3698
To: <sip:admin@286970.lp.centertelecom.ru>
Call-ID: 1923b0915507ffd2416e575865d6bc5c@192.168.0.254
CSeq: 107 REGISTER
User-Agent: Asterisk PBX 1.6.2.20
Authorization: Digest username="admin", realm="CallManager", algorithm=MD5, uri="sip:286970.lp.centertelecom.ru", nonce="ptk01gGxKT", response="73c44b3c7470320c4d3b03bcfa738510", opaque="opaqueData", qop=auth, cnonce="3de6e90f", nc=00000005
Expires: 120
Contact: <sip:admin@89.179.102.101>
Content-Length: 0
---
<--- SIP read from UDP:77.51.250.219:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.254:5060;branch=z9hG4bK3e108d4e;received=89.179.102.101;rport=5060
From: <sip:admin@286970.lp.centertelecom.ru>;tag=as16ec3698
To: <sip:admin@286970.lp.centertelecom.ru>;tag=NUBzIi5z6S7EZjbFcCGyGMZ6TCwoSvmD
Call-ID: 1923b0915507ffd2416e575865d6bc5c@192.168.0.254
CSeq: 107 REGISTER
Contact: <sip:admin@89.179.102.101:5060>;expires=120
Max-Forwards: 70
User-Agent: Svetets CallManager R12622
Date: Thu, 29 Sep 2011 06:46:26 GMT
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, MESSAGE, SUBSCRIBE, PUBLISH, OPTIONS, INFO
Contacts-Url: <http://admin.centertelecom.ru/contactlist2/>
Application-Proxy: <77.51.250.227:12345>
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, MESSAGE, PUBLISH, SUBSCRIBE, OPTIONS, INFO
Content-Length: 0
<------------->
--- (15 headers 0 lines) ---
Scheduling destruction of SIP dialog '1923b0915507ffd2416e575865d6bc5c@192.168.0.254' in 32000 ms (Method: REGISTER)
[Sep 29 10:45:10] NOTICE[18360]: chan_sip.c:18868 handle_response_register: Outbound Registration: Expiry