Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

Манго - нет звука

0

Имеется Elastix + sip trunk на Манго-телеком за NATом. При входящем звонке, нет звука (не слышу ivr меню, хотя по debug вижу что IVR играет). вот конфиг

trunkname=mango
username=юзер
type=peer
secret=пасс
nat=no
insecure=invite
host=company.mangosip.ru
fromuser=юзер
fromdomain=company.mangosip.ru
dtmfmode=rfc2833
disallow=all
context=from-trunk
canreinvite=nonat
allow=g729&alaw&ulaw

А если ставлю такой конф

type=peer
trunkname=mango
secret=пасс
nat=no
insecure=invite
host=company.mangosip.ru
hassip=yes
hasiax=no
hasexten=no
fromuser=юзер
fromdomain=company.mangosip.ru
dtmfmode=rfc2833
disallow=all
defaultuser=юзер
context=from-internal
canreinvite=nonat
allow=alaw&ulaw&g729
callbackextension=1000

звук есть, но мне нужно не на 1000 входящий а на IVR

ВОТ лог.

   -- Executing [4955454511@from-trunk:1] Set("SIP/mango-000001e5", "__FROM_DID=4955454511") in new stack
    -- Executing [4955454511@from-trunk:2] Gosub("SIP/mango-000001e5", "app-blacklist-check,s,1") in new stack
    -- Executing [s@app-blacklist-check:1] GotoIf("SIP/mango-000001e5", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:2] Set("SIP/mango-000001e5", "CALLED_BLACKLIST=1") in new stack
    -- Executing [s@app-blacklist-check:3] Return("SIP/mango-000001e5", "") in new stack
    -- Executing [4955454511@from-trunk:3] ExecIf("SIP/mango-000001e5", "0 ?Set(CALLERID(name)=79262640165)") in new stack
    -- Executing [4955454511@from-trunk:4] Set("SIP/mango-000001e5", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [4955454511@from-trunk:5] Set("SIP/mango-000001e5", "CALLERPRES()=allowed_not_screened") in new stack
    -- Executing [4955454511@from-trunk:6] Goto("SIP/mango-000001e5", "ivr-9,s,1") in new stack
    -- Goto (ivr-9,s,1)
    -- Executing [s@ivr-9:1] Set("SIP/mango-000001e5", "MSG=ru/blok1/1-hello&ru/blok1/2-local_number&ru/blok1/3-sell&ru/blok1/4-2&ru/blok1/5-reg&ru/blok1/6-3&ru/blok2/13-fax&ru/blok3/16-8&ru/blok1/7-secr&ru/blok1/8-4&ru/blok1/9-oper") in new stack
    -- Executing [s@ivr-9:2] Set("SIP/mango-000001e5", "LOOPCOUNT=0") in new stack
    -- Executing [s@ivr-9:3] Set("SIP/mango-000001e5", "__DIR-CONTEXT=") in new stack
    -- Executing [s@ivr-9:4] Set("SIP/mango-000001e5", "_IVR_CONTEXT_ivr-9=") in new stack
    -- Executing [s@ivr-9:5] Set("SIP/mango-000001e5", "_IVR_CONTEXT=ivr-9") in new stack
    -- Executing [s@ivr-9:6] GotoIf("SIP/mango-000001e5", "0?begin") in new stack
    -- Executing [s@ivr-9:7] Answer("SIP/mango-000001e5", "") in new stack
    -- Executing [s@ivr-9:8] Wait("SIP/mango-000001e5", "1") in new stack
    -- DAHDI/i1/84262268653-9624 is proceeding passing it to DAHDI/i2/1512-8250
    -- DAHDI/i1/84262268653-9624 is ringing
    -- Executing [s@ivr-9:9] Set("SIP/mango-000001e5", "TIMEOUT(digit)=3") in new stack
    -- Digit timeout set to 3.000
    -- Executing [s@ivr-9:10] Set("SIP/mango-000001e5", "TIMEOUT(response)=2") in new stack
    -- Response timeout set to 2.000
    -- Executing [s@ivr-9:11] Set("SIP/mango-000001e5", "__IVR_RETVM=RETURN") in new stack
    -- Executing [s@ivr-9:12] ExecIf("SIP/mango-000001e5", "1?Background(ru/blok1/1-hello&ru/blok1/2-local_number&ru/blok1/3-sell&ru/blok1/4-2&ru/blok1/5-reg&ru/blok1/6-3&ru/blok2/13-fax&ru/blok3/16-8&ru/blok1/7-secr&ru/blok1/8-4&ru/blok1/9-oper)") in new stack
    -- Executing [s@ivr-9:13] WaitExten("SIP/mango-000001e5", ",") in new stack
    -- DAHDI/i1/89153868249-9623 answered DAHDI/i2/1413-824f
    -- Native bridging DAHDI/i2/1413-824f and DAHDI/i1/89153868249-9623
    -- Timeout on SIP/mango-000001e5, going to 't'
    -- Executing [t@ivr-9:1] Set("SIP/mango-000001e5", "MSG=CREDITS-asterisk-core-ru-1.4.22&ru/auth-incorrect") in new stack
    -- Executing [t@ivr-9:2] Set("SIP/mango-000001e5", "LOOPCOUNT=1") in new stack
    -- Executing [t@ivr-9:3] GotoIf("SIP/mango-000001e5", "0?s,begin") in new stack
    -- Executing [t@ivr-9:4] NoOp("SIP/mango-000001e5", "Deleting:  ") in new stack
    -- Executing [t@ivr-9:5] Set("SIP/mango-000001e5", "__NODEST=") in new stack
    -- Executing [t@ivr-9:6] Goto("SIP/mango-000001e5", "ext-miscdests,16,1") in new stack
    -- Goto (ext-miscdests,16,1)
    -- Executing [16@ext-miscdests:1] NoOp("SIP/mango-000001e5", "MiscDest: 1111") in new stack
    -- Executing [16@ext-miscdests:2] Goto("SIP/mango-000001e5", "from-internal,1111,1") in new stack
    -- Goto (from-internal,1111,1)
    -- Executing [1111@from-internal:1] Macro("SIP/mango-000001e5", "user-callerid,SKIPTTL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/mango-000001e5", "AMPUSER=79262640165") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/mango-000001e5", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/mango-000001e5", "1?Set(REALCALLERIDNUM=79262640165)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/mango-000001e5", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/mango-000001e5", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/mango-000001e5", "1?report") in new stack
    -- Goto (macro-user-callerid,s,10)
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/mango-000001e5", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] Set("SIP/mango-000001e5", "CALLERID(number)=79262640165") in new stack
    -- Executing [s@macro-user-callerid:20] Set("SIP/mango-000001e5", "CALLERID(name)=79262640165") in new stack
    -- Executing [s@macro-user-callerid:21] NoOp("SIP/mango-000001e5", "Using CallerID "79262640165" <79262640165>") in new stack
    -- Executing [1111@from-internal:2] NoOp("SIP/mango-000001e5", "Calling Out Route: cisco") in new stack
    -- Executing [1111@from-internal:3] Set("SIP/mango-000001e5", "MOHCLASS=default") in new stack
    -- Executing [1111@from-internal:4] Set("SIP/mango-000001e5", "_NODEST=") in new stack
    -- Executing [1111@from-internal:5] Macro("SIP/mango-000001e5", "record-enable,,OUT,") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/mango-000001e5", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("SIP/mango-000001e5", "1?MacroExit()") in new stack
    -- Executing [1111@from-internal:6] Macro("SIP/mango-000001e5", "dialout-trunk,1,1111,") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/mango-000001e5", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/mango-000001e5", "0?sub-pincheck,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/mango-000001e5", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/mango-000001e5", "DIAL_NUMBER=1111") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/mango-000001e5", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/mango-000001e5", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/mango-000001e5", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/mango-000001e5", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/mango-000001e5", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/mango-000001e5", "DIAL_TRUNK_OPTIONS=Tt") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/mango-000001e5", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/mango-000001e5", "1?Set(CALLERPRES()=allowed_not_screened)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/mango-000001e5", "0?Set(REALCALLERIDNUM=79262640165)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/mango-000001e5", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/mango-000001e5", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/mango-000001e5", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/mango-000001e5", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/mango-000001e5", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/mango-000001e5", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/mango-000001e5", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/mango-000001e5", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/mango-000001e5", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/mango-000001e5", "1?sub-flp-1,s,1") in new stack
    -- Executing [s@sub-flp-1:1] ExecIf("SIP/mango-000001e5", "0?Set(TARGET_FLP_1=1)") in new stack
    -- Executing [s@sub-flp-1:2] GotoIf("SIP/mango-000001e5", "0?match") in new stack
    -- Executing [s@sub-flp-1:3] Return("SIP/mango-000001e5", "") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/mango-000001e5", "OUTNUM=1111") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/mango-000001e5", "custom=DAHDI/g2") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/mango-000001e5", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/mango-000001e5", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/mango-000001e5", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/mango-000001e5", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/mango-000001e5", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/mango-000001e5", "DAHDI/g2/1111,300,Tt") in new stack
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/mango-000001e5", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 58") in new stack
    -- Executing [s@macro-dialout-trunk:21] Goto("SIP/mango-000001e5", "s-CHANUNAVAIL,1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/mango-000001e5", "RC=58") in new stack
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/mango-000001e5", "58,1") in new stack
    -- Goto (macro-dialout-trunk,58,1)
    -- Executing [58@macro-dialout-trunk:1] Goto("SIP/mango-000001e5", "continue,1") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/mango-000001e5", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,continue,3)
    -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/mango-000001e5", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 58 - failing through to other trunks") in new stack
    -- Executing [continue@macro-dialout-trunk:4] Set("SIP/mango-000001e5", "CALLERID(number)=") in new stack
    -- Executing [1111@from-internal:7] Macro("SIP/mango-000001e5", "outisbusy,") in new stack
    -- Executing [s@macro-outisbusy:1] Progress("SIP/mango-000001e5", "") in new stack
    -- Executing [s@macro-outisbusy:2] GotoIf("SIP/mango-000001e5", "0?emergency,1") in new stack
    -- Executing [s@macro-outisbusy:3] GotoIf("SIP/mango-000001e5", "0?intracompany,1") in new stack
    -- Executing [s@macro-outisbusy:4] Playback("SIP/mango-000001e5", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
    -- Executing [s@macro-outisbusy:5] Congestion("SIP/mango-000001e5", "20") in new stack
  == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/mango-000001e5' in macro 'outisbusy'
  == Spawn extension (from-internal, 1111, 7) exited non-zero on 'SIP/mango-000001e5'
    -- Executing [h@from-internal:1] Macro("SIP/mango-000001e5", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/mango-000001e5", "1?endmixmoncheck") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("SIP/mango-000001e5", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/mango-000001e5", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,15)
    -- Executing [s@macro-hangupcall:15] NoOp("SIP/mango-000001e5", "MEETME_RECORDINGFILE=") in new stack
    -- Executing [s@macro-hangupcall:16] GotoIf("SIP/mango-000001e5", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,18)
    -- Executing [s@macro-hangupcall:18] NoOp("SIP/mango-000001e5", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:19] GotoIf("SIP/mango-000001e5", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,25)
    -- Executing [s@macro-hangupcall:25] NoOp("SIP/mango-000001e5", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:26] GotoIf("SIP/mango-000001e5", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,29)
    -- Executing [s@macro-hangupcall:29] GotoIf("SIP/mango-000001e5", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,32)
    -- Executing [s@macro-hangupcall:32] GotoIf("SIP/mango-000001e5", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,34)
    -- Executing [s@macro-hangupcall:34] Hangup("SIP/mango-000001e5", "") in new stack
  == Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/mango-000001e5' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/mango-000001e5'
удалить закрыть спам изменить тег редактировать

спросил 2013-07-29 14:48:54 +0400

Asuz Gravatar Asuz
1 3 3

обновил 2013-07-30 09:33:51 +0400

Comments

Настройте нормально NAT и работайте.

zzuz ( 2013-07-29 17:16:58 +0400 )редактировать

А что вы имеете ввиду под словами нормально :) ? направьте в нужном направлении.

Asuz ( 2013-07-30 09:15:46 +0400 )редактировать

rtp set debug ip [ip манго] и смотрите что куда идет

romariosar ( 2013-07-30 09:44:58 +0400 )редактировать

Будьте первым, кто ответит на этот вопрос!

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[скрыть предварительный просмотр]

Закладки и информация

Добавить закладку

подписаться на rss ленту новостей

Статистика

Задан: 2013-07-29 14:48:54 +0400

Просмотрен: 1,380 раз

Обновлен: Jul 30 '13

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.