On 12-Nov-09, at 1:52 PM, Andy Spitzer wrote:

> Woof!
>
> With regard to
>   XX-6965 - Uploaded MOH file from user portal is not being played  
> when call was placed on hold by that user
>
> There appear to be two things going on.
>
> First, I don't see the Personal MOH Files URI being set into the  
> phone's configuration.  It is still using '~~mh~' instead of  
> '~~mh~uxxxx' (at least for Polycom, which is the only phone I can  
> really play with here).  Of course, the snapshot's don't pick this  
> up, but looking at the traces of XX-6965 it appears that the MOH  
> call from the phone is directed to '~~mh~'
>
> On my system, I've set up the Audio Source to be "Personal Music  
> Directory", and after setting "Save and update phone(s)" the  
> configuration is changed, and pushed, but the musicOnHold.uri stuff  
> doesn't have the '~~mh~uxxxx' I'd expect.
>
> File /var/lib/tftpboot/0004f21d8aca-sipx-sip.cfg:
> ...
>       voIpProt.SIP.musicOnHold.uri="[email protected]"
> ...
>
>

I had pointed this out in the commit msg (http://code.sipfoundry.org/ 
changelog/sipXecs/?cs=16839), the plugins need to be individually  
updated to support user specific moh uri. That has not been done yet.  
We have provided the hooks from sipXconfig side, which the plugins  
need to implement this. I will raise an issue to add the support for  
the polycom plugin.


> The second issue is what directory the "Personal Music Directory"  
> actually is.  In sipXivr, it's currently assuming the directory is
>
>    {users mailbox}/moh
>
> Thus for user 202 it would look here:
>    /var/sipxdata/mediaserver/data/mailstore/202/moh
>
> I put it in the mailstore for several reasons, mostly it'll be  
> backed up and restored when voicemail for that user is.  In  
> addition, sipXivr already owns the mailstore, so it added no new  
> ownership issues.
>
> I believe that sipXconfig is instead using:
>    /var/sipxdata/mediaserver/data/moh{user}

It is supposed to be using  /var/sipxdata/mediaserver/data/moh/ 
{user}. Looks like a bug, I will take a look at it.

> For the per user music,
>
> and
>    /var/sipxdata/mediaserver/data/moh
> For the "System Music Directory"
>
> No one "owns" those directories at the moment, and they are not  
> part of any backup strategy.
>
> The "System Music Directory" stay where it is, but it does need to  
> be backed up.
>
> I think the per user directory should move into the mailbox with  
> the other per-user stuff, but I'm certainly up to getting it from  
> somewhere else.  But sipXconfig and sipXivr have to agree where  
> that is!
>
>

It's fairly straightforward to change it to use the mailstore  
directory in sipXconfig. The reason originally, for not doing it was  
that, sipXconfig does not really have full control over the creation  
(maybe deletion) of the mailstore/{user} directory, so putting it all  
under mediaserver/moh/{user} seemed safer. But, if no has any issues  
with it, I will move the files to the mailstore directory.

Arjun
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to