[OpenSER-Users] Off topic: generating ringback tone from audio files

Dan-Cristian Bogos dan.bogos at gmail.com
Mon Sep 24 11:04:15 CEST 2007


Hey Klaus/Mark,

here is the configuration I have used in the past. It has been a
while, so I do hope I remember it corectly:

In dial-peer voip (the one routing the call coming from pstn to media
streaming source:

dial-peer voice 10000 voip
destination-pattern 10....
progress_ind setup enable 3

This command should force the gateway considering that the call came
from PSTN  with a progress indicator = 3 in the setup message, which
should be interpreted that the originator is non isdn and inband
messages are expected.
Alternatively, one could also force an incoming  pots dial-peer match,
which will do some additional work by forcing the cut-through in one
way (progress_ind alert enable 8):

dial-peer voice 1000 pots
destination-pattern 10....
progress_ind setup enable 3
progress_ind alert enable 8

I have found out that in some of the ios-es both commands are marked
as hidden, so don't worry if you don't get them by using the famous
'?' after progress_ind command.
Hope that helps.

Cheers,
DanB

On 9/22/07, Klaus Darilion <klaus.mailinglists at pernau.at> wrote:
> Dan-Cristian Bogos wrote:
> > Hi Guys,
> >
> > I also have done it and it worked like a charm.
> > I could even queue streams (more steps), all being played inband,
> > therefore no charge from PSTN side.
> > It all depends on your carrier whether he (or his partners) will open
> > one way channel on PSTN side or generate his own stuff when receiving
> > Progress indicator on ISDN (#C7) side - even Cisco ASes have this
> > option built in as a dial-peer command.
> >
> > Cheers,
> > DanB
> >
> >
> > On 9/22/07, Klaus Darilion <klaus.mailinglists at pernau.at> wrote:
> >> Mark Anthony C. Delfin wrote:
> >>> Hi all,
> >>>
> >>> Is it possible to alter ring back tone on cisco gateways.  For example I
> >>> want change my ringback to an audio file.  Some Mobile providers do this
> >>> already.
> >>
> >> I once tried that too on a 5300 - streaming early media into the PSTN.
> >>  From reading the docs I came to the conclusion that it should be
> >> possible but I could never test it as usually PRI are not allowed to
> >> stream early media to the PSTN.
>
> Hi Dan! Could you be a be more detailed how this is done in the gateway?
> I once did it with a tcl script and it was very complicated.
>
> regards
> klaus
>




More information about the Users mailing list