Jump to content

Настройка AddPac AP100 SIPID с дефисом

Добрый день!

Есть 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 by yurigs

Share this post


Link to post
Share on other sites

Попробуйте вот так:

dial-peer voice 0 pots
destination-pattern <номер-только цифры>
port 0/0
user-name <логин>
user-password <пароль>

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.