Коллеги, помогите.
Схема сети такова: Cisco CME 2811 - Cisco CME 2921 - АТС по E1, но это все неважно.
Стоит Cisco 2811, на нем телефоны SIP.
Код:
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
redirect ip2ip
fax protocol pass-through g711alaw
h323
emptycapability
ip circuit max-calls 1000
ip circuit default only
h225 connect-passthru
sip
bind control source-interface FastEthernet0/1
bind media source-interface FastEthernet0/1
rel1xx disable
registrar server
redirect contact order best-match
voice translation-rule 1
rule 1 /^3111\(.\)/ /3111\1/ type any national
rule 2 /.........../ /31115/ type any national
voice translation-profile callerID
translate calling 1
dial-peer voice 100 voip
description Trunk_pbd2-r0
huntstop
destination-pattern .T
progress_ind setup enable 1
progress_ind progress enable 1
progress_ind connect enable 1
session protocol sipv2
session target ipv4:10.1.1.1
voice-class codec 1
dtmf-relay h245-alphanumeric
ip qos dscp cs5 media
ip qos dscp cs5 signaling
!
dial-peer voice 8 voip
description 8_Trunk
translation-profile outgoing callerID
huntstop
destination-pattern 8..........
progress_ind setup enable 1
progress_ind progress enable 1
progress_ind connect enable 1
translate-outgoing calling 11
session protocol sipv2
session target ipv4:10.1.1.1
voice-class codec 1
dtmf-relay h245-alphanumeric
ip qos dscp cs5 media
ip qos dscp cs5 signaling
Суть в том, что вторая циска на стыке с атс рубит (reject) все номера, которые начинаются не с 3111х.
И приходится все called номера, которые идут на нее переадресованные менять на какой то один 31115.
В результате, при переадресации абонент всегда видит не свой номер, например, 31112, а 31115, и не понимает, что переадресовался номер с его рабочего места.
Пример: изначально 51111 звонит на 31111, на котором стоит переадресация на сотовый. Далее проходит 302 сообщение и создается новая leg 51111-8xxxxxxxxx, и 51111 транслируется в 31115
В итоге на сотовый приходит номер а-ля 8-код города-хх-31115, а надо добиться, чтобы был 8-код города-хх-31111.
Команды типа calling-number local в моем иосе нет. Куда копать?