[asterisk-users] Receiving musinc on hold instead of ring

Sam Govind govoiper at gmail.com
Wed Sep 28 00:38:01 CDT 2011


Very strange indeed! post the dialplan lines as well. Seems like a very
normal Dial command execution. Also complete SIP packets for this particular
behaviour can show some insider. Which version of Asterisk you are using?

On Wed, Sep 28, 2011 at 6:44 AM, Alejandro Recarey <alexrecarey at gmail.com>wrote:

> Hi all and thanks for reading.
>
> I am having a very strange issue. When dialing out with a certain
> carrier, asterisk 1.6.20 will play music on hold instead of a ring
> tone, although this behaviour is NOT what I want.
>
> Example dialplan execution:
>
> -- Executing [0021266xxx at test:13] Progress("SIP/100-00001e04", "") in new
> stack
> -- Executing [0021266xxx at test:14]
> Dial("SIP/100-00001e04","SIP/21266xxx at x.x.x.x") in new stack
> -- Called 21266xxx at x.x.x.x
> -- Call on SIP/x.x.x.x-00001e05 placed on hold
> -- Started music on hold, class 'default', on SIP/100-00001e04
> -- SIP/x.x.x.x-00001e05 is making progress passing it to SIP/100-00001e04
>
> Now, a SIP packet capture shows no trace of the call being put on hold!
>
> Sample wireshark capture for the same call:
>
> x.x.x.x -> y.y.y.y SIP/SDP Request: INVITE sip:21266xxx at x.x.x.x, with
> session description
> y.y.y.y -> x.x.x.x SIP Status: 100 Giving a try
> y.y.y.y -> x.x.x.x SIP/SDP Status: 180 Ringing, with session description
>
> And I get the music on hold instead of the ringtone. I have tried
> placing Progress() in front of Dial() but to no avail. I do not want
> to use the "r" option in Dial() because then I lose the destination
> ringtone in early media which is important to my customers.
>
> Anybody had a similar issue? Any idea of what parameters I can try to
> tweak, as I am stumped...
>
> Thanks!
>
> Alex
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110928/2e61799a/attachment.htm>


More information about the asterisk-users mailing list