Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / TrixBox, Elastix, FreePbx / CUCM 6.0.1 и TrixBox

CUCM 6.0.1 и TrixBox

CUCM 6.0.1 и TrixBox проблема звонков через транк на CUCM
1 2>
Сообщений: 7

CUCM 6.0.1 и TrixBox

Настроил SIP транк на CUCM 6.0.1 и TrixBox - звонки из CUCM на номера TrixBox проходят на ура, а вот в обратную сторону ну ни как не идут. Решил проверить настройки на * - поставил еще один TrixBox на виртуалку, настроил SIP транки между двумя * - звонки идут в обе стороны без проблем.
При звонке на CUCM тетка на аглицком говорит Busy now, в логах (CLI) пишет all-circuits-busy-now
Подскажите куда копать. Если кто пробовал такую схему - дайте пожайлуста настройки CUCM 6.0.1 и TrixBox
Спасибо.
2008-10-20 16:47

Avatara of switch
Откуда: Уфа
Сообщений: 5856

Re: CUCM 6.0.1 и TrixBox

вы сначала свои настройки покажите
http://www.lynks.ru - Решения телефонии, мини-АТС, VoIP на основе Trixbox и Asterisk
2008-10-20 17:12

Сообщений: 6521

Re: CUCM 6.0.1 и TrixBox

http://www.voip-info.org/wiki/view/Asterisk+Cisco+CallManager+Integration
2008-10-20 17:22

Сообщений: 7

Re: CUCM 6.0.1 и TrixBox

<ded> спасибо за ссылку, к сожалению ситуация не меняется.

<switch> По настройкам.
TrixBox,все настройки через WEB интерфейс.
Trunks -> SIP Trunk
Outbound Caller ID: 3006
Dial Rules: XNNN
Trunk Name: CUCM
PEER Details:
type=peer
host=172.16.1.115 ; машинка с CUCM
disallow=all
allow=ulaw&alaw
nat=yes
context=from-internal
canreinvite=yes
insecure=very
qualify=yes

USER Context: friend
USER Details:
context=from-trunk
host=172.16.0.115 ; машинка с CUCM - пробовал ставить и 172.16.0.111 (TrixBox)
type=user
nat=yes

Outbound Routes:
Route Name: 9_outside
Intra Company Route <галочка>
Dial Patterns: 9|NXXX
Trunk Sequence: SIP/CUCM

Inbond Routes:
Descriptions: cisco-pbx
Terminate Call: Hangup

Настройки CUCM 6.0.1:
Device -> Trunks -> SIP Trunk -> Device Protocol: SIP
Device Name: asterisk-pbx
Device Pool: Default
Common Device Configuration: None
Call Classification: OnNet
Media Resource Group List: pbx
Location: Hub_None
AAR Group: None
Packet Capture Mode: None
Packet Capture Duration: 0
Media Termination Point Required <галочка>
MLPP Domain: None

Call Routing Information -> Inbound Calls
Significant Digits: All
Connected Line ID Presentation: Allowed
Connected Name Presentation: Allowed
Calling Search Space: SIPtrunk
AAR Calling Search Space: SIPtrunk
Prefix DN: 9

Call Routing Information -> Outbound Calls
Calling Party Selection: First Redirect Number
Calling Line ID Presentation: Allowed
Calling Name Presentation: Allowed
Caller ID DN: 9

SIP Information
Destination Address: 172.16.0.111 ;машинка с TrixBox
Destination Port: 5060
MTP Preferred Originating Codec: 711ulaw
Presence Group: Standard Presence Group
SIP Trunk Security Profile: Non Secure SIP Trunk Profile
Rerouting Calling Search Space: SIPtrunk
Out-Of-Dialog Refer Calling Search Space: SIPtrunk
SUBSCRIBE Calling Search Space: SIPtrunk
SIP Profile: Standard SIP Profile
DTMF Signaling Method: OOB and RFC 2833

Route Patern
Route Pattern: 3XXX
Route Partition: Generated_Everyone
MLPP Precedence: None
Gateway/Route List: asterisk-pbx

Calling Search Space Configuration
Name: SIPtrunk
Selected Partitions:
Generated_Everyone
Generated_Managers
Generated_Route_Point

В остальных полях настроек - или пустые значения или по умолчанию.
Если потребуются доп.данные - добавлю.
Благодарю!

2008-10-21 08:44

Сообщений: 6521

Re: CUCM 6.0.1 и TrixBox

Trunks -> SIP Trunk
Outbound Caller ID: 3006 ; не нужно
Dial Rules: XNNN ; не нужно, лишний фильтр.
nat=yes ; разве между ними НАТ?
type=friend

контекст
USER Context: friend
USER Details:
context=from-trunk
host=172.16.0.115 ; машинка с CUCM - пробовал ставить и 172.16.0.111 (TrixBox)
type=user
nat=yes
можно убрать, но если через него из CUCM идут звонки, можно оставить.
2008-10-21 13:19

Сообщений: 7

Re: CUCM 6.0.1 и TrixBox

<ded> изменил настройки как указано выше. Звонки из CUCM также идут на *, а обратно не идут - тетка говорит что all-circuits-busy-now. Видимо что-то с настройками CUCM, а что не так не пойму.
2008-10-22 09:48

Сообщений: 124

Re: CUCM 6.0.1 и TrixBox

На 5-м CUCM у меня такие настройки и все нормально работает:
http://img260.imageshack.us/my.php?image=2210ve3.jpg

2008-10-22 12:46

Сообщений: 7

Re: CUCM 6.0.1 и TrixBox

Настроил как у Tron
В TrixBoxe CLI (debug) видно что исходящие звонки идут в транк, тетка перестала говорить про занятность, система ждет какое то врямя и сбрасывает дозвон:


-- Executing [3001@from-internal:1] Macro("SIP/3006-b77037f8", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("SIP/3006-b77037f8", "user-callerid: device 3006") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/3006-b77037f8", "AMPUSER=3006") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/3006-b77037f8", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/3006-b77037f8", "1|Set|REALCALLERIDNUM=3006") in new stack
-- Executing [s@macro-user-callerid:5] NoOp("SIP/3006-b77037f8", "REALCALLERIDNUM is 3006") in new stack
-- Executing [s@macro-user-callerid:6] Set("SIP/3006-b77037f8", "AMPUSER=3006") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/3006-b77037f8", "AMPUSERCIDNAME=Test") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/3006-b77037f8", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/3006-b77037f8", "AMPUSERCID=3006") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/3006-b77037f8", "CALLERID(all)="Test" <3006>") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/3006-b77037f8", "REALCALLERIDNUM=3006") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("SIP/3006-b77037f8", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("SIP/3006-b77037f8", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/3006-b77037f8", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("SIP/3006-b77037f8", "Using CallerID "Test" <3006>") in new stack
-- Executing [3001@from-internal:2] Set("SIP/3006-b77037f8", "_NODEST=") in new stack
-- Executing [3001@from-internal:3] Macro("SIP/3006-b77037f8", "record-enable|3006|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/3006-b77037f8", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/3006-b77037f8", "recordingcheck|20081022-144101|1224672061.213") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20081022-144101|1224672061.213: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("SIP/3006-b77037f8", "No recording needed") in new stack
-- Executing [3001@from-internal:4] Macro("SIP/3006-b77037f8", "dialout-trunk|2|3001||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/3006-b77037f8", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/3006-b77037f8", "0|Authenticate|") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/3006-b77037f8", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/3006-b77037f8", "DIAL_NUMBER=3001") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/3006-b77037f8", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/3006-b77037f8", "GROUP()=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/3006-b77037f8", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/3006-b77037f8", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/3006-b77037f8", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/3006-b77037f8", "outbound-callerid|2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/3006-b77037f8", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] GotoIf("SIP/3006-b77037f8", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,4)
-- Executing [s@macro-outbound-callerid:4] NoOp("SIP/3006-b77037f8", "REALCALLERIDNUM is 3006") in new stack
-- Executing [s@macro-outbound-callerid:5] GotoIf("SIP/3006-b77037f8", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,10)
-- Executing [s@macro-outbound-callerid:10] Set("SIP/3006-b77037f8", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("SIP/3006-b77037f8", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:12] Set("SIP/3006-b77037f8", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:13] GotoIf("SIP/3006-b77037f8", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,17)
-- Executing [s@macro-outbound-callerid:17] GotoIf("SIP/3006-b77037f8", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,19)
-- Executing [s@macro-outbound-callerid:19] GotoIf("SIP/3006-b77037f8", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,23)
-- Executing [s@macro-outbound-callerid:23] NoOp("SIP/3006-b77037f8", "CallerID set to "Test" <3006>") in new stack
-- Executing [s@macro-dialout-trunk:12] AGI("SIP/3006-b77037f8", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/3006-b77037f8", "OUTNUM=3001") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/3006-b77037f8", "custom=SIP/CUCM") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/3006-b77037f8", "1?gocall") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/3006-b77037f8", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/3006-b77037f8", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/3006-b77037f8", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:20] Dial("SIP/3006-b77037f8", "SIP/CUCM/3001|300|") in new stack
-- Called CUCM/3001
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'SIP/3006-b77037f8' in macro 'dialout-trunk'
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'SIP/3006-b77037f8'
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/3006-b77037f8", "hangupcall|") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/3006-b77037f8", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/3006-b77037f8", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/3006-b77037f8", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/3006-b77037f8", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/3006-b77037f8", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/3006-b77037f8", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/3006-b77037f8' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/3006-b77037f8'
asterisk-pbx*CLI>
2008-10-22 14:45

Сообщений: 124

Re: CUCM 6.0.1 и TrixBox

Мои настройки на *

allow=all
canreinvite=no
host=IP_ADDR_CALLMANAGER
nat=yes
port=5060
qualify=yes
type=friend
context=all_calls

Попробуй их.
2008-10-22 19:01

Сообщений: 7

Re: CUCM 6.0.1 и TrixBox

Спасибо огромное - все получилось!
2008-10-23 10:35

1 2>
Добавить страницу в закладки:  Delicious Google Slashdot Yahoo Yandex.ru Reddit Digg Technorati Bobrdobr.ru Newsland.ru Smi2.ru Rumarkz.ru Vaau.ru Memori.ru Rucity.com Moemesto.ru News2.ru Mister-Wong.ru Myscoop.ru 100zakladok.ru