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

История изменений [назад]

нажмите, чтобы скрыть/показать версии 1
изначальная версия
редактировать

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

a.r.t. Gravatar a.r.t.

Вызов через originate

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

Вызов через originate

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

Action: Login Username: Login Secret: a33333 Events: off

Action: Originate Channel: SIP/7202 Context: from-internal Exten: 7102 Priority: 1 Callerid: 7102 Timeout: 15000 Async: yes

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=One2Locate") 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)="One2Locate" <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)=One2Locate") in new stack
-- Executing [s@macro-user-callerid:20] NoOp("SIP/7102-0000000d", "Using CallerID "One2Locate" <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)="One2Locate" <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)=One2Locate") in new stack
-- Executing [s@macro-user-callerid:20] NoOp("SIP/7202-0000000f", "Using CallerID "One2Locate" <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 'One2Locate' 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

Вызов через originate

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

Action: Login Username: Login Secret: a33333 Events: off

Action: Originate Channel: SIP/7202 Context: from-internal Exten: 7102 Priority: 1 Callerid: 7102 Timeout: 15000 Async: yes

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=One2Locate") 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)="One2Locate" <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)=One2Locate") in new stack
-- Executing [s@macro-user-callerid:20] NoOp("SIP/7102-0000000d", "Using CallerID "One2Locate" <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)="One2Locate" <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)=One2Locate") in new stack
-- Executing [s@macro-user-callerid:20] NoOp("SIP/7202-0000000f", "Using CallerID "One2Locate" <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 'One2Locate' 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

Вызов через originate

Здравствуйте, При совершении вызова через 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=One2Locate") 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)="One2Locate" <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)=One2Locate") "CALLERID(name)=Locate") in new stack
-- Executing [s@macro-user-callerid:20] NoOp("SIP/7102-0000000d", "Using CallerID "One2Locate" "Locate" <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)="One2Locate" <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)=One2Locate") in new stack
-- Executing [s@macro-user-callerid:20] NoOp("SIP/7202-0000000f", "Using CallerID "One2Locate" <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 'One2Locate' 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

Вызов через originate

Здравствуйте, При совершении вызова через 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=One2Locate") "AMPUSERCIDNAME=Locate") 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)="One2Locate" "CALLERID(all)="Locate" <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)=Locate") in new stack
-- Executing [s@macro-user-callerid:20] NoOp("SIP/7102-0000000d", "Using CallerID "Locate" <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)="One2Locate" "CALLERID(all)="Locate" <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)=One2Locate") "CALLERID(name)=Locate") in new stack
-- Executing [s@macro-user-callerid:20] NoOp("SIP/7202-0000000f", "Using CallerID "One2Locate" "Locate" <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 'One2Locate' 'Locate' 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

Вызов через originate

Здравствуйте, При совершении вызова через 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=Locate") "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)="Locate" "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)=Locate") "CALLERID(name)=Cate") in new stack
-- Executing [s@macro-user-callerid:20] NoOp("SIP/7102-0000000d", "Using CallerID "Locate" "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)="Locate" "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)=Locate") "CALLERID(name)=Cate") in new stack
-- Executing [s@macro-user-callerid:20] NoOp("SIP/7202-0000000f", "Using CallerID "Locate" "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 'Locate' '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

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