No subject


Wed Oct 26 15:22:07 CEST 2011


Regards,
Takeshi.

--f46d043c7b2204982d04bed4bdec
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable


Hello,<br>I have found the explanation while reading old posts.<br><br><div=
 class=3D"gmail_quote">On Mon, Apr 30, 2012 at 12:13 AM, mayamatakeshi <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:mayamatakeshi at gmail.com" target=3D"_bla=
nk">mayamatakeshi at gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hello,<br>out of curiosity, for what scenari=
o the tm MI function t_reply was envisioned for?<br></blockquote><div><br>I=
t can be used to have some control of calls by an external entity (not sure=
 of what people are doing with this right now, but I am sure there are good=
 applications for it).<br>
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0.8e=
x;border-left:1px solid rgb(204,204,204);padding-left:1ex">And how would I =
get the trans_id necessary to use it?<br></blockquote><div><br>On the cfg f=
ile, by using functions =A0<br>
</div></div>=A0 t_write_req(info,fifo)<br>and<br>=A0 t_write_unix(info,sock=
)<br><br>Here&#39;s a dump of what these would write:<br><br>0.3<br>sip_req=
uest.calling_useragent<br>INVITE<br>user2<br>192.168.0.129<br>127.0.0.1<br>
.<br><a href=3D"http://sip:user2@192.168.0.129:5061">sip:user2 at 192.168.0.12=
9:5061</a><br><a href=3D"http://sip:mod_sofia@127.0.0.1:5070">sip:mod_sofia=
@127.0.0.1:5070</a><br>&quot;displayname.user1&quot; &lt;<a href=3D"mailto:=
sip%3Auser1 at test1.com">sip:user1 at test1.com</a>&gt;<br>
&lt;<a href=3D"mailto:sip%3Auser2 at 127.0.0.1">sip:user2 at 127.0.0.1</a>&gt;<br=
>574adad2-0cc2-1230-e9b9-000c29db16eb<br>vjaSNUXZB52DN<br><br>27523925<br>4=
6961:1279687637<br>.<br>.<br>P-MsgFlags: 1<br>the_fu: <a href=3D"mailto:sip=
%3Auser1 at test1.com">sip:user1 at test1.com</a><br>
.<br>v=3D0<br>o=3DFreeSWITCH 1335707806 1335707807 IN IP4 192.168.2.9<br>s=
=3DFreeSWITCH<br>c=3DIN IP4 192.168.2.9<br>t=3D0 0<br>m=3Daudio 12172 RTP/A=
VP 0 8 3 101 13<br>a=3Drtpmap:101 telephone-event/8000<br>a=3Dfmtp:101 0-16=
<br>a=3Dptime:20<br>
<br>From the looks, the trans_id is the 16th line &quot;46961:1279687637&qu=
ot;.<br><br>Regards,<br>Takeshi.<br>

--f46d043c7b2204982d04bed4bdec--



More information about the Users mailing list