yurigs Posted August 8, 2015 (edited) Добрый день! Есть AddPac AP100. К Sipnet подключается и работает. У Zadarma логин имеет вид 1234-101. Destination-pattern не воспринимает такую запись. Как обойти это? Спасибо. Конфиг: ! Voice port configuration. ! ! FXS voice-port 0/1 no caller-id enable ! ! Pots peer configuration. ! dial-peer voice 0 pots destination-pattern SIPID port 0/1 ! ! Voip peer configuration. ! dial-peer voice 1000 voip destination-pattern T session target sip-server session protocol sip voice-class codec 0 dtmf-relay rtp no vad huntstop ! dial-peer ipaddr-prefix n dial-peer call-hold h dial-peer call-transfer h ! ! Codec classes configuration. ! voice class codec 0 codec preference 1 g711alaw codec preference 2 g729 ! ! SIP UA configuration. ! sip-ua sip-username SIPID sip-password PASSWORD sip-server SIPSERVER.RU srv enable register e164 ! Edited August 8, 2015 by yurigs Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
bos9 Posted August 10, 2015 в destination-pattern должен быть ваш телефонный номер Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
palich Posted August 10, 2015 Попробуйте вот так: dial-peer voice 0 pots destination-pattern <номер-только цифры> port 0/0 user-name <логин> user-password <пароль> Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...