Asterisk elastix

מתוך R63
קפיצה אל: ניווט, חיפוש

elastix dail goodbye

http://www.elastix.org/component/kunena/3-help/64912-trunk-call-making-from-asterisk.html

i can dial extensions created(114,112,111,110,115) in elastix, but when i try to dial outside trunk calls, it says good bye message.

tips

Context: from-internal http://fonality.com/trixbox/node/38890


Warning : simply reloading Asterisk is not enough to activate the AMI ; you need to restart Asterisk (check that nobody is on the phone, because a restart of Asterisk will stop all ongoing phone calls).

Look at your dialing rules, in Elastix......outgoing, most likely the dialing rule looks like 9.| meaning you need to prefix 9 to your dialed...clicked number.

in server 03

 == Using SIP RTP TOS bits 184
 == Using SIP RTP CoS mark 5
   -- Executing [h@macro-dialout-trunk:1] Macro("SIP/206-0000414e", "hangupcall,") in new stack
   -- Executing [s@macro-hangupcall:1] GotoIf("SIP/206-0000414e", "0?endmixmoncheck") in new stack
   -- Executing [s@macro-hangupcall:2] Set("SIP/206-0000414e", "MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/OUT206-20121029-175946-1351526386.29884.wav") in new stack
   -- Executing [s@macro-hangupcall:3] GotoIf("SIP/206-0000414e", "1?defaultmixmondir") in new stack
   -- Goto (macro-hangupcall,s,5)
   -- Executing [s@macro-hangupcall:5] System("SIP/206-0000414e", "test -e /var/spool/asterisk/monitor/OUT206-20121029-175946-1351526386.29884.wav") in new stack
   -- Executing [s@macro-hangupcall:6] NoOp("SIP/206-0000414e", "SYSTEMSTATUS = SUCCESS") in new stack
   -- Executing [s@macro-hangupcall:7] GotoIf("SIP/206-0000414e", "1?endmixmoncheck") in new stack
   -- Goto (macro-hangupcall,s,9)
   -- Executing [s@macro-hangupcall:9] NoOp("SIP/206-0000414e", "End of MIXMON check") in new stack
   -- Executing [s@macro-hangupcall:10] GotoIf("SIP/206-0000414e", "1?nomeetmemon") in new stack
   -- Goto (macro-hangupcall,s,15)
   -- Executing [s@macro-hangupcall:15] NoOp("SIP/206-0000414e", "MEETME_RECORDINGFILE=") in new stack
   -- Executing [s@macro-hangupcall:16] GotoIf("SIP/206-0000414e", "1?noautomon") in new stack
   -- Goto (macro-hangupcall,s,18)
   -- Executing [s@macro-hangupcall:18] NoOp("SIP/206-0000414e", "TOUCH_MONITOR_OUTPUT=") in new stack
   -- Executing [s@macro-hangupcall:19] GotoIf("SIP/206-0000414e", "1?noautomon2") in new stack
   -- Goto (macro-hangupcall,s,25)
   -- Executing [s@macro-hangupcall:25] NoOp("SIP/206-0000414e", "MONITOR_FILENAME=") in new stack
   -- Executing [s@macro-hangupcall:26] GotoIf("SIP/206-0000414e", "1?skiprg") in new stack
   -- Goto (macro-hangupcall,s,29)
   -- Executing [s@macro-hangupcall:29] GotoIf("SIP/206-0000414e", "1?skipblkvm") in new stack
   -- Goto (macro-hangupcall,s,32)
   -- Executing [s@macro-hangupcall:32] GotoIf("SIP/206-0000414e", "1?theend") in new stack
   -- Goto (macro-hangupcall,s,34)
   -- Executing [s@macro-hangupcall:34] Hangup("SIP/206-0000414e", "") in new stack
 == Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/206-0000414e' in macro 'hangupcall'
 == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/206-0000414e'
   -- Hungup 'IAX2/CALL4EX-10021'
 == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/206-0000414e' in macro 'dialout-trunk'
 == Spawn extension (from-internal, 0503838183, 6) exited non-zero on 'SIP/206-0000414e'
 == MixMonitor close filestream
 == End MixMonitor Recording SIP/206-0000414e

in server 02

  > Channel SIP/301-0000017e was answered.
 == Starting SIP/301-0000017e at internal,07224544444,1 failed so falling back to exten 's'  <<<<<  Should not be internal !!!
 == Starting SIP/301-0000017e at internal,s,1 still failed so falling back to context 'default'
   -- Executing [s@default:1] Playback("SIP/301-0000017e", "vm-goodbye") in new stack
   -- <SIP/301-0000017e> Playing 'vm-goodbye' (language 'en')
   -- Executing [s@default:2] Macro("SIP/301-0000017e", "hangupcall") in new stack
   -- Executing [s@macro-hangupcall:1] GotoIf("SIP/301-0000017e", "1?endmixmoncheck") in new stack
   -- Goto (macro-hangupcall,s,9)
   -- Executing [s@macro-hangupcall:9] NoOp("SIP/301-0000017e", "End of MIXMON check") in new stack
   -- Executing [s@macro-hangupcall:10] GotoIf("SIP/301-0000017e", "1?nomeetmemon") in new stack
   -- Goto (macro-hangupcall,s,12)
   -- Executing [s@macro-hangupcall:12] NoOp("SIP/301-0000017e", "MEETME_RECORDINGFILE=") in new stack
   -- Executing [s@macro-hangupcall:13] GotoIf("SIP/301-0000017e", "1?noautomon") in new stack
   -- Goto (macro-hangupcall,s,15)
   -- Executing [s@macro-hangupcall:15] NoOp("SIP/301-0000017e", "TOUCH_MONITOR_OUTPUT=") in new stack
   -- Executing [s@macro-hangupcall:16] GotoIf("SIP/301-0000017e", "1?noautomon2") in new stack
   -- Goto (macro-hangupcall,s,18)
   -- Executing [s@macro-hangupcall:18] NoOp("SIP/301-0000017e", "MONITOR_FILENAME=") in new stack
   -- Executing [s@macro-hangupcall:19] GotoIf("SIP/301-0000017e", "1?skiprg") in new stack
   -- Goto (macro-hangupcall,s,22)
   -- Executing [s@macro-hangupcall:22] GotoIf("SIP/301-0000017e", "1?skipblkvm") in new stack
   -- Goto (macro-hangupcall,s,25)
   -- Executing [s@macro-hangupcall:25] GotoIf("SIP/301-0000017e", "1?theend") in new stack
   -- Goto (macro-hangupcall,s,27)
   -- Executing [s@macro-hangupcall:27] Hangup("SIP/301-0000017e", "") in new stack
 == Spawn extension (macro-hangupcall, s, 27) exited non-zero on 'SIP/301-0000017e' in macro 'hangupcall'
 == Spawn extension (default, s, 2) exited non-zero on 'SIP/301-0000017e'

pbx*CLI>


כלים אישיים