====== SIPNET ====== [[http://www.sipnet.ru/]] ===== Пример настроек для Asterisk ===== [[http://wiki.sipnet.ru/index.php/Пример_настроек_для_Asterisk_1.6]] ===== Проверенная конфигурация ===== ==== CHAN_SIP ==== server# cat sip.conf [general] ... disallow=all allow=alaw ... [sipnet_SIPID] type=peer secret=SIPPASSWORD defaultuser=SIPID fromuser=SIPID fromdomain=sipnet.ru host=sipnet.ru callbackextension=sipnet_SIPID insecure=invite context=incoming nat=no directmedia=no ==== PJSIP ==== [udp-transport-1] type=transport protocol=udp ;bind=0.0.0.0:5062 [sipnet] type=registration transport=udp-transport-1 outbound_auth=sipnet_auth server_uri=sip:sipnet.ru client_uri=sip:SIPID@sipnet.ru retry_interval=10 expiration=10 contact_user=PHONE [sipnet_auth] type=auth auth_type=userpass password=XXXXXXXX username=SIPID [sipnet] type=aor contact=sip:sipnet.ru:5060 [sipnet] type=endpoint transport=udp-transport-1 context=default disallow=all allow=alaw outbound_auth=sipnet_auth aors=sipnet from_user=SIPID from_domain=sipnet.ru direct_media=no [sipnet] type=identify endpoint=sipnet match=sipnet.ru