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

Alejandro Recarey alexrecarey at gmail.com
Tue Sep 27 20:44:35 CDT 2011


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



More information about the asterisk-users mailing list