No subject


Thu Jul 12 09:23:04 CDT 2007


Connected to Asterisk 1.4.11 currently running on asterisk (pid =3D =
31999)

    -- Remote UNIX connection

Verbosity is at least 8

    -- Executing [00425298582 at numberplan-custom-1:1]
Macro("SIP/8001-b7d0bb20", "trunkdial|SIP/trunk_3/0425298582") in new
stack

    -- Executing [s at macro-trunkdial:1] Dial("SIP/8001-b7d0bb20",
"SIP/trunk_3/0425298582") in new stack

    -- Called trunk_3/0425298582

[Sep 13 20:42:16] WARNING[32011]: chan_sip.c:12016
handle_response_invite: Received response: "Forbidden" from '"Joshua
Small" <sip:8001 at 192.168.107.4>;tag=3Das29bb274d'

    -- SIP/trunk_3-097ac708 is circuit-busy

  =3D=3D Everyone is busy/congested at this time (1:0/1/0)

    -- Executing [s at macro-trunkdial:2] Goto("SIP/8001-b7d0bb20",
"s-CONGESTION|1") in new stack

    -- Goto (macro-trunkdial,s-CONGESTION,1)

    -- Executing [s-CONGESTION at macro-trunkdial:1]
NoOp("SIP/8001-b7d0bb20", "") in new stack

  =3D=3D Auto fallthrough, channel 'SIP/8001-b7d0bb20' status is
'CONGESTION'

=20

=20

Any advice on why our trunk_3 becomes congested, just because
trunk_extra is set to exist, is appreciated.

Joshua Small | Senior Network Engineer | VisiNet | P. +61 1300 887 959 |
www.visinet.com.au <http://www.visinet.com.au/> =20

This e-mail is intended for use by the named recipients only and
contains confidential information. Opinions and other information in
this message that pertain to the sender's employer and its products and
services represent the opinion of the sender and not necessarily those
of the employer.=20

=20


------_=_NextPart_001_01C7F5B7.78602AED
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-AU link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><span style=3D'color:#1F497D'>Update on =
this:<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span style=3D'color:#1F497D'>I found that by =
changing
insecure =3D very to insecure =3D invite, adding the second trunk no =
longer stopped
calls working.<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'color:#1F497D'>I&#8217;ve read the =
documentation on
this switch and still don&#8217;t see how it applies/is meant to get =
used.<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span style=3D'color:#1F497D'>Anyway, with this =
change in place,
the following may help:<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span style=3D'color:#1F497D'>asterisk*CLI&gt; sip =
show
registry<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'color:#1F497D'>Host&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Username&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Refresh =
State&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; Reg.Time<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'color:#1F497D'>gw02.mytel.net.au:5060&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; =
11111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
120 Request =
Sent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; <o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'color:#1F497D'>gw02.mytel.net.au:5060&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; =
22222&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
105 Registered =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thu, 13 Sep =
2007 23:33:47<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span style=3D'color:#1F497D'>I have set a dial =
plan so that
some handsets use the 2222 (not the real number)&nbsp; extension (which =
work) and
now I only need to determine why 11111 never seems to =
register.<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span style=3D'color:#1F497D'>If I remove all =
traces of the
2222 connection from my config, 11111 registers =
fine.<o:p></o:p></span></p>

<div>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:red'>Jos=
hua
Small</span><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'> |&nbsp;Senior Network Engineer&nbsp;| <b>VisiNet</b> | P. =
+61
1300 887 959&nbsp;| </span><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'><a =
href=3D"http://www.visinet.com.au/">www.visinet.com.au</a></span><span
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:black'> =
</span><span
style=3D'color:#1F497D'><o:p></o:p></span></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#666666'=
>This
e-mail is intended for use by the named&nbsp;recipients only and =
contains
confidential information. Opinions and other information in this message =
that
pertain to the sender's employer and its products and services represent =
the
opinion of the sender and&nbsp;not necessarily&nbsp;those of the =
employer. </span><span
style=3D'font-size:10.0pt;font-family:"Times New =
Roman","serif";color:#666666'><o:p></o:p></span></p>

</div>

<p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt =
0cm 0cm 0cm'>

<p class=3DMsoNormal><b><span lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=3DEN-US =
style=3D'font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> =
asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] <b>On Behalf Of =
</b>Joshua
Small<br>
<b>Sent:</b> Thursday, 13 September 2007 10:44 AM<br>
<b>To:</b> asterisk-users at lists.digium.com<br>
<b>Subject:</b> [asterisk-users] Problems with two =
trunks<o:p></o:p></span></p>

</div>

</div>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Hi,<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>I am attempting to setup an asterisk server, =
current specs:<o:p></o:p></p>

<p class=3DMsoNormal>CentOS release 5 (Final)<o:p></o:p></p>

<p class=3DMsoNormal>Asterisk 1.4.11<o:p></o:p></p>

<p class=3DMsoNormal>Asterisk-gui checked out from SVN last =
week<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>I started with a fairly basic setup involving one =
VOIP
provider who provided one dial in number, and a couple of handsets. =
Config
files are below. It was pretty much totally built by Asterisk-gui, =
except for
the fact I had to add &#8220;insecure=3Dvery&#8221; into users.conf in =
order to stop the
dialin from our provider presenting an authentication error. Advice on =
any more
correct approach would be appreciated, but is not the focus of this =
post:<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Users.conf<o:p></o:p></p>

<p class=3DMsoNormal>;several handsets setup like this...<o:p></o:p></p>

<p class=3DMsoNormal>[6001]<o:p></o:p></p>

<p class=3DMsoNormal>callwaiting =3D yes<o:p></o:p></p>

<p class=3DMsoNormal>context =3D numberplan-custom-1<o:p></o:p></p>

<p class=3DMsoNormal>email =3D jsmall at visinet.com.au<o:p></o:p></p>

<p class=3DMsoNormal>fullname =3D Joshua Small<o:p></o:p></p>

<p class=3DMsoNormal>hasagent =3D yes<o:p></o:p></p>

<p class=3DMsoNormal>hasdirectory =3D yes<o:p></o:p></p>

<p class=3DMsoNormal>hasiax =3D no<o:p></o:p></p>

<p class=3DMsoNormal>hasmanager =3D no<o:p></o:p></p>

<p class=3DMsoNormal>hassip =3D yes<o:p></o:p></p>

<p class=3DMsoNormal>hasvoicemail =3D no<o:p></o:p></p>

<p class=3DMsoNormal>host =3D dynamic<o:p></o:p></p>

<p class=3DMsoNormal>mailbox =3D 6001<o:p></o:p></p>

<p class=3DMsoNormal>secret =3D XXXXX<o:p></o:p></p>

<p class=3DMsoNormal>threewaycalling =3D yes<o:p></o:p></p>

<p class=3DMsoNormal>registeriax =3D no<o:p></o:p></p>

<p class=3DMsoNormal>registersip =3D yes<o:p></o:p></p>

<p class=3DMsoNormal>canreinvite =3D no<o:p></o:p></p>

<p class=3DMsoNormal>nat =3D no<o:p></o:p></p>

<p class=3DMsoNormal>dtmfmode =3D rfc2833<o:p></o:p></p>

<p class=3DMsoNormal>vmsecret =3D 1234<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>;some PSTNS<o:p></o:p></p>

<p class=3DMsoNormal>[trunk_2]<o:p></o:p></p>

<p class=3DMsoNormal>callerid =3D asreceived<o:p></o:p></p>

<p class=3DMsoNormal>context =3D DID_trunk_2<o:p></o:p></p>

<p class=3DMsoNormal>group =3D 2<o:p></o:p></p>

<p class=3DMsoNormal>hasexten =3D no<o:p></o:p></p>

<p class=3DMsoNormal>hasiax =3D no<o:p></o:p></p>

<p class=3DMsoNormal>hassip =3D no<o:p></o:p></p>

<p class=3DMsoNormal>trunkname =3D Ports 1,2,3,4<o:p></o:p></p>

<p class=3DMsoNormal>trunkstyle =3D analog<o:p></o:p></p>

<p class=3DMsoNormal>zapchan =3D 1,2,3,4<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>;my IP trunk<o:p></o:p></p>

<p class=3DMsoNormal>[trunk_3]<o:p></o:p></p>

<p class=3DMsoNormal>allow =3D all<o:p></o:p></p>

<p class=3DMsoNormal>context =3D DID_trunk_3<o:p></o:p></p>

<p class=3DMsoNormal>dialformat =3D ${EXTEN:1}<o:p></o:p></p>

<p class=3DMsoNormal>hasexten =3D no<o:p></o:p></p>

<p class=3DMsoNormal>hasiax =3D no<o:p></o:p></p>

<p class=3DMsoNormal>hassip =3D yes<o:p></o:p></p>

<p class=3DMsoNormal>host =3D gw02.mytel.net.au<o:p></o:p></p>

<p class=3DMsoNormal>port =3D 5060<o:p></o:p></p>

<p class=3DMsoNormal>registeriax =3D no<o:p></o:p></p>

<p class=3DMsoNormal>registersip =3D yes<o:p></o:p></p>

<p class=3DMsoNormal>secret =3D XXXXXXXX<o:p></o:p></p>

<p class=3DMsoNormal>trunkname =3D Custom - MyTel2<o:p></o:p></p>

<p class=3DMsoNormal>trunkstyle =3D customvoip<o:p></o:p></p>

<p class=3DMsoNormal>username =3D XXXXXXXX<o:p></o:p></p>

<p class=3DMsoNormal>type =3D friend<o:p></o:p></p>

<p class=3DMsoNormal>nat =3D yes<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>;extensions.conf<o:p></o:p></p>

<p class=3DMsoNormal>[numberplan-custom-1]<o:p></o:p></p>

<p class=3DMsoNormal>plancomment =3D DialPlan1<o:p></o:p></p>

<p class=3DMsoNormal>include =3D default<o:p></o:p></p>

<p class=3DMsoNormal>include =3D parkedcalls<o:p></o:p></p>

<p class=3DMsoNormal>exten =3D =
_0XXXXX!,1,Macro(trunkdial,${trunk_3}/${EXTEN:1})<o:p></o:p></p>

<p class=3DMsoNormal>comment =3D =
_0XXXXX!,1,First,standard<o:p></o:p></p>

<p class=3DMsoNormal>;a failover to PSTN, not yet enabled<o:p></o:p></p>

<p class=3DMsoNormal>;exten =3D =
_0XXXXX!,2,Macro(trunkdial,${trunk_2}/0${EXTEN:1})<o:p></o:p></p>

<p class=3DMsoNormal>;comment =3D =
_0XXXXX!,1,First,standard<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>At this point, everything appears to work fine. We =
can make
calls from our several handsets using our voip link no =
problems.<o:p></o:p></p>

<p class=3DMsoNormal>We have two different accounts with our provider, =
the goal
being certain handsets will connect to this account and therefore be =
billed
separately. I haven&#8217;t gotten as far as to add the extra handsets =
and set an
appropriate dialplan, all I did was add this to =
users.conf:<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>[trunk_extra]<o:p></o:p></p>

<p class=3DMsoNormal>allow =3D all<o:p></o:p></p>

<p class=3DMsoNormal>context =3D DID_trunk_3<o:p></o:p></p>

<p class=3DMsoNormal>dialformat =3D ${EXTEN:1}<o:p></o:p></p>

<p class=3DMsoNormal>hasexten =3D no<o:p></o:p></p>

<p class=3DMsoNormal>hasiax =3D no<o:p></o:p></p>

<p class=3DMsoNormal>hassip =3D yes<o:p></o:p></p>

<p class=3DMsoNormal>host =3D gw02.mytel.net.au<o:p></o:p></p>

<p class=3DMsoNormal>port =3D 5060<o:p></o:p></p>

<p class=3DMsoNormal>registeriax =3D no<o:p></o:p></p>

<p class=3DMsoNormal>registersip =3D yes<o:p></o:p></p>

<p class=3DMsoNormal>secret =3D XXXXXXXX<o:p></o:p></p>

<p class=3DMsoNormal>trunkname =3D Custom - MyTel Two<o:p></o:p></p>

<p class=3DMsoNormal>trunkstyle =3D customvoip<o:p></o:p></p>

<p class=3DMsoNormal>username =3D XXXXXXXXXX<o:p></o:p></p>

<p class=3DMsoNormal>type =3D friend<o:p></o:p></p>

<p class=3DMsoNormal>nat =3D yes<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>From this point on, my existing handsets =
don&#8217;t appear to be
able to get a line out. My console looks like this (from the first call =
out):<o:p></o:p></p>

<p class=3DMsoNormal>Connected to Asterisk 1.4.11 currently running on =
asterisk
(pid =3D 31999)<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; -- Remote UNIX =
connection<o:p></o:p></p>

<p class=3DMsoNormal>Verbosity is at least 8<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; -- Executing
[00425298582 at numberplan-custom-1:1] Macro(&quot;SIP/8001-b7d0bb20&quot;,
&quot;trunkdial|SIP/trunk_3/0425298582&quot;) in new =
stack<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; -- Executing =
[s at macro-trunkdial:1]
Dial(&quot;SIP/8001-b7d0bb20&quot;, &quot;SIP/trunk_3/0425298582&quot;) =
in new
stack<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; -- Called =
trunk_3/0425298582<o:p></o:p></p>

<p class=3DMsoNormal>[Sep 13 20:42:16] WARNING[32011]: chan_sip.c:12016
handle_response_invite: Received response: &quot;Forbidden&quot; from
'&quot;Joshua Small&quot; =
&lt;sip:8001 at 192.168.107.4&gt;;tag=3Das29bb274d'<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; -- SIP/trunk_3-097ac708 is =
circuit-busy<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp; =3D=3D Everyone is busy/congested at this =
time (1:0/1/0)<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; -- Executing =
[s at macro-trunkdial:2]
Goto(&quot;SIP/8001-b7d0bb20&quot;, &quot;s-CONGESTION|1&quot;) in new =
stack<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; -- Goto =
(macro-trunkdial,s-CONGESTION,1)<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; -- Executing
[s-CONGESTION at macro-trunkdial:1] NoOp(&quot;SIP/8001-b7d0bb20&quot;,
&quot;&quot;) in new stack<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp; =3D=3D Auto fallthrough, channel =
'SIP/8001-b7d0bb20'
status is 'CONGESTION'<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Any advice on why our trunk_3 becomes congested, =
just because
trunk_extra is set to exist, is appreciated.<o:p></o:p></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:red'>Jos=
hua
Small</span><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'> |&nbsp;Senior Network Engineer&nbsp;| <b>VisiNet</b> | P. =
+61
1300 887 959&nbsp;| </span><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'><a =
href=3D"http://www.visinet.com.au/">www.visinet.com.au</a></span><span
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:black'> =
</span><o:p></o:p></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#666666'=
>This
e-mail is intended for use by the named&nbsp;recipients only and =
contains
confidential information. Opinions and other information in this message =
that
pertain to the sender's employer and its products and services represent =
the
opinion of the sender and&nbsp;not necessarily&nbsp;those of the =
employer. </span><span
style=3D'font-size:10.0pt;font-family:"Times New =
Roman","serif";color:#666666'><o:p></o:p></span></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>

------_=_NextPart_001_01C7F5B7.78602AED--



More information about the asterisk-users mailing list