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

Вызов через originate

0

Здравствуйте, При совершении вызова через originate не слышно гудка вызова. Телефон звонит, а в трубке тишина, можно это как то подправить

CLI>    > Saved useragent "Sipura/SPA941-4.1.8" for peer 7102
CLI>    == Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [7202@from-internal:1] Macro("SIP/7102-0000000d", "exten-vm,novm,7202") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/7102-0000000d", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/7102-0000000d", "AMPUSER=7102") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/7102-0000000d", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/7102-0000000d", "1?Set(REALCALLERIDNUM=7102)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/7102-0000000d", "AMPUSER=7102") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/7102-0000000d", "AMPUSERCIDNAME=Cate") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/7102-0000000d", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/7102-0000000d", "AMPUSERCID=7102") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/7102-0000000d", "CALLERID(all)="Cate" <7102>") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("SIP/7102-0000000d", "0?continue") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/7102-0000000d", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/7102-0000000d", "1?continue") in new stack
-- Goto (macro-user-callerid,s,18)
-- Executing [s@macro-user-callerid:18] Set("SIP/7102-0000000d", "CALLERID(number)=7102") in new stack
-- Executing [s@macro-user-callerid:19] Set("SIP/7102-0000000d", "CALLERID(name)=Cate") in new stack
-- Executing [s@macro-user-callerid:20] NoOp("SIP/7102-0000000d", "Using CallerID "Cate" <7102>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/7102-0000000d", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/7102-0000000d", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/7102-0000000d", "EXTTOCALL=7202") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/7102-0000000d", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/7102-0000000d", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/7102-0000000d", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/7102-0000000d", "record-enable,7202,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/7102-0000000d", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/7102-0000000d", "recordingcheck,20130124-143516,1359027316.32") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck recordingcheck,20130124-143516,1359027316.32: Inbound recording not enabled
-- <SIP/7102-0000000d>AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/7102-0000000d", "") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/7102-0000000d", "dial,"",tr,7202") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/7102-0000000d", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/7102-0000000d", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
 dialparties.agi: Starting New Dialparties.agi
 dialparties.agi: Caller ID name is 'test' number is '7102'
   > dialparties.agi: USE_CONFIRMATION:  'FALSE'
   > dialparties.agi: RINGGROUP_INDEX:   ''
dialparties.agi: Methodology of ring is  'none'
-- dialparties.agi: Added extension 7202 to extension map
-- dialparties.agi: Extension 7202 cf is disabled
-- dialparties.agi: Extension 7202 do not disturb is disabled
   > dialparties.agi: extnum 7202 has:  cw: 1; hascfb: 0 [] hascfu: 0 []
dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
-- dialparties.agi: dbset CALLTRACE/7202 to 7102
-- dialparties.agi: Filtered ARG3: 7202
-- <SIP/7102-0000000d>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/7102-0000000d", "SIP/7202,"",tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called 7202
-- SIP/7202-0000000e is ringing
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/7102-0000000d' in macro 'dial'
== Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'SIP/7102-0000000d' in macro 'exten-vm'
== Spawn extension (from-internal, 7202, 1) exited non-zero on 'SIP/7102-0000000d'
-- Executing [h@from-internal:1] Macro("SIP/7102-0000000d", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/7102-0000000d", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/7102-0000000d", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/7102-0000000d", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/7102-0000000d", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/7102-0000000d' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/7102-0000000d'
== Manager 'admin' logged on from 192.168.0.31
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> Channel SIP/7202-0000000f was answered.
 -- Executing [7102@from-internal:1] Macro("SIP/7202-0000000f", "exten-vm,novm,7102") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/7202-0000000f", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/7202-0000000f", "AMPUSER=7102") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/7202-0000000f", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/7202-0000000f", "1?Set(REALCALLERIDNUM=7102)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/7202-0000000f", "AMPUSER=7102") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/7202-0000000f", "AMPUSERCIDNAME=test") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/7202-0000000f", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/7202-0000000f", "AMPUSERCID=7102") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/7202-0000000f", "CALLERID(all)="Cate" <7102>") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("SIP/7202-0000000f", "0?continue") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/7202-0000000f", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/7202-0000000f", "1?continue") in new stack
-- Goto (macro-user-callerid,s,18)
-- Executing [s@macro-user-callerid:18] Set("SIP/7202-0000000f", "CALLERID(number)=7102") in new stack
-- Executing [s@macro-user-callerid:19] Set("SIP/7202-0000000f", "CALLERID(name)=Cate") in new stack
-- Executing [s@macro-user-callerid:20] NoOp("SIP/7202-0000000f", "Using CallerID "Cate" <7102>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/7202-0000000f", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/7202-0000000f", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/7202-0000000f", "EXTTOCALL=7102") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/7202-0000000f", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/7202-0000000f", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/7202-0000000f", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/7202-0000000f", "record-enable,7102,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/7202-0000000f", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/7202-0000000f", "recordingcheck,20130124-143628,1359027383.34") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
 recordingcheck,20130124-143628,1359027383.34: Inbound recording not enabled` -- <SIP/7202-0000000f>AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/7202-0000000f", "") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/7202-0000000f", "dial,"",tr,7102") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/7202-0000000f", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/7202-0000000f", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi`
 dialparties.agi: Starting New Dialparties.agi
 dialparties.agi: Caller ID name is 'Cate' number is '7102'
> dialparties.agi: USE_CONFIRMATION:  'FALSE'
> dialparties.agi: RINGGROUP_INDEX:   ''
dialparties.agi: Methodology of ring is  'none'
  -- dialparties.agi: Added extension 7102 to extension map
-- dialparties.agi: Extension 7102 cf is disabled
-- dialparties.agi: Extension 7102 do not disturb is disabled
> dialparties.agi: extnum 7102 has:  cw: 1; hascfb: 0 [] hascfu: 0 []
 dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
-- dialparties.agi: dbset CALLTRACE/7102 to 7102
-- dialparties.agi: Filtered ARG3: 7102
-- <SIP/7202-0000000f>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/7202-0000000f", "SIP/7102,"",tr") in new stack
 == Using SIP RTP TOS bits 184
 == Using SIP RTP CoS mark 5
-- Called 7102
-- SIP/7102-00000010 is ringing
-- SIP/7102-00000010 answered SIP/7202-0000000f
-- Executing [h@macro-dial:1] Macro("SIP/7202-0000000f", "hangupcall") in ne
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/7202-0000000f", "1?skiprg")
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/7202-0000000f", "1?skipblkv
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/7202-0000000f", "1?theend")
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/7202-0000000f", "") in new
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/7202-0000
== Spawn extension (macro-dial, h, 1) exited non-zero on 'SIP/7202-0000000f'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/7202-0000000f'
== Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'SIP/7202-000000
== Spawn extension (from-internal, 7102, 1) exited non-zero on 'SIP/7202-0000
-- Executing [h@from-internal:1] Macro("SIP/7202-0000000f", "hangupcall") i
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/7202-0000000f", "1?skiprg")
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/7202-0000000f", "1?skipblkv
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/7202-0000000f", "1?theend")
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/7202-0000000f", "") in new
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/7202-0000
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/7202-0000000
удалить закрыть спам изменить тег редактировать

спросил 2013-01-24 13:46:34 +0400

a.r.t. Gravatar a.r.t.
16 3 1 6

обновил 2013-01-24 15:54:12 +0400

Comments

гадание на кофейной гуще... логи

ruslan.zabirov ( 2013-01-24 13:55:53 +0400 )редактировать

ну у вас там стоит tr. если гудков таки нету, то проверьте работает у вас вообще сип или нет.

meral ( 2013-01-24 15:18:30 +0400 )редактировать

sip работает

Телефоны соединяются, но вот звонящий не слышит гудки вызова

a.r.t. ( 2013-01-24 15:33:34 +0400 )редактировать

1 Ответ

0

можно. доабвить m или r в ключи диал который идет вторым.

ссылка удалить спам редактировать

ответил 2013-01-24 14:46:10 +0400

meral Gravatar meral flag of Ukraine
23347 24 20 177
http://pro-sip.net/

Comments

Подскажите пожалуйста я не очень понял куда добавить m или r

Action: Originate

Channel: SIP/7202

Context: from-internal

Exten: 7102

Priority: 1

Callerid: 7102

Timeout: 15000

Async: yes

a.r.t. ( 2013-01-24 15:32:35 +0400 )редактировать

никуда не добавить.у вас там есть r. я бы вам рекомендовал занятся настройками телефона 7202. а лучше не заниматся дозвоном с низкой квалификацией. можете в трубу вылететь на счетах за звонки.

meral ( 2013-01-24 16:01:50 +0400 )редактировать

Аster который будет использоваться для дозвона является модулем для другой (программы) это типа дозвона из 1С.

Всё нормально работает. Только тишина в трубке немного раздражает.

a.r.t. ( 2013-01-24 16:12:58 +0400 )редактировать

вам виднее.

meral ( 2013-01-24 18:21:08 +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-01-24 13:46:34 +0400

Просмотрен: 580 раз

Обновлен: Jan 24 '13

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