John Millican
2005-Aug-08 15:42 UTC
[Asterisk-Users] IAX TO IAX call between two registered servers
Hello all, I know this has been covered on list but can not find the answer I need, lots of references to no authority found, but none with an answer. I have two * servers, one behind firewall with nat the other on a dmz with nat. Both servers register with each other successfully. home is today's CVS-HEAD away is Asterisk 1.0.7 on away: Registered to '165.xxx.xxx.xxx', who sees us as 69.xxx.xxx.xxx:4569 on home: Registered IAX2 to '69.xxx.xxx.xxx', who sees us as 165.xxx.xxx.xxx:4569 When i place a call from home to away: exten => _998, 1, Dial(IAX2/xxxxxxxxx:home@away); I get the following message on home: Aug 8 18:31:03 WARNING[20598]: chan_iax2.c:6820 socket_read: Call rejected by 69.xxx.xxx.xxx: No authority found and get this message on away Aug 8 18:32:42 NOTICE[16923]: chan_iax2.c:5448 socket_read: Rejected connect attempt from 165.xxx.xxx.xxx home iax.conf [away] type=peer username=away auth=plaintext secret=xxxxxxxxx host=dynamic context=pap2 dissallow=all allow=ulaw [away-in] type=peer auth=plaintext secret=xxxxxxxxx host=dynamic context=pap2 dissallow=all allow=ulaw [away-out] type=peer secret=xxxxxxxxx username=away host=dynamic disallow=all allow=ulaw away iax.conf [home] type=peer user=home secret=xxxxxxxxx host=dynamic context=default [home-in] type=user username=home secret=xxxxxxxxx context=default [home-out] type=peer secret=xxxxxxxxx username=home host=my.domain.com any suggestions would be greatly appreciated. Thank you, John M
Carlos Chavez
2005-Aug-08 16:06 UTC
[Asterisk-Users] IAX TO IAX call between two registered servers
On Mon, 2005-08-08 at 18:42 -0400, John Millican wrote:> Hello all, > I know this has been covered on list but can not find the answer I need, lots > of references to no authority found, but none with an answer. > I have two * servers, one behind firewall with nat the other on a dmz with > nat. Both servers register with each other successfully. > home is today's CVS-HEAD > away is Asterisk 1.0.7 > on away: Registered to '165.xxx.xxx.xxx', who sees us as 69.xxx.xxx.xxx:4569 > on home: Registered IAX2 to '69.xxx.xxx.xxx', who sees us as > 165.xxx.xxx.xxx:4569 > When i place a call from home to away: > exten => _998, 1, Dial(IAX2/xxxxxxxxx:home@away);I guess what you are trying to do here is dial 998 and then the remote extension number? If so your extension shoud be something like: exten => _998.,1,Dial(IAX2/xxxxx:home@away/${EXTEN:3})> > I get the following message on home: > Aug 8 18:31:03 WARNING[20598]: chan_iax2.c:6820 socket_read: Call rejected by > 69.xxx.xxx.xxx: No authority found > > and get this message on away > Aug 8 18:32:42 NOTICE[16923]: chan_iax2.c:5448 socket_read: Rejected connect > attempt from 165.xxx.xxx.xxx > > home iax.conf > [away] > type=peer > username=away > auth=plaintext > secret=xxxxxxxxx > host=dynamic > context=pap2 > dissallow=all > allow=ulaw > > [away-in] > type=peer > auth=plaintext > secret=xxxxxxxxx > host=dynamic > context=pap2 > dissallow=all > allow=ulaw > > [away-out] > type=peer > secret=xxxxxxxxx > username=away > host=dynamic > disallow=all > allow=ulaw > > > away iax.conf > [home] > type=peer > user=home > secret=xxxxxxxxx > host=dynamic > context=default > > [home-in] > type=user > username=home > secret=xxxxxxxxx > context=default > > [home-out] > type=peer > secret=xxxxxxxxx > username=home > host=my.domain.com > > any suggestions would be greatly appreciated. > Thank you, > John M > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Telecomunicaciones Abiertas de Mexico Carlos Chavez Director de Tecnologia +52-55-91169161 Ext. 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050808/a9eb6cff/attachment.pgp
Hadar Pedhazur
2005-Aug-09 06:23 UTC
[Asterisk-Users] IAX TO IAX call between two registered servers
John Millican wrote: [snipping]> I get the following message on home: > Aug 8 18:31:03 WARNING[20598]: chan_iax2.c:6820 socket_read: > Call rejected by > 69.xxx.xxx.xxx: No authority found > > and get this message on away > Aug 8 18:32:42 NOTICE[16923]: chan_iax2.c:5448 socket_read: > Rejected connect attempt from 165.xxx.xxx.xxx > > home iax.conf > [away] > type=peer > username=away > auth=plaintext > secret=xxxxxxxxx > host=dynamic > context=pap2 > dissallow=all > allow=ulaw[more snipping]> away iax.conf > [home] > type=peer > user=home > secret=xxxxxxxxx > host=dynamic > context=default > > [home-in] > type=user > username=home > secret=xxxxxxxxx > context=default[final snipping]> any suggestions would be greatly appreciated. > Thank you, > John MOK, I think your problem is simple, at least I hope so ;-) Specifically, I think you have the wrong syntax in your Dial command. You are dialing: "exten => _998, 1, Dial(IAX2/xxxxxxxxx:home@away);" The above says (to me) to use channel IAX2, username=xxxxxxxxx, password=home, in context away (in the local iax.conf). I doubt that's what you want! I think you want to dial extension xxxxxxxxx, with username home (or remote context home, which isn't place to put it), at local context away. So, change your Dial string to: exten => _998, 1, Dial(IAX2/home@away/xxxxxxxxx); That might fail too, for the following reasons: In your Dial command, you are specifying user "home", calling via your context "away" (in home's iax.conf). So far, so good. However, in the "away" context (on home's machine), you are setting the username to "away". There is no context "away" in the iax.conf on the away machine. Perhaps (I'm not sure), the username=away is the line that will interfere with your authorization (after making the change to the Dial command as noted above). Two suggestions: 1) Delete the line that says "username=away" in the away context in the iax.conf on home. 2) Change it to be "username=home" (in which case you can change your Dial command to be just IAX2/away/XXXXXXX
Ken Dresdell
2005-Aug-15 12:32 UTC
[Asterisk-Users] Echo calibration with ztmonitor and a test line from a telco
Hello everyone, Does anyone have experience with echo calibration for TDM card with rxgain and txgain (Zapata.conf) and ztmonitor (CVS Head)? I have found very few information about it and what I have found makes me confused. I have a phone number provided by my TelCo(1004 hz at 0db) and from what I saw, I am supposed to calibrate my rxgain to get a 14800 value with ztmonitor . Here is the information I found: http://lists.digium.com/pipermail/asterisk-users/2004-November/071301.ht ml Does anyone have successfully reduced echo with this procedure? My main problem is that when I get 14800 with ztmonitor, I have now a rxgain=14 and it seem to be too high for asterisk and I cannot dial out anymore. Any suggestions? Thanks in advance for your pointers Regards Ken
Dan Littlejohn
2005-Aug-15 12:42 UTC
[Asterisk-Users] Echo calibration with ztmonitor and a test line from a telco
On 8/15/05, Ken Dresdell <kdresdell@globetrotter.net> wrote:> Hello everyone, > > Does anyone have experience with echo calibration for TDM card with > rxgain and txgain (Zapata.conf) and ztmonitor (CVS Head)? > > I have found very few information about it and what I have found makes > me confused. I have a phone number provided by my TelCo(1004 hz at 0db) > and from what I saw, I am supposed to calibrate my rxgain to get a 14800 > value with ztmonitor . > > Here is the information I found: > > > http://lists.digium.com/pipermail/asterisk-users/2004-November/071301.ht > ml > > > Does anyone have successfully reduced echo with this procedure? > > My main problem is that when I get 14800 with ztmonitor, I have now a > rxgain=14 and it seem to be too high for asterisk and I cannot dial out > anymore. > > Any suggestions? > > > Thanks in advance for your pointers > > Regards > > Ken > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >I have been doing a bit of this too lately. This was also useful. http://www.asteriskdocs.org/modules/tinycontent/content/docbook/current/docs-html/x1695.html Dan
Matthew Boehm
2005-Aug-15 14:55 UTC
[Asterisk-Users] Echo calibration with ztmonitor and a test line from a telco
> I have been doing a bit of this too lately. This was also useful. > > http://www.asteriskdocs.org/modules/tinycontent/content/docbook/current/docs-html/x1695.html > > DanWhat about for PRI lines? We get echo every now and then. The docs link above references FXO lines. We have none. But we do have 4 PRIs. -Matthew
Ken Dresdell
2005-Aug-16 06:54 UTC
[Asterisk-Users] Echo calibration with ztmonitor and a test linefrom a telco
Thanks for your help, I have already seen this page but since the head version of ztmonitor is able to show the real number value of the rx and tx (ztmonito -vv), I was thinking that maybe someone could confirm to which value we want the rx of ztmonitor when we try to calibrate the system with a test line from a Telco and a TDM card. The only information that I have found is that I have to setup my rxgain to get a 14800 value with ztmonitor but that is not working. Any others suggestions ? Regards Ken -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Dan Littlejohn Sent: 15 ao?t 2005 15:42 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Echo calibration with ztmonitor and a test linefrom a telco On 8/15/05, Ken Dresdell <kdresdell@globetrotter.net> wrote:> Hello everyone, > > Does anyone have experience with echo calibration for TDM card with > rxgain and txgain (Zapata.conf) and ztmonitor (CVS Head)? > > I have found very few information about it and what I have found makes > me confused. I have a phone number provided by my TelCo(1004 hz at0db)> and from what I saw, I am supposed to calibrate my rxgain to get a14800> value with ztmonitor . > > Here is the information I found: > > >http://lists.digium.com/pipermail/asterisk-users/2004-November/071301.ht> ml > > > Does anyone have successfully reduced echo with this procedure? > > My main problem is that when I get 14800 with ztmonitor, I have now a > rxgain=14 and it seem to be too high for asterisk and I cannot dialout> anymore. > > Any suggestions? > > > Thanks in advance for your pointers > > Regards > > Ken > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >I have been doing a bit of this too lately. This was also useful. http://www.asteriskdocs.org/modules/tinycontent/content/docbook/current/ docs-html/x1695.html Dan _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users