Simone Cittadini
2005-Apr-14 07:06 UTC
[Asterisk-Users] MoH stopped working with cisco 7912/7960
I have asterisk 1.0.6 with cisco 7912/7960 phones (sip) and a isdn card
with capi drivers, everything works fine, except for music on hold, even
when you transfer a call (which is the most annoying part, since the
caller thinks the line is down and hangups).
With transfer I don't mean direct transfer (blind), if you directly
transfer the call the caller hears the correct type of ringing while he
waits for the called to take the call.
I made an extension to test if there are problems with mpg123 but i can
hear the music if I explicitly call it :
-- Executing WaitMusicOnHold("SIP/simonec-efcb", "30") in
new stack
-- Started music on hold, class 'default', on SIP/simonec-efcb
-- Stopped music on hold on SIP/simonec-efcb
== Spawn extension (generale, 666, 1) exited non-zero on
'SIP/simonec-efcb'
But putting on hold a call doesn't work :
-- Executing Dial("SIP/simonec-a8bd", "SIP/gianlucab|35") in
new stack
-- Called gianlucab
-- SIP/gianlucab-e100 is ringing
-- SIP/gianlucab-e100 answered SIP/simonec-a8bd
-- Attempting native bridge of SIP/simonec-a8bd and SIP/gianlucab-e100
[here I asked gianluca to put me on hold, i can hear nothing, even if
I'm really on hold, since I can't even talk with him nor hear him
speaking]
== Spawn extension (generale, 108, 1) exited non-zero on
'SIP/simonec-a8bd'
here a snip from sip.conf
[general]
port = 5060
bindaddr = 0.0.0.0
context = generale
disallow=all
allow=ulaw
(tried with and without this line, the line wasn't there when moh worked
on an older installation of * with a quite identical configuration
anyway, just added it in a crisis of desperation)
musiconhold=default
[simonec]
type=friend
secret=blablabla
username=simonec
context=generale
host=dynamic
canreinvite=no
pickupgroup=1
dtmfmode=inband
(etc etc etc ...)
here a sample of the extensions
[general]
static=yes
writeprotect=yes
[globals]
simonec=SIP/simonec
gianlucab=SIP/gianlucab
[interni]
exten => 105,1,Dial(${simonec},35)
exten => 105,2,Hangup
(tried to put a SetMusicOnHold(default) here in a further desperation
crisis, but it's the same)
exten => 108,1,Dial(${gianlucab},35)
exten => 108,2,Hangup
exten => 666,1,WaitMusicOnHold(30)
[day]
include => interni
exten => s,1,Wait(1)
exten => s,2,Answer
exten => s,3,ResponseTimeout,3
(here we call the secretary, she transfers the calls to the right person)
exten => t,1,Dial(${sonian},60)
exten => t,2,Hangup
well that's all
--
Simone Cittadini
IT Manager
=================COMVERT S.R.L.
via F.lli Bressan, 21
20126 Milano - ITALY
Tel +39.02.27006796(aspetta un beep)105
simonec@comvert.com
http://www.comvert.com
Simone Cittadini
2005-Apr-15 04:57 UTC
[Asterisk-Users] MoH stopped working with cisco 7912/7960
Simone Cittadini wrote:> I have asterisk 1.0.6 with cisco 7912/7960 phones (sip) and a isdn card > with capi drivers, everything works fine, except for music on hold, even > when you transfer a call (which is the most annoying part, since the > caller thinks the line is down and hangups). > With transfer I don't mean direct transfer (blind), if you directly > transfer the call the caller hears the correct type of ringing while he > waits for the called to take the call. >OK, solved simply upgrading to 1.0.7 -- Simone Cittadini IT Manager =================COMVERT S.R.L. via F.lli Bressan, 21 20126 Milano - ITALY Tel +39.02.27006796(aspetta un beep)105 simonec@comvert.com http://www.comvert.com