<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Thank you Michael, this works.
However, the phone being called starts ringing a good 3 seconds
before the ring audio is generated on the line. Any idea how to
start the ring audio at the same time, or at least minimize the
delay? I tried setting "instant_ringback=true" and it didn't make
any difference.<br>
<br>
On 3/19/14, 2:10 PM, Michael Jerris wrote:<br>
</div>
<blockquote
cite="mid:7573A36D-8808-487A-9BCE-F38073101F29@jerris.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<a moz-do-not-send="true"
href="https://wiki.freeswitch.org/wiki/Variable_ringback">https://wiki.freeswitch.org/wiki/Variable_ringback</a>
<div><br>
<div style="">
<div>On Mar 19, 2014, at 4:01 PM, Pete Ashdown <<a
moz-do-not-send="true" href="mailto:pashdown@xmission.com">pashdown@xmission.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">I'm using Freeswitch as a PSTN gateway
behind a Kamailio SIP proxy. I<br>
get no ringback audio if call a phone in this direction:<br>
<br>
(PSTN freetdm) -> Freeswitch -> Kamailio -> Phone
(registered to Kamailio)<br>
<br>
Debugging it, I see that SIP 180 ringing is sent from the
phone to<br>
Kamailio, and then relayed properly to Freeswitch, which
does recognize<br>
the ring, but because there is no RTP audio associated with
it, has<br>
nothing to send into freetdm.<br>
<br>
So my question is how do I turn SIP 180 into ringback audio
generated on<br>
the PSTN gateway itself?<br>
</blockquote>
</div>
</div>
</blockquote>
<br>
</body>
</html>