[asterisk-users] No music on hold on ISDN line
Jakub Głazik
zytek-lists at nuxi.pl
Tue Jul 17 06:57:53 CDT 2007
Hello,
I have two "incoming" lines connected to my Asterisk
(1.4.7.1 at FreeBSD6.2). One voip and one ISDN line. Both go into
"incoming" context.
I have a problem, that when I press Flash the client who calls does not
hear music on hold, but only on the ISDN line, on VOIP everything is ok.
[incoming]
exten => s,1,SetMusicOnHold(default)
exten => s,2,AGI(test|incoming)
exten => s,3,Dial(${INOTEL_INCOMING},${RINGTIME},Tt)
exten => s,n,Hangup
exten => h,1,DeadAGI(test|dead)
Got any ideas?
-- Executing [s at incoming:3] Dial("CAPI/ISDN/717817630-2",
"SIP/101&SIP/102|720|Tt") in new stack -- Called 101
-- Called 102
-- SIP/102-08783000 is ringing
-- SIP/102-08783000 answered CAPI/ISDN/717817630-2
==
capi_send_detect_dtmf_req:3445:ENTRY=ISDN:PLCI=0x1400:PBX_CHAN=CAPI/ISDN/717817630-2:
== Setting up DTMF detector, flag=1
Now the "flash" key was pressed and there is no "Starting music on
hold". Got any ideas why?
[root at asterisk /usr/local/etc/asterisk]# cat capi.conf
[general]
nationalprefix=0
internationalprefix=00
rxgain=1
txgain=1
debug=no
[ISDN]
isdnmode=msn
msn=717817630
incomingmsn=717817630
controller=0
group=1
softdtmf=off
relaxdtmf=off
accountcode=
context=incoming
holdtype=local
echocancel=no
echosquelch=no
devices=2
[root at asterisk /usr/local/etc/asterisk]# isdnconfig
controller 0 = {
Layer 1:
description : HFC-2BDS0 128K PCI ISDN adapter
type : passive ISDN (Basic Rate, 2xB)
channels : 0x3
serial : 0xabcd
power_save : on
dialtone : enabled
attached : yes
PH-state : F7: Activated
Layer 2:
driver_type : DRVR_D_CHANNEL
}
--
.: Jakub Głazik,
.: email & jabber: zytek<at>nuxi.pl
More information about the asterisk-users
mailing list