<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.16.3">
</HEAD>
<BODY>
<BR>
The solution:<BR>
<BR>
Stop the Asterisk, made a backup of configuration files, delete files and modules previously installed.<BR>
<BR>
Then Reinstall with default config files with "make samples" and I only insert the configuration of Broadvoice and immediately worked. Then I restore the configuration files /etc/asterisk (thinking it was a problem of modules) and stopped working again, It mean that the problem was in the configuration files, or too much or too less lines.<BR>
<BR>
So what I made is transfer line x line what I needed from old to new configuration file.<BR>
<BR>
As soon detected where it was what was missing or left over, I will publish the list<BR>
<BR>
regards,<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Ing CIP. Alejandro Celi Mariátegui <BR>
<<A HREF="mailto:alex@linux.org.pe">alex@linux.org.pe</A>>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<BR>
<BR>
<BR>
El vie, 04-05-2012 a las 09:23 +0000, isrlgb@gmail.com escribió:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Broadvoice has a lot of problems for the last 2 months </FONT>
<FONT COLOR="#000000">-----Original Message-----</FONT>
<FONT COLOR="#000000">From: "Ing. CIP Alejandro Celi Mariategui" <<A HREF="mailto:alex@linux.org.pe">alex@linux.org.pe</A>></FONT>
<FONT COLOR="#000000">Sender: <A HREF="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</A></FONT>
<FONT COLOR="#000000">Date: Fri, 04 May 2012 02:11:11 </FONT>
<FONT COLOR="#000000">To: <<A HREF="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A>></FONT>
<FONT COLOR="#000000">Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion</FONT>
<FONT COLOR="#000000">        <<A HREF="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A>></FONT>
<FONT COLOR="#000000">Subject: [asterisk-users] Broadvoice Got SIP response 503 Service Unavailable</FONT>
<FONT COLOR="#000000">Hi,</FONT>
<FONT COLOR="#000000">I'm running Asterisk 1.8.11.1 @office.</FONT>
<FONT COLOR="#000000">The Broadvoice service work fine with all 1.6 version and early 1.8 </FONT>
<FONT COLOR="#000000">behind a NAT but about 2 months ago stop working.</FONT>
<FONT COLOR="#000000">No made changes in the firewall NAT rules. Right now I'm @home via my </FONT>
<FONT COLOR="#000000">Xlite softphone working fine without problems</FONT>
<FONT COLOR="#000000">Any suggestions or thoughts?</FONT>
<FONT COLOR="#000000">Alex Celi</FONT>
<FONT COLOR="#000000">This is the info</FONT>
<FONT COLOR="#000000">central*CLI> sip show peers</FONT>
<FONT COLOR="#000000">Name/username Host Dyn </FONT>
<FONT COLOR="#000000">Forcerport ACL Port Status</FONT>
<FONT COLOR="#000000">488/488 181.64.96.122 D </FONT>
<FONT COLOR="#000000"> 11037 OK (182 ms)</FONT>
<FONT COLOR="#000000">sip.broadvoice.com/305422 206.15.148.221 </FONT>
<FONT COLOR="#000000"> 5060 OK (131 ms)</FONT>
<FONT COLOR="#000000">sip.conf</FONT>
<FONT COLOR="#000000"> externip=190.12.68.20</FONT>
<FONT COLOR="#000000"> localnet=192.168.20.0/255.255.255.0</FONT>
<FONT COLOR="#000000"> localnet=192.168.10.0/255.255.255.0</FONT>
<FONT COLOR="#000000"> nat=comedia</FONT>
<FONT COLOR="#000000"> pedantic=no</FONT>
<FONT COLOR="#000000"> register => </FONT>
<FONT COLOR="#000000"><A HREF="mailto:3054221494@sip.broadvoice.com">3054221494@sip.broadvoice.com</A>:XXXXXXXXXX:<A HREF="mailto:3054221494@sip.broadvoice.com">3054221494@sip.broadvoice.com</A></FONT>
<FONT COLOR="#000000"> [sip.broadvoice.com]</FONT>
<FONT COLOR="#000000"> type=friend</FONT>
<FONT COLOR="#000000"> host=sip.broadvoice.com</FONT>
<FONT COLOR="#000000"> fromdomain=sip.broadvoice.com</FONT>
<FONT COLOR="#000000"> fromuser=3054221494</FONT>
<FONT COLOR="#000000"> defaultuser=3054221494</FONT>
<FONT COLOR="#000000"> authname=3054221494</FONT>
<FONT COLOR="#000000"> secret=XXXXXXXXX</FONT>
<FONT COLOR="#000000"> context=entrantes</FONT>
<FONT COLOR="#000000"> dtmfmode=inband</FONT>
<FONT COLOR="#000000"> dtmf=inband</FONT>
<FONT COLOR="#000000"> nat=comedia</FONT>
<FONT COLOR="#000000"> directmedia=no</FONT>
<FONT COLOR="#000000"> qualify=yes</FONT>
<FONT COLOR="#000000"> callgroup=1</FONT>
<FONT COLOR="#000000"> pickupgroup=1</FONT>
<FONT COLOR="#000000"> disallow=all</FONT>
<FONT COLOR="#000000"> allow=ulaw</FONT>
<FONT COLOR="#000000"> allow=alaw</FONT>
<FONT COLOR="#000000">I turned on sip debug. This is what I received</FONT>
<FONT COLOR="#000000">181.64.96.122: Is my home IP</FONT>
<FONT COLOR="#000000">190.12.68.20 or central.cipher.pe: is office IP</FONT>
<FONT COLOR="#000000">206.15.148.221: Broadvoice Server</FONT>
<FONT COLOR="#000000"> <--- SIP read from UDP:181.64.96.122:11037 ---></FONT>
<FONT COLOR="#000000"> INVITE <A HREF="sip:90018006273999@central.cipher.pe">sip:90018006273999@central.cipher.pe</A> SIP/2.0</FONT>
<FONT COLOR="#000000"> Via: SIP/2.0/UDP </FONT>
<FONT COLOR="#000000">192.168.7.33:19116;branch=z9hG4bK-d8754z-81993d517bc9b121-1---d8754z-;rport</FONT>
<FONT COLOR="#000000"> Max-Forwards: 70</FONT>
<FONT COLOR="#000000"> Contact: <<A HREF="sip:488@181.64.96.122:11037">sip:488@181.64.96.122:11037</A>></FONT>
<FONT COLOR="#000000"> To: "90018006273999"<<A HREF="sip:90018006273999@central.cipher.pe">sip:90018006273999@central.cipher.pe</A>></FONT>
<FONT COLOR="#000000"> From: "488"<<A HREF="sip:488@central.cipher.pe">sip:488@central.cipher.pe</A>>;tag=93cce179</FONT>
<FONT COLOR="#000000"> Call-ID: ZDk2MDVkY2RhMTE2YjRkMmVhMjliMTRiYWIwOTdiM2M.</FONT>
<FONT COLOR="#000000"> CSeq: 1 INVITE</FONT>
<FONT COLOR="#000000"> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, </FONT>
<FONT COLOR="#000000">SUBSCRIBE, INFO</FONT>
<FONT COLOR="#000000"> Content-Type: application/sdp</FONT>
<FONT COLOR="#000000"> User-Agent: X-Lite release 1014k stamp 56015</FONT>
<FONT COLOR="#000000"> Content-Length: 235</FONT>
<FONT COLOR="#000000"> v=0</FONT>
<FONT COLOR="#000000"> o=- 8 2 IN IP4 192.168.7.33</FONT>
<FONT COLOR="#000000"> s=CounterPath X-Lite 3.0</FONT>
<FONT COLOR="#000000"> c=IN IP4 192.168.7.33</FONT>
<FONT COLOR="#000000"> t=0 0</FONT>
<FONT COLOR="#000000"> m=audio 2424 RTP/AVP 0 8 3 101</FONT>
<FONT COLOR="#000000"> a=fmtp:101 0-15</FONT>
<FONT COLOR="#000000"> a=rtpmap:101 telephone-event/8000</FONT>
<FONT COLOR="#000000"> a=alt:1 1 : hC2wRjti 7Lt7EhaI 192.168.7.33 2424</FONT>
<FONT COLOR="#000000"> a=sendrecv</FONT>
<FONT COLOR="#000000"> <-------------></FONT>
<FONT COLOR="#000000"> --- (12 headers 10 lines) ---</FONT>
<FONT COLOR="#000000"> Sending to 181.64.96.122:11037 (NAT)</FONT>
<FONT COLOR="#000000"> Using INVITE request as basis request - </FONT>
<FONT COLOR="#000000">ZDk2MDVkY2RhMTE2YjRkMmVhMjliMTRiYWIwOTdiM2M.</FONT>
<FONT COLOR="#000000"> Found peer '488' for '488' from 181.64.96.122:11037</FONT>
<FONT COLOR="#000000"> <--- Reliably Transmitting (no NAT) to 181.64.96.122:11037 ---></FONT>
<FONT COLOR="#000000"> SIP/2.0 401 Unauthorized</FONT>
<FONT COLOR="#000000"> Via: SIP/2.0/UDP </FONT>
<FONT COLOR="#000000">192.168.7.33:19116;branch=z9hG4bK-d8754z-81993d517bc9b121-1---d8754z-;received=181.64.96.122;rport=11037</FONT>
<FONT COLOR="#000000"> From: "488"<<A HREF="sip:488@central.cipher.pe">sip:488@central.cipher.pe</A>>;tag=93cce179</FONT>
<FONT COLOR="#000000"> To: "90018006273999"<<A HREF="sip:90018006273999@central.cipher.pe">sip:90018006273999@central.cipher.pe</A>>;tag=as77d2f824</FONT>
<FONT COLOR="#000000"> Call-ID: ZDk2MDVkY2RhMTE2YjRkMmVhMjliMTRiYWIwOTdiM2M.</FONT>
<FONT COLOR="#000000"> CSeq: 1 INVITE</FONT>
<FONT COLOR="#000000"> Server: Asterisk PBX 1.8.11.1</FONT>
<FONT COLOR="#000000"> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, </FONT>
<FONT COLOR="#000000">NOTIFY, INFO, PUBLISH</FONT>
<FONT COLOR="#000000"> Supported: replaces, timer</FONT>
<FONT COLOR="#000000"> WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="0a1fded4"</FONT>
<FONT COLOR="#000000"> Content-Length: 0</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>