Re: [asterisk-users] iax2 registration being rejected
> > > Yes, since IAX2 only uses one port, this is correct. Another thing to > keep in mind is to set a low qualify value in Asterisk since some > routers will tear down the connection pretty quickly. The qualify acts > as a keep-alive and prevents the router from closing the port and losing > the map. > > Thanks, > Steve But if you set timeout lower than actual latency to peer .. it will result in asterisk not sending any calls to peer at all so keeping it too low will create more problem .. however peer will be able to make outgoing calls . I think asterisk doesnt rely on qualify= parameter to keep connection open . Main purpose of qualify option is to make sure peer is not lagged then specified timeout period else call quality will be pathetic .. qualify=200 seems ok . Btw i have never seen a device losing registration when qualify value is set huge ( i keep qualify = 2000 for a very dirty connection sometimes :D so that asterisk will show latency when i do "sip show peers" and "iax2 show peers" in cli ) ___ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] iax2 registration being rejected
Tim Panton wrote: > On 6 Aug 2007, at 16:53, Jared Smith wrote: > > >> On Mon, 2007-08-06 at 11:42 -0400, John covici wrote: >> >>> OK, thanks -- I guess I hadn't quite figured out the purpose of >>> registration. >>> >> A device registers to Asterisk to tell Asterisk what it's current IP >> address is, so that Asterisk knows where to send calls destined for >> that >> device. That's all there is to it. >> > > For IAX it also has the side benefit of setting up path through nat > and port > mapping routers. > > > Tim Panton > > www.mexuar.net > www.westhawk.co.uk/ > > Yes, since IAX2 only uses one port, this is correct. Another thing to keep in mind is to set a low qualify value in Asterisk since some routers will tear down the connection pretty quickly. The qualify acts as a keep-alive and prevents the router from closing the port and losing the map. Thanks, Steve ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] iax2 registration being rejected
On 6 Aug 2007, at 16:53, Jared Smith wrote: > On Mon, 2007-08-06 at 11:42 -0400, John covici wrote: >> OK, thanks -- I guess I hadn't quite figured out the purpose of >> registration. > > A device registers to Asterisk to tell Asterisk what it's current IP > address is, so that Asterisk knows where to send calls destined for > that > device. That's all there is to it. For IAX it also has the side benefit of setting up path through nat and port mapping routers. Tim Panton www.mexuar.net www.westhawk.co.uk/ ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] iax2 registration being rejected
On Mon, 2007-08-06 at 11:42 -0400, John covici wrote: > OK, thanks -- I guess I hadn't quite figured out the purpose of > registration. A device registers to Asterisk to tell Asterisk what it's current IP address is, so that Asterisk knows where to send calls destined for that device. That's all there is to it. -- Jared Smith Community Relations Manager Digium, Inc. ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] iax2 registration being rejected
OK, thanks -- I guess I hadn't quite figured out the purpose of registration. on Monday 08/06/2007 Jared Smith([EMAIL PROTECTED]) wrote > On Mon, 2007-08-06 at 11:00 -0400, John covici wrote: > > Hi. I have a server which is trying to register with me using iax2 > > and asterisk 1.2. My asterisk server is rejecting the registration > > saying is not dynamic. What does this mean and > > what do I need to change to accept the registration? > > You must change your peer section in iax.conf to say "host=dynamic" > instead of having an IP address or name for the host setting. (If the > host is on a static IP, there's no reason for them to register to you, > right?) > > > -- > Jared Smith > Community Relations Manager > Digium, Inc. > > > ___ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] iax2 registration being rejected
On Mon, 2007-08-06 at 11:00 -0400, John covici wrote: > Hi. I have a server which is trying to register with me using iax2 > and asterisk 1.2. My asterisk server is rejecting the registration > saying is not dynamic. What does this mean and > what do I need to change to accept the registration? You must change your peer section in iax.conf to say "host=dynamic" instead of having an IP address or name for the host setting. (If the host is on a static IP, there's no reason for them to register to you, right?) -- Jared Smith Community Relations Manager Digium, Inc. ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] iax2 registration being rejected
Hi. I have a server which is trying to register with me using iax2 and asterisk 1.2. My asterisk server is rejecting the registration saying is not dynamic. What does this mean and what do I need to change to accept the registration? Thanks. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] iax2 registration problems
Bartosz, Try changing username=username to user=username This works for me. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bartosz Wegrzyn - asterisk Sent: Thursday, June 22, 2006 1:18 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] iax2 registration problems On the asterisk1 I got this: register => username:[EMAIL PROTECTED] [eop] username=username secret=secret type=peer host=ipaddress1 auth=md5 on the second box I got this this host is ipaddress2 [incommingiax2] username=username type=user secret=secret host=dynamic context=from-internal-custom auth=md5 on first host 1 am getting: Jun 22 14:42:10 NOTICE[2398]: chan_iax2.c:7411 socket_read: Registration of 'proxy1' rejected: 'Registration Refused' from: 'ipaddress2' if I enable debuging I got this: Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 4ms SCall: 6 DCall: 0 [ipaddress2:4569] USERNAME : username REFRESH : 60 Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGREJ Timestamp: 00017ms SCall: 1 DCall: 6 [ipaddress2:4569] CAUSE : Registration Refused CAUSE CODE : 29 Jun 22 14:43:50 NOTICE[2398]: chan_iax2.c:7411 socket_read: Registration of 'username' rejected: 'Registration Refused' from: 'ipaddress2' Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 00017ms SCall: 6 DCall: 1 [ipaddress2:4569] Why the box is refusing the registration. That box is on DMZ vlan with local ip On the pix firewall public ip address2 is mapped to that box ip debug on the second box Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 7ms SCall: 2 DCall: 0 [ipaddress1:4569] USERNAME : username REFRESH : 60 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGREJ Timestamp: 1ms SCall: 3 DCall: 2 [ipaddress1:4569] CAUSE : Registration Refused CAUSE CODE : 29 Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 1ms SCall: 2 DCall: 3 [ipaddress1:4569] any ideas what could be wrong? Thanks Bart ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] iax2 registration problems
this helped thank you > Bartosz Wegrzyn - asterisk wrote: >> On the asterisk1 I got this: >> >> register => username:[EMAIL PROTECTED] >> >> > Try changing this to : > > register => incommingiax2:[EMAIL PROTECTED] > > There is a good reason I say this, but I'm too tired to remember what it > is. >> [eop] >> username=username >> secret=secret >> type=peer >> host=ipaddress1 >> auth=md5 >> >> >> on the second box I got this >> >> this host is ipaddress2 >> >> [incommingiax2] >> username=username >> type=user >> secret=secret >> host=dynamic >> context=from-internal-custom >> auth=md5 >> > > > ___ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] iax2 registration problems
Bartosz Wegrzyn - asterisk wrote: > On the asterisk1 I got this: > > register => username:[EMAIL PROTECTED] > > Try changing this to : register => incommingiax2:[EMAIL PROTECTED] There is a good reason I say this, but I'm too tired to remember what it is. > [eop] > username=username > secret=secret > type=peer > host=ipaddress1 > auth=md5 > > > on the second box I got this > > this host is ipaddress2 > > [incommingiax2] > username=username > type=user > secret=secret > host=dynamic > context=from-internal-custom > auth=md5 > ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] iax2 registration problems
On the asterisk1 I got this: register => username:[EMAIL PROTECTED] [eop] username=username secret=secret type=peer host=ipaddress1 auth=md5 on the second box I got this this host is ipaddress2 [incommingiax2] username=username type=user secret=secret host=dynamic context=from-internal-custom auth=md5 on first host 1 am getting: Jun 22 14:42:10 NOTICE[2398]: chan_iax2.c:7411 socket_read: Registration of 'proxy1' rejected: 'Registration Refused' from: 'ipaddress2' if I enable debuging I got this: Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 4ms SCall: 6 DCall: 0 [ipaddress2:4569] USERNAME : username REFRESH : 60 Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGREJ Timestamp: 00017ms SCall: 1 DCall: 6 [ipaddress2:4569] CAUSE : Registration Refused CAUSE CODE : 29 Jun 22 14:43:50 NOTICE[2398]: chan_iax2.c:7411 socket_read: Registration of 'username' rejected: 'Registration Refused' from: 'ipaddress2' Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 00017ms SCall: 6 DCall: 1 [ipaddress2:4569] Why the box is refusing the registration. That box is on DMZ vlan with local ip On the pix firewall public ip address2 is mapped to that box ip debug on the second box Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 7ms SCall: 2 DCall: 0 [ipaddress1:4569] USERNAME : username REFRESH : 60 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGREJ Timestamp: 1ms SCall: 3 DCall: 2 [ipaddress1:4569] CAUSE : Registration Refused CAUSE CODE : 29 Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 1ms SCall: 2 DCall: 3 [ipaddress1:4569] any ideas what could be wrong? Thanks Bart ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] IAX2 registration
Hi! I have the following setup: PSTN1 <> Asterisk1 <--- IAX2 ---> Asterisk2 <> PSTN2 As you can see, two Asterisk machines are connected via IAX2. There are users connected to each Asterisk machine over a local LAN. Each of these users in both LANs should be able to either use PSTN1 or PSTN2, depending on which extension they dial, no problem here. My question now is, does each Asterisk server need to register with the other Asterisk machine, or is it sufficient if only one Asterisk registers with the other one? Will the other one then know about the connection and be able to make phone calls over that one? Thanks, Christoph ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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
[Asterisk-Users] IAX2 registration period
Hi, Does anybody know how often does IAX2 registration happen ? Also I'm getting a feeling that there is no way of changing it through an iax.conf file ? Thanks, Ivan ___ 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
[Asterisk-Users] Iax2 Registration failed
Hi ALL; I am new to IAX2, I tried to register an endpoint to Asterisk with phone number(E.164 address)but it failed. Can you plz send the desired iax.conf to register a user on Asterisk. Regards Mohammad ___ 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