[Asterisk-Users] MOH w/SIP (Cisco 7960) error received.
Mark Spencer
markster at digium.com
Tue Mar 18 08:13:56 MST 2003
Many SIP phones will not pass audio until the call is answered. This
means that you may need to explicitly Answer() before doing Dial, etc.
Further, MusicOnHold is based on sending audio at the rate it is
*received*.
Mark
On Tue, 18 Mar 2003, Masakazu Nakano wrote:
>
> I was tried following.
>
> exten => 8819,1,Playback,test ; test is my sample voice.
> exten => 8819,2,SetMusicOnHold,loud
> exten => 8819,3,WaitMusicOnHold,10
> exten => 8819,4,Dial,sip/mack|10|mtT
>
> WaitMusicOnHold is works well.
>
> but
>
> Dial,sip/mack|10|mtT isn't sound.
>
> Is it incorrect usage?
>
> In this case, log is following
>
> -- Executing Playback("SIP/201-7e26", "test") in new stack
> -- Playing 'test'
> -- Executing SetMusicOnHold("SIP/201-7e26", "loud") in new stack
> -- Executing WaitMusicOnHold("SIP/201-7e26", "10") in new stack
> -- Started music on hold, class 'loud', on SIP/201-7e26
> -- Stopped music on hold on SIP/201-7e26
> -- Executing Dial("SIP/201-7e26", "sip/mack|10|mtT") in new stack
> -- Called mack
> -- Started music on hold, class 'loud', on SIP/201-7e26 ; moh
> -- SIP/mack-9294 is ringing ; RBT
> -- Stopped music on hold on SIP/201-7e26 ; moh stop
> -- SIP/mack-9294 is ringing ; RBT
> -- SIP/mack-9294 is ringing ; RBT
> -- SIP/mack-9294 is ringing ; RBT
> -- SIP/mack-9294 is ringing
> -- Nobody picked up in 10000 ms
>
> I heard quite shortly moh sound at starting Dial sequance.
> and playing RBT normally.
>
> and already checking this problem following SIP terminals are
> snom100, BCM HP.323, WinRTC v4.6.
>
> ---
> Masakazu Nakano as mack at IRC
>
> On Mon, 17 Mar 2003 23:50:48 -0600 (CST)
> Mark Spencer <markster at digium.com> wrote:
>
> >Just update your CVS this bug was fixed earlier today.
> >
> >Mark
> >
> >On Mon, 17 Mar 2003, Lenny Tropiano / asterisk.org Mailing list wrote:
> >
> >> -- Registered SIP '' at 192.70.239.2 port 5060 expires 3600
> >> -- Executing Playback("SIP/lenny-4ee2", "transfer|skip") in new stack
> >> -- Executing Macro("SIP/lenny-4ee2", "dial|7555|SIP/lenny-lap") in new stack
> >> -- Executing Dial("SIP/lenny-4ee2", "SIP/lenny-lap|20|tT") in new stack
> >> -- Called lenny-lap
> >> -- SIP/lenny-lap-92fb is ringing
> >> -- SIP/lenny-lap-92fb answered SIP/lenny-4ee2
> >> -- Attempting native bridge of SIP/lenny-4ee2 and SIP/lenny-lap-92fb
> >> -- Started music on hold, class 'default', on SIP/lenny-lap-92fb
> >> WARNING[20501]: File chan_sip.c, Line 796 (sip_write): Asked to transmit frame type 64, while native formats is 4 (read/write = 8/4)
> >> -- Stopped music on hold on SIP/lenny-lap-92fb
> >> == Spawn extension (macro-dial, s, 1) exited non-zero on 'SIP/lenny-4ee2' in macro 'dial'
> >> == Spawn extension (default, s, 2) exited non-zero on 'SIP/lenny-4ee2'
> >>
> >>
> >>
> >> What's that error above? I can play the MOH MP3 file with the MP3Player app
> >> just fine.
> >>
> >>
> >> _______________________________________________
> >> Asterisk-Users mailing list
> >> Asterisk-Users at lists.digium.com
> >> http://lists.digium.com/mailman/listinfo/asterisk-users
> >>
> >
> >_______________________________________________
> >Asterisk-Users mailing list
> >Asterisk-Users at lists.digium.com
> >http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list