No subject


Fri Jul 16 17:26:04 CEST 2010


the call log with asterisk and connect source and destination party.

Will this logic work and opensips has that capabilities? If so what needs to
be configured to make it as B2BUA with the existing setup.

Please advice.


Thanks,
Prem


On Mon, Jul 26, 2010 at 3:50 PM, Anca Vamanu <anca at opensips.org> wrote:

> Hi Prem,
>
> There are some things that you have to take care if you want TCP to work:
>
> 1) set the script parameter : tcp_accept_aliases = 1'
> 2) the top most Via header in Register from the client must contain 'alias'
> parameter.  To check this print the Register message from the script:
> xlog("$mb\n"); If you don't see this parameter, you can fix it from the
> server by calling force_tcp_alias() on that Register.
> 3) the ip and port  in the top most Via for Register must match exactly the
> ip and port in the Contact header for tcp reusage to work. Check this.
>
> Regards,
>
> --
> Anca Vamanuwww.voice-system.ro
>
>
>
> On 07/26/2010 08:54 AM, Premalatha Kuppan wrote:
>
> Hi,
>
> I have Integrated setup of Opensips(TLS) (1.6.2)) and Asterisk (1.4.3.1).
> When i try to make call to TCP enabled client. The call fails.
>
> Below is the Error observed at Opensips.
>
> Jul 23 13:54:45 204548-4 /usr/local/sbin/opensips[8374]
> : new branch at sip:999_456_1000 at 209.242.149.98:1036;transport=TCP
> Jul 23 13:54:55 204548-4 /usr/local/sbin/opensips[8374]:
> ERROR:core:tcp_blocking_connect: timeout 10 s elapsed from 10 s
> Jul 23 13:54:55 204548-4 /usr/local/sbin/opensips[8374]:
> ERROR:core:tcpconn_connect: tcp_blocking_connect failed
> Jul 23 13:54:55 204548-4 /usr/local/sbin/opensips[8374]:
> ERROR:core:tcp_send: connect failed
> Jul 23 13:54:55 204548-4 /usr/local/sbin/opensips[8374]: ERROR:tm:msg_send:
> tcp_send failed
> Jul 23 13:54:55 204548-4 /usr/local/sbin/opensips[8374]:
> ERROR:tm:t_forward_nonack: sending request failed
> Jul 23 13:54:55 204548-4 /usr/local/sbin/opensips[8374]: ACC: call missed:
> timestamp=1279907695;method=INVITE;from_tag=as2bf86f8d;to_tag=;call_id=
> 6ef81f740f13e4d778513d1315fc76fc at 204.12.57.221;code=477;reason=Request
> Failure
> Jul 23 13:54:57 204548-4 /usr/local/sbin/opensips[8374]: ACC: transaction
> answered:
> timestamp=1279907697;method=BYE;from_tag=as7d156ab4;to_tag=3488896563-937568;call_id=
> 11504845-3488896563-937560 at sg2-lax.yourvoip.net;code=200;reason=OK
>
> Any Insight ?
>
> Thanks,
> Prem
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>

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

<div>Thanks Anca.</div>
<div>=A0</div>
<div>Iam going to=A0try this now and let you the results.</div>
<div>=A0</div>
<div>BTW, i have one question:</div>
<div>=A0</div>
<div>Iam using Opensips 1..6.2 TLS enabled, can i make it to works as well =
as B2BUA ? If so how ?</div>
<div>=A0</div>
<div>Actaully, my scenario is All users will get registered with opensips a=
nd all calls (Incoming Invite) would be forwarded to Asterisk (1.4.3.1, it =
has no TLS, TCP support) for IVR. After IVR, asterisk will get the destinat=
ion address.</div>

<div>=A0</div>
<div>In my case, Destination address is either TLS/TCP/UDP enabled.</div>
<div>=A0</div>
<div>I was searching little bit, and found Opensips can handle Refere-to he=
ader. From asterisk can i do transfer to Opensips and Opensips should termi=
nate the call log with asterisk and connect source and destination party.</=
div>

<div>=A0</div>
<div>Will this logic work and opensips has that capabilities? If so what ne=
eds to be configured to make it as B2BUA with the existing setup.</div>
<div>=A0</div>
<div>Please advice.</div>
<div>=A0</div>
<div>=A0</div>
<div>Thanks,</div>
<div>Prem<br><br>=A0</div>
<div class=3D"gmail_quote">On Mon, Jul 26, 2010 at 3:50 PM, Anca Vamanu <sp=
an dir=3D"ltr">&lt;<a href=3D"mailto:anca at opensips.org">anca at opensips.org</=
a>&gt;</span> wrote:<br>
<blockquote style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3D"gmail_quote">
<div bgcolor=3D"#ffffff" text=3D"#000000">Hi Prem,<br><br>There are some th=
ings that you have to take care if you want TCP to work:<br><br>1) set the =
script parameter : tcp_accept_aliases =3D 1&#39;<br>2) the top most Via hea=
der in Register from the client must contain &#39;alias&#39; parameter.=A0 =
To check this print the Register message from the script: xlog(&quot;$mb\n&=
quot;); If you don&#39;t see this parameter, you can fix it from the server=
 by calling force_tcp_alias() on that Register.<br>
3) the ip and port=A0 in the top most Via for Register must match exactly t=
he ip and port in the Contact header for tcp reusage to work. Check this.<b=
r><br>Regards,<br><font color=3D"#888888"><pre cols=3D"72">--=20
Anca Vamanu
<a href=3D"http://www.voice-system.ro/" target=3D"_blank">www.voice-system.=
ro</a></pre></font>
<div>
<div></div>
<div class=3D"h5"><br><br>On 07/26/2010 08:54 AM, Premalatha Kuppan wrote:=
=20
<blockquote type=3D"cite">Hi,<br><br>I have Integrated setup of Opensips(TL=
S) (1.6.2)) and Asterisk (1.4.3.1). When i try to make call to TCP enabled =
client. The call fails.<br><br>Below is the Error observed at Opensips.<br>
<br>Jul 23 13:54:45 204548-4 /usr/local/sbin/opensips[8374]=20
<div>: new branch at <a>sip:999_456_1000 at 209.242.149.98:1036;transport=3DTC=
P</a><br>Jul 23 13:54:55 204548-4 /usr/local/sbin/opensips[8374]: ERROR:cor=
e:tcp_blocking_connect: timeout 10 s elapsed from 10 s<br>Jul 23 13:54:55 2=
04548-4 /usr/local/sbin/opensips[8374]: ERROR:core:tcpconn_connect: tcp_blo=
cking_connect failed<br>
Jul 23 13:54:55 204548-4 /usr/local/sbin/opensips[8374]: ERROR:core:tcp_sen=
d: connect failed<br>Jul 23 13:54:55 204548-4 /usr/local/sbin/opensips[8374=
]: ERROR:tm:msg_send: tcp_send failed<br>Jul 23 13:54:55 204548-4 /usr/loca=
l/sbin/opensips[8374]: ERROR:tm:t_forward_nonack: sending request failed<br=
>
Jul 23 13:54:55 204548-4 /usr/local/sbin/opensips[8374]: ACC: call missed: =
timestamp=3D1279907695;method=3DINVITE;from_tag=3Das2bf86f8d;to_tag=3D;call=
_id=3D<a href=3D"mailto:6ef81f740f13e4d778513d1315fc76fc at 204.12.57.221" tar=
get=3D"_blank">6ef81f740f13e4d778513d1315fc76fc at 204.12.57.221</a>;code=3D47=
7;reason=3DRequest Failure<br>
Jul 23 13:54:57 204548-4 /usr/local/sbin/opensips[8374]: ACC: transaction a=
nswered: timestamp=3D1279907697;method=3DBYE;from_tag=3Das7d156ab4;to_tag=
=3D3488896563-937568;call_id=3D<a href=3D"mailto:11504845-3488896563-937560=
@sg2-lax.yourvoip.net" target=3D"_blank">11504845-3488896563-937560 at sg2-lax=
.yourvoip.net</a>;code=3D200;reason=3DOK<br>
<br>Any Insight ?<br><br>Thanks,<br>Prem</div></blockquote></div></div></di=
v><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" target=
=3D"_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br=
><br></blockquote></div><br>

--0016364c5ca390e99f048c48d189--



More information about the Users mailing list