Article View: alt.pl.voip
Article #73883Re: Asterisk i odegranie wav jesli linia zajeta, jak ??
From: Surface
Date: Mon, 03 Oct 2016 09:28
Date: Mon, 03 Oct 2016 09:28
60 lines
2688 bytes
2688 bytes
Własnie zmieniłem ale nadal mam to samo :/
Nie wiem czy dochodzi do tego momentu:
exten => _3X,1,DIAL(SIP/${EXTEN},45,r) ; numery 30-39
exten => _xxxxxxxxx,n,Goto(s-${DIALSTATUS},1)
exten => _xxxxxxxxx,n,Wait(2)
exten => s-BUSY,n,Playback(linia_zajeta_m1)
exten => s-BUSY,n,Hangup
a konsoli:
== Using SIP RTP CoS mark 5
-- Executing [38@35:1] Dial("SIP/35-00000000", "SIP/38,45,r") in
new stack
== Using SIP RTP CoS mark 5
-- Called SIP/38
-- Got SIP response 486 "Busy Here" back from 46.112.124.xx:5060
-- SIP/38-00000001 is busy
== Everyone is busy/congested at this time (1:1/0/0)
-- Auto fallthrough, channel 'SIP/35-00000000' status is 'BUSY'
debian*CLI>
W dniu 2016-10-03 o 11:22, Cezar pisze:
> On 03/10/2016 10:08, Surface wrote:
>> Witam
>>
>> co mam zle :) ?
>>
>> kiedys chyba odgrywało wav jak linia była zajeta a teraz zwraca tylko ze
>> BUSY
>>
>> == Using SIP RTP CoS mark 5
>> -- Executing [38@35:1] Dial("SIP/35-00000000", "SIP/38,40,tr") in
>> new stack
>> == Using SIP RTP CoS mark 5
>> -- Called SIP/38
>> -- Got SIP response 486 "Busy Here" back from 46.112.124.xx:5060
>> -- SIP/38-00000001 is busy
>> == Everyone is busy/congested at this time (1:1/0/0)
>> -- Auto fallthrough, channel 'SIP/35-00000000' status is 'BUSY'
>>
>> A w extension:
>>
>> exten => _xxxxxxxxx,n,Goto(s-${DIALSTATUS},1)
>> exten => _xxxxxxxxx,n,Wait(2)
>> exten => s-CONGESTION,n,Playback(linia_zajeta_m1)
>> exten => s-CONGESTION,n,Hangup
>
> CONGESTION to nie jest to samo co BUSY.
>
> CONGESTION dostaniesz gdy np 38 lub 40 nie sÄ… zarejestrowane.
>
> dodaj to (lub zmień CONGESTION na BUSY):
>
> exten => s-BUSY,n,Playback(linia_zajeta_m1)
> exten => s-BUSY,n,Hangup
>
Technical Details
Message-ID:
<nst8ba$qsq$1@node2.news.atman.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mailReferences:
<nst75n$pki$1@node2.news.atman.pl> <nst802$bp5$1@news.chmurka.net>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail From: Surface <to_nie_ja@op.pl> Newsgroups: alt.pl.voip Subject: Re: Asterisk i odegranie wav jesli linia zajeta, jak ?? Date: Mon, 3 Oct 2016 11:28:10 +0200 Organization: ATMAN - ATM S.A. Lines: 60 Message-ID: <nst8ba$qsq$1@node2.news.atman.pl> References: <nst75n$pki$1@node2.news.atman.pl> <nst802$bp5$1@news.chmurka.net> NNTP-Posting-Host: 188.125.62.86 Mime-Version: 1.0 X-Trace: node2.news.atman.pl 1475486890 27546 188.125.62.86 (3 Oct 2016 09:28:10 GMT) X-Complaints-To: usenet@atman.pl NNTP-Posting-Date: Mon, 3 Oct 2016 09:28:10 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 In-Reply-To: <nst802$bp5$1@news.chmurka.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit