2010/10/24 Olivier <[email protected]>

>
>
> 2010/10/14 Danny Nicholas <[email protected]>
>
>>   ------------------------------
>>
>> *From:* [email protected] [mailto:
>> [email protected]] *On Behalf Of *Olivier
>>
>> *Sent:* Thursday, October 14, 2010 3:34 PM
>> *To:* Asterisk Users Mailing List - Non-Commercial Discussion
>> *Subject:* Re: [asterisk-users] Default MOH not working on 1.6.1
>>
>>
>>
>>
>>
>> 2010/10/14 Olivier <[email protected]>
>>
>>
>>
>> 2010/10/14 Olivier <[email protected]>
>>
>>
>>
>> Hello,
>>
>> I've configured with the very same script 1 Intel Xeon and 1 Intel
>> Pentium4 machines.
>> On one MOH is working properly
>> On the other, I can read on console, lines such as those bellow but I
>> can't hear anything.
>>
>> In which direction, should I further investigate ?
>> If this help, here is my setup:
>>
>> me ---<PSTN-ISDN> ---- Patton 4638 ---<SIP>--- Asterisk 1.6.1.18
>>
>>
>>     -- Started music on hold, class 'default', on SIP/patton-0000002b
>>   == Using SIP RTP CoS mark 5
>>   == Extension Changed 249[subs] new state Ringing for Notify User 749
>>   == Extension Changed 249[subs] new state Ringing for Notify User 750
>>     -- SIP/249-0000002c is ringing
>> Sent RTP packet to      192.168.102.200:5030 (type 00, seq 043637, ts
>> 000160, len 000160)
>> Sent RTP packet to      192.168.102.200:5030 (type 00, seq 043638, ts
>> 000320, len 000160)
>>
>>
>> Thanks
>>
>>
>>
>> PS: I used the "standard" i386 Lenny image on the Xeon machine.
>> Should I favor another image, such as amd64 or em64t, instead ?
>>
>>
>> If this matters, I must also add MOH is triggered here by Queue
>> application.
>>
>>
>>
>> I assume MOH is working on Pentium 4 and “failing” on Xeon?
>>
>>
>>
>> Try this snippet
>>
>> Exten => 664,1,answer
>>
>> exten => 664,n,SetMusicOnHold(default)
>>
>> exten => 664,n,WaitMusicOnHold(20)
>>
>> exten => 664,n,Background(vm-goodbye)
>>
>> exten => 664,n,Hangup
>>
>>
>>
>> This should play your default MOH for 20 seconds, then say goodbye and
>> hangup.
>>
>
> Hi,
>
> I can confirm MOH can't be heard but vm-goodbye file can !
> I turned RTP debug on to see what is going on and I can see RTP packets
> flowing in and out :
> Got  RTP packet from    192.168.102.200:4876 (type 08, seq 004857, ts
> 1590310527, len 000160)
> Sent RTP packet to      192.168.102.200:4876 (type 08, seq 031524, ts
> 001440, len 000160)
>
>
> I opened another thread in this list to further detail my setup.
>
> A strange thing is that RTP flows seem to use very different timestamps
> (parameter ts above ?) but comparing with another setup, it doesn't seem to
> matter.
>
> Regards
>
>
>
> Re-reading you advice, I realized I forgot to type the Answer line.
Adding it did it.

Thanks for all.

It is really strange to realize how applications (Playback, Dial, Queue)
have different requirements towards Answer() statement.
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to