No subject
Sat Nov 14 14:43:53 CET 2015
it's a 64kbps bitrate, and the ptime is 20ms. You'd have to account for
future in-dialog requests (reINVITEs and UPDATEs) that may change these
parameters.
In order to make this data available for live calls, you'd probably have to
store them in dialog variables.
In other words, it may be possible to maintain this data from within
OpenSIPS, but it becomes complicated quickly depending on the variety of
endpoints and applications you use. It is generally easier to gather this
data from the endpoints themselves but you've already said your app does
not have a way to do that. That's unfortunate.
- Jeff
On Sat, Dec 5, 2015 at 11:21 PM, Nabeel <nabeelshikder at gmail.com> wrote:
> Hello,
>
> I need to view the active sampling rate, bitrate and frame size during a
> SIP call. The app currently does not have a user interface or custom
> function to display this. Is there any other way I can view these
> parameters during a live call? What is the simplest way to do this?
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
--001a11422af467bcff052663b02c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">OpenSIPS doesn't handle media so it has no knowledge o=
f these things.=C2=A0 You could glean some of this information by inspectin=
g the offer and answer SDPs as they pass through.=C2=A0 For example, here i=
s an answer SDP that passed through reply_route attached to a 200 OK:<div><=
br></div><div><div>v=3D0.</div><div>o=3DFreeSWITCH 1449573019 1449573020 IN=
IP4 192.168.5.5.</div><div>s=3DFreeSWITCH.</div><div>c=3DIN IP4 192.168.5.=
5.</div><div>t=3D0 0.</div><div>m=3Daudio 11158 RTP/AVP 9 101.</div><div>a=
=3Drtpmap:9 G722/8000.</div><div>a=3Drtpmap:101 telephone-event/8000.</div>=
<div>a=3Dfmtp:101 0-16.</div><div>a=3Dptime:20.</div></div><div><br></div><=
div>From this data you know it's 8khz sampling rate, since it's G72=
2 you know it's a 64kbps bitrate, and the ptime is 20ms.=C2=A0 You'=
d have to account for future in-dialog requests (reINVITEs and UPDATEs) tha=
t may change these parameters.</div><div><br></div><div>In order to make th=
is data available for live calls, you'd probably have to store them in =
dialog variables.</div><div><br></div><div>In other words, it may be possib=
le to maintain this data from within OpenSIPS, but it becomes complicated q=
uickly depending on the variety of endpoints and applications you use.=C2=
=A0 It is generally easier to gather this data from the endpoints themselve=
s but you've already said your app does not have a way to do that.=C2=
=A0 That's unfortunate.</div><div><br></div><div><br></div><div>- Jeff<=
/div><div><br></div></div><div class=3D"gmail_extra"><br><div class=3D"gmai=
l_quote">On Sat, Dec 5, 2015 at 11:21 PM, Nabeel <span dir=3D"ltr"><<a h=
ref=3D"mailto:nabeelshikder at gmail.com" target=3D"_blank">nabeelshikder at gmai=
l.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"l=
tr">Hello,<div><br></div><div>I need to view the active sampling rate, bitr=
ate and frame size during a SIP call.=C2=A0 The app currently does not have=
a user interface or custom function to display this.=C2=A0 Is there any ot=
her way I can view these parameters during a live call?=C2=A0 What is the s=
implest way to do this?</div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href=3D"mailto:Users at lists.opensips.org">Users at lists.opensips.org</a><br=
>
<a href=3D"http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel=3D=
"noreferrer" target=3D"_blank">http://lists.opensips.org/cgi-bin/mailman/li=
stinfo/users</a><br>
<br></blockquote></div><br></div>
--001a11422af467bcff052663b02c--
More information about the Users
mailing list