[asterisk-ss7] Problem with music on hold while using Dial(), works fine with MusicOnHold()

Tasnim Ahmed tasnim at rockvilletech.com
Tue Feb 8 04:37:59 CST 2011

Hi All,

I am facing a strange problem while using music on hold  on SS7 during

We did the development and testing using SIP and everything was working
fine, when we started deployment on the production machine with SS7 E1s on a
GSM carrier, we got into this issue.

Here is my dial plan snippet:

exten => 345,1,Progress()
exten => 345,n,Set(CALLERPRES()=allowed_passed_screen)
exten => 345,n,Set(CHANNEL(musicclass)=default)
exten => 345,n,Dial(ss7/ls1/03452129134,,m)

I get the following in the log please note that the "Stopped" line appears
immediately after the "Started" line (phone numbers removed):

    -- Recv IAM CIC=1253  ANI=... DNI=... RNI= redirect=no/0 complete=1
    -- Executing [345 at default:1] Progress("SS7/ls1/1253", "") in new stack
    -- Executing [345 at default:2] Set("SS7/ls1/1253",
screen") in new stack
    -- Executing [345 at default:3] Set("SS7/ls1/1253",
"CHANNEL(musicclass)=default") in new stack
    -- Executing [345 at default:4] Dial("SS7/ls1/1253", "ss7/ls1/...,,m") in
new stack
    -- Sent IAM CIC=1418  ANI=... DNI=... RNI=
    -- Called ls1/...
    -- Started music on hold, class 'default', on SS7/ls1/1253
    -- Stopped music on hold on SS7/ls1/1253

However, if I use: MusicOnHold(default) in the dial plan, I can hear the
music placed in moh.

exten => 345,n,MusicOnHold()

We are using the following components:

libpri :

dahdi: Telephony Interface Registered on major 196
dahdi: Version:
dahdi: Registered tone zone 0 (United States / North America)


I would be much obliged with any help or pointers in this regard.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20110208/b8e9ffe2/attachment.htm>

More information about the asterisk-ss7 mailing list