[asterisk-users] Ring + Music on Hold in the same call
Hi list, is there a way to achieve in asterisk (version 1.4.x) the behavior described below? * a caller place a call to an extension, and I want the caller hears the extension ringing for some seconds, and then hears the music on hold (or a courtesy message) _in the same call;_ * the called extension must continue to ring until answered. With the m(...) option in the Dial command (like the example below) asterisk provides only music on hold while the phone rings. exten = s,n,Dial(SIP/,30,m(default)) I can not use queues because the requirements is to have 1 call and not a lot of calls. Thanks in advance, Matteo -- _ -- 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
Re: [asterisk-users] Ring + Music on Hold in the same call
Here is one way to do it (works in 1.4.22-1.4.30 at least) exten = s,n,Dial(SIP/,10) exten = s,n,Dial(SIP/,90,m(default)) This snippet will ring for 10 seconds with Ringing, then ring for 90 seconds or until answered with MOH. _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Matteo Campana Sent: Thursday, June 10, 2010 8:03 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Ring + Music on Hold in the same call Hi list, is there a way to achieve in asterisk (version 1.4.x) the behavior described below? * a caller place a call to an extension, and I want the caller hears the extension ringing for some seconds, and then hears the music on hold (or a courtesy message) in the same call; * the called extension must continue to ring until answered. With the m(...) option in the Dial command (like the example below) asterisk provides only music on hold while the phone rings. exten = s,n,Dial(SIP/,30,m(default)) I can not use queues because the requirements is to have 1 call and not a lot of calls. Thanks in advance, Matteo -- _ -- 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
Re: [asterisk-users] Ring + Music on Hold in the same call
Ok Danny but with this example I have 2 calls in the called phone, and this is what I have to avoid! Regards, Matteo Il 10/06/2010 15.16, Danny Nicholas ha scritto: Here is one way to do it (works in 1.4.22-1.4.30 at least) exten = s,n,Dial(SIP/,10) exten = s,n,Dial(SIP/,90,m(default)) This snippet will ring for 10 seconds with Ringing, then ring for 90 seconds or until answered with MOH. From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Matteo Campana Sent: Thursday, June 10, 2010 8:03 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Ring + Music on Hold in the same call Hi list, is there a way to achieve in asterisk (version 1.4.x) the behavior described below? a caller place a call to an extension, and I want the caller hears the extension ringing for some seconds, and then hears the music on hold (or a courtesy message) in the same call; the called extension must continue to ring until answered. With the m(...) option in the Dial command (like the example below) asterisk provides only music on hold while the phone rings. exten = s,n,Dial(SIP/,30,m(default)) I can not use queues because the requirements is to have 1 call and not a lot of calls. Thanks in advance, Matteo -- Ing. Matteo Campana - System Engineer Mobile: +39 320 4258536 Office: +39 059 821672 Fax: +39 059 821492 Web: www.klarya.it This e-mail transmission may contain legally privileged and/or confidential information. Please do not read it if you are not the intended recipient(s). Any use, distribution, reproduction or disclosure by any other person is strictly prohibited. If you have received this e-mail in error, please notify the sender and destroy the original transmission. -- _ -- 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
Re: [asterisk-users] Ring + Music on Hold in the same call
Not sure how this would work, but you could create a special MOH file that was 10 seconds of ringing followed by the normal MOH - I know this CAN be done, just takes a bit of trial and error. _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Matteo Campana Sent: Thursday, June 10, 2010 8:41 AM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Ring + Music on Hold in the same call Ok Danny but with this example I have 2 calls in the called phone, and this is what I have to avoid! Regards, Matteo Il 10/06/2010 15.16, Danny Nicholas ha scritto: Here is one way to do it (works in 1.4.22-1.4.30 at least) exten = s,n,Dial(SIP/,10) exten = s,n,Dial(SIP/,90,m(default)) This snippet will ring for 10 seconds with Ringing, then ring for 90 seconds or until answered with MOH. _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Matteo Campana Sent: Thursday, June 10, 2010 8:03 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Ring + Music on Hold in the same call Hi list, is there a way to achieve in asterisk (version 1.4.x) the behavior described below? * a caller place a call to an extension, and I want the caller hears the extension ringing for some seconds, and then hears the music on hold (or a courtesy message) in the same call; * the called extension must continue to ring until answered. With the m(...) option in the Dial command (like the example below) asterisk provides only music on hold while the phone rings. exten = s,n,Dial(SIP/,30,m(default)) I can not use queues because the requirements is to have 1 call and not a lot of calls. Thanks in advance, Matteo -- Ing. Matteo Campana - System Engineer Mobile: +39 320 4258536 Office: +39 059 821672 Fax: +39 059 821492 Web: http://www.klarya.it/ www.klarya.it This e-mail transmission may contain legally privileged and/or confidential information. Please do not read it if you are not the intended recipient(s). Any use, distribution, reproduction or disclosure by any other person is strictly prohibited. If you have received this e-mail in error, please notify the sender and destroy the original transmission. image002.jpgimage001.jpg-- _ -- 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
Re: [asterisk-users] Ring + Music on Hold in the same call
Danny Nicholas wrote: Not sure how this would work, but you could create a special MOH file that was 10 seconds of ringing followed by the normal MOH – I know this CAN be done, just takes a bit of trial and error. That's what I would suggest as well. You could use Monitor() initially to call an extension that you let ring to get the ringing sound, then you could use any of a multiple of tools to combine the ringing onto the start of MoH. Leif. -- _ -- 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