[VoIP] How to do more then one thing at the same time in a extension dial plan?
windmill
windmill at topletter.com
Sun Feb 17 05:10:19 CST 2008
Brent,
I'm not sure what documentation you've been reading but mpg123 is what
*1.2 requires for MOH, however, only one version is guaranteed to work
and that is the 0.59 version which is the only version recommended by
Digium.
*1.4 of course does not require mpg123 as it has its own MOH module.
I can't speak about your plans for multiple files as I have only ever
used the defaults in *1.2 and *1.4 but from all I have read you can
certainly pick and choose the music track to use so I think yoy should
be okay.
Brian
gijones at clear.net.nz wrote:
> Thanks for the suggestions.
>
> After some frustration I managed to get Music On Hold working on my home
> Asterisk box to prove the idea.
> At home and at the museum I am running Asterisk 1.2. Some documentationm
> says 1.2 doesn't use mpg123 for music on hold.
> But in the end I loaded it and recompiled the Asterisk. Now the music on
> hold works.
>
> Can someone check my logic for the solution to my problem.
> Each extension needs it's own track to play.
> So I plan to make each track have it's own dir eg /exten76
> Then I plan in musiconhold.conf to create a class for each track eg
> exten76class
> In the dialplan I would select the appropriate track with something like
>
> exten => 76,1,answer()
> exten => 76,n,Dial(Zap/1/....,60,m[exten76class]
> etc
>
> If I have this right the music on hold will play the only track it will find
> in the exten76 directory over and over until either a timeout of 60 seconds
> or the person hangsup the phone.
>
> Any comments will be appreciated.
>
> Thanks
> Brent
>
>
> ----- Original Message -----
> From: "Chad Perkins" <chad at maine.edu>
> To: "Voice Over IP Tandem for Analog Switches" <voip at ckts.info>
> Sent: Sunday, February 17, 2008 11:36 AM
> Subject: Re: [VoIP] How to do more then one thing at the same time in a
> extension dial plan?
>
>
>
>> I had a sort of similar problem where I wanted to ring a Zap channel (to
>> deliver
>> CallerID to an outboard device) while routing the caller to something
>> other than
>> ringing. The solution also needed to be non-blocking so that if a second
>> call came in
>> on top of the first before the CallerID "line" was freed up, that it
>> wouldn't be busy (to
>> the caller).
>>
>> I accomplished this by having extensions.conf create a "call file" to make
>> the call to
>> the CallerID device while the dialplan continued on with the primary
>> objective of the
>> call. This "system" could be used to add CallerID boxes to old key
>> systems or other
>> multiline scenarios.
>>
>> Chad
>>
>> On 16 Feb 2008 at 20:42, gijones at clear.net.nz wrote:
>>
>>> Mark thanks for the quick reply, I now have a starting point. I'll
>>> look into your suggestion about the music on hold.
>>>
>>> It will be interesting to see what other suggestions people have.
>>>
>>> Thanks
>>> Brent
>>>
>>> ----- Original Message -----
>>> From: "Mark Rudholm" <mark at rudholm.com>
>>> To: "Voice Over IP Tandem for Analog Switches" <voip at ckts.info>
>>> Sent: Saturday, February 16, 2008 8:27 PM
>>> Subject: Re: [VoIP] How to do more then one thing at the same time in
>>> a extension dial plan?
>>>
>>>
>>>
>>>> gijones at clear.net.nz wrote:
>>>>
>>>>> Hi All
>>>>>
>>>>> I am not sure if this is possible but I want to be able to playback
>>>>> a recording to a caller but at the same time be ringing another
>>>>> phone and both things stopping when the caller hangsup.
>>>>>
>>>>> I'll explain what I am trying to do.
>>>>>
>>>>> I am a volunteer in the telecommunications section of a museum. We
>>>>> have a map showing how phone calls can go around the world. It has
>>>>> strings lights inside plastic tubing. Some go off the map to a
>>>>> satellite then back down. Others lie flat on the map representing
>>>>> submarine cables. This was made 10 - 20 years ago. All that was
>>>>> done is that the lights for each route are wired to an extension on
>>>>> a step by step PABX. So to work it a visitor simply dials the
>>>>> extension number for the country they are interested in. The
>>>>> caller doesn't hear anything but ringback tone.
>>>>>
>>>>> One of the members has suggested we have greetings appropriate to
>>>>> the country. The playback and ringing individually is not a
>>>>> problem but I need both things to happen at the same time. I would
>>>>> like to use the exisiting system to save a big rewiring job. I
>>>>> already have the Asterisk box connected to a small PABX that can
>>>>> then dial into the bigger PABX.
>>>>>
>>>>> Any help will be greatly appreciated.
>>>>>
>>>> So, in essence what you're trying to do is replace the standard
>>>> ringback call progress tone with an arbitrary recording. This is
>>>> very easy to do with the "m" option in the Dial() command. It lets
>>>> you set a Music-on-Hold class as the ringing call progress tone.
>>>>
>>>> You'll want to set things up so that the recording starts from
>>>> the beginning each time it is played. I'm not sure how to do
>>>> that but I suspect there's a way.
>>>> _______________________________________________
>>>> VoIP mailing list
>>>> VoIP at ckts.info
>>>> http://lists.ckts.info/mailman/listinfo/voip
>>>> Project Web Page: http://www.ckts.info/
>>>>
>>>>
>>>> --
>>>> No virus found in this incoming message.
>>>> Checked by AVG Free Edition.
>>>> Version: 7.5.516 / Virus Database: 269.20.6/1280 - Release Date:
>>>> 15/02/2008 9:00 a.m.
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> VoIP mailing list
>>> VoIP at ckts.info
>>> http://lists.ckts.info/mailman/listinfo/voip
>>> Project Web Page: http://www.ckts.info/
>>>
>>>
>>> --
>>> No virus found in this incoming message.
>>> Checked by AVG Free Edition.
>>> Version: 7.5.516 / Virus Database: 269.20.6/1282 - Release Date:
>>> 2/15/08 7:08 PM
>>>
>>>
>> _______________________________________________
>> VoIP mailing list
>> VoIP at ckts.info
>> http://lists.ckts.info/mailman/listinfo/voip
>> Project Web Page: http://www.ckts.info/
>>
>>
>> --
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.5.516 / Virus Database: 269.20.7/1283 - Release Date:
>> 16/02/2008 2:16 p.m.
>>
>>
>>
>
> _______________________________________________
> VoIP mailing list
> VoIP at ckts.info
> http://lists.ckts.info/mailman/listinfo/voip
> Project Web Page: http://www.ckts.info/
>
>
>
>
More information about the VoIP
mailing list