I have googled this to death, and all I get are reference to the MoH
needing a Zaptel timing source, and then people saying no they don't
any more.
-- Set Response Timeout to 2
-- Executing BackGround("SIP/211-57ba", "my-greeting")
in new stack
-- Playing 'my-greeting' (language 'en')
== CDR updated on SIP/211-57ba
-- Executing MusicOnHold("SIP/211-57ba", "") in new
stack
-- Started music on hold, class 'default', on SIP/211-57ba
-- Stopped music on hold on SIP/211-57ba
== Spawn extension (webtree, 7, 1) exited non-zero on 'SIP/211-57ba'
Jul 1 20:19:32 NOTICE[1376]: res_musiconhold.c:309 monmp3thread:
Request to schedule in the past?!?!
It seems to work for a little while after a reboot then dies a death.
The extension just gets dead air, and the error message is on the CLI,
it always comes up after a call, and seemingly randomly inbetween.
Any suggestions where to look?
extensions.conf has
exten =>
_[123],3,Dial(SIP/200&SIP/202&SIP/210&SIP/211&SIP/212|40|m)
and
exten => 7,1,musiconhold()
both do the same thing.
musiconhold.conf has
[classes]
default => mp3:/var/lib/asterisk/mohmp3,-z
;loud => mp3:/var/lib/asterisk/mohmp3
;random => quietmp3:/var/lib/asterisk/mohmp3,-z
Thanks
Mark
Keith Caldwell
2005-Jul-01 21:35 UTC
[Asterisk-Users] TDM11B Dev Kit PCI + Asterisk CVS Head
I just downloaded the latest asterisk and zaptel from cvs and I'm
having trouble setting the callerid on the fxs interface. From what
I've read you should be able to set it in the zapata.conf but I can't
get it to work. I had a cheap X100P clone but recently bought the Dev
Kit PCI . I've built a seperate server and have everything up and
running except everytime I go to check my voicemail I have to enter
my extension each time. Here is the exten for voicemail that I have
set up.
[vmail-main]
exten => 580,1,Wait,1
exten => 580,2,Answer
exten => 580,3,VoiceMailMain(${CALLERIDNUM}@${CONTEXT})
exten => 580,4,Wait,2
exten => 580,5,hangup
I've set up a test extension that will say cid
exten => 222,1,Wait,2
exten => 222,2,SayDigits(${CALLERIDNUM})
exten => 222,3,Hangup
It works with a sip soft phone I've tested it with.
Here is the zapata.conf
[channels]
busydetect=no
musiconhold=default
transfer=yes
cancallforward=yes
usecallerid=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
immediate=no
context=internal
signalling=fxo_ks
channel=1
context=pstn-in
callerid="Keith" <100>
signalling=fxs_ks
channel=4
callerid=asrecieved
Any Idea what I'm doing wrong?
Keith
> I have googled this to death, and all I get are reference to the MoH > needing a Zaptel timing source, and then people saying no they don't > any more. > > -- Set Response Timeout to 2 > -- Executing BackGround("SIP/211-57ba", "my-greeting") in new stack > -- Playing 'my-greeting' (language 'en') > == CDR updated on SIP/211-57ba > -- Executing MusicOnHold("SIP/211-57ba", "") in new stack > -- Started music on hold, class 'default', on SIP/211-57ba > -- Stopped music on hold on SIP/211-57ba > == Spawn extension (webtree, 7, 1) exited non-zero on 'SIP/211-57ba' > Jul 1 20:19:32 NOTICE[1376]: res_musiconhold.c:309 monmp3thread: > Request to schedule in the past?!?! > > It seems to work for a little while after a reboot then dies a death. > The extension just gets dead air, and the error message is on the CLI, > it always comes up after a call, and seemingly randomly inbetween. > > Any suggestions where to look? > > extensions.conf has > exten => _[123],3,Dial(SIP/200&SIP/202&SIP/210&SIP/211&SIP/212|40|m) > and > exten => 7,1,musiconhold() > > both do the same thing. > > musiconhold.conf has > [classes] > default => mp3:/var/lib/asterisk/mohmp3,-z > ;loud => mp3:/var/lib/asterisk/mohmp3 > ;random => quietmp3:/var/lib/asterisk/mohmp3,-z>From your system command line (not asterisk), type 'mpg123' and tellus what version of mpg123 you're running. If its not v0.59r or v0.59q, then get one of those installed. (Lots of notes say v0.59r only, however I've been using v0.59q on RHv9 and Fedora 3 boxes with no problems.)