Re: [asterisk-users] IAX configuration
Hi, i think that is not the point. the call works, what is not working is the IAX config. somehow i need to put "manually" all users of the foreign asterisk (user, password...). if i put type=friend, it does not work in any case. if i put type=peer it works only if i define the users of the foreign asterisk and also an entry for the foreign server that should not be the normal behaviour, i guess. any ideas? thanks 2007/9/27, Mojo with Horan & Company, LLC <[EMAIL PROTECTED]>: > when using variables, use ${variablename} instead of $(variablename) -- > (squiggly braces instead of parentheses) -- I'm not sure parentheses are > allowed. > > yonoko molomo wrote: > > Now I update the extensions.conf file accordingly. > > exten => clientA_Number,1,Dial(sip/$(exten),10) > > ___ > > Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ > > --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 > ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --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] IAX configuration
when using variables, use ${variablename} instead of $(variablename) -- (squiggly braces instead of parentheses) -- I'm not sure parentheses are allowed. yonoko molomo wrote: > Now I update the extensions.conf file accordingly. > exten => clientA_Number,1,Dial(sip/$(exten),10) ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --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] IAX configuration
hi, it does not help. at first i already tried using type=friend. but i am not able to make calls. in the 'caller' asterisk get: WARNING[18541]: chan_iax2.c:7101 socket_process: Call rejected by x.x.x.x: No authority found -- Hungup 'IAX2' in the 'called' asterisk i get following error: chan_iax2.c:7584 socket_process: Host x.x.x.x failed to authenticate as serverB but in the CLI, i type iax2 show registry and i see that servers are registered. Host dnsmgr UsernamePerceived Refresh State x.x.x.x:4569 N servery.y.y.y:4569 60 Registered i asume registered means also authenticated but it complaints. I already followed that link but it does not work. i need to change some things. first, i need to change friend to peer. if i use type=friend it does not work for me. then i need to define all users of the foreign asterisk, which is not normal, i guess. I also need to define the ip address of the servers as host=dynamic. if i put host=192.168.1.10 or similar, i get the message in the CLI: "Peer 'server' is not dynamic (from 192.168.1.10)" somehow i feel that there is "something" missing in the configuracion examples, but i do not know what is it. any ideas? 2007/9/27, Gordon Henderson <[EMAIL PROTECTED]>: > On Thu, 27 Sep 2007, Anthony Messina wrote: > > > On Thursday 27 September 2007 09:23:09 am yonoko molomo wrote: > >> Hi, > >> > >> I have some problems and doubts connecting two asterisk servers. > >> > >> I have one asterisk (serverA), with 1 sip client registered (clientA). > >> I have another asterisk (sever B), with another client (clientB). > >> Now I want to call from client A to B and from B to A. > >> > >> Searching in google i find many configuration examples. For instance: > >> http://etel.wiki.oreilly.com/wiki/index.php/Peering_two_Asterisk_servers_us > >> ing_IAX There are hundreds of pages like this. Also the book "Asterisk the > >> future of telephony" describes how to configure IAX. > >> But it seems that there are many things missing. > >> > >> I understand I need to configure iax.conf in server A and add an entry > >> for server B as "peer". > >> I also need to include a "register" line in iax.conf of server B. If i > >> do this, i have server B registered in server A. > >> > >> I do the same in server B. > >> > > > > you'll need to define each as a "friend" of each other. > > Start here: > >http://astrecipes.net/index.php?n=204 > > Gordon > > ___ > > Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ > > --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 > ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --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] IAX configuration
On Thu, 27 Sep 2007, Anthony Messina wrote: > On Thursday 27 September 2007 09:23:09 am yonoko molomo wrote: >> Hi, >> >> I have some problems and doubts connecting two asterisk servers. >> >> I have one asterisk (serverA), with 1 sip client registered (clientA). >> I have another asterisk (sever B), with another client (clientB). >> Now I want to call from client A to B and from B to A. >> >> Searching in google i find many configuration examples. For instance: >> http://etel.wiki.oreilly.com/wiki/index.php/Peering_two_Asterisk_servers_us >> ing_IAX There are hundreds of pages like this. Also the book "Asterisk the >> future of telephony" describes how to configure IAX. >> But it seems that there are many things missing. >> >> I understand I need to configure iax.conf in server A and add an entry >> for server B as "peer". >> I also need to include a "register" line in iax.conf of server B. If i >> do this, i have server B registered in server A. >> >> I do the same in server B. >> > > you'll need to define each as a "friend" of each other. Start here: http://astrecipes.net/index.php?n=204 Gordon ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --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] IAX configuration
On Thursday 27 September 2007 09:23:09 am yonoko molomo wrote: > Hi, > > I have some problems and doubts connecting two asterisk servers. > > I have one asterisk (serverA), with 1 sip client registered (clientA). > I have another asterisk (sever B), with another client (clientB). > Now I want to call from client A to B and from B to A. > > Searching in google i find many configuration examples. For instance: > http://etel.wiki.oreilly.com/wiki/index.php/Peering_two_Asterisk_servers_us >ing_IAX There are hundreds of pages like this. Also the book "Asterisk the > future of telephony" describes how to configure IAX. > But it seems that there are many things missing. > > I understand I need to configure iax.conf in server A and add an entry > for server B as "peer". > I also need to include a "register" line in iax.conf of server B. If i > do this, i have server B registered in server A. > > I do the same in server B. > you'll need to define each as a "friend" of each other. -- Anthony - http://messinet.com - http://messinet.com/~amessina/gallery 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E signature.asc Description: This is a digitally signed message part. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --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] IAX configuration
Hi, I have some problems and doubts connecting two asterisk servers. I have one asterisk (serverA), with 1 sip client registered (clientA). I have another asterisk (sever B), with another client (clientB). Now I want to call from client A to B and from B to A. Searching in google i find many configuration examples. For instance: http://etel.wiki.oreilly.com/wiki/index.php/Peering_two_Asterisk_servers_using_IAX There are hundreds of pages like this. Also the book "Asterisk the future of telephony" describes how to configure IAX. But it seems that there are many things missing. I understand I need to configure iax.conf in server A and add an entry for server B as "peer". I also need to include a "register" line in iax.conf of server B. If i do this, i have server B registered in server A. I do the same in server B. The problem is that I see some "rejected" messages, and the servers are not registering. I do not see anything else that i need to do in the configuration examples. Finally, after doing a lot of tests, I tried adding in "users.conf" some lines like: [serverA] type=peer callwaiting = yes fullname = serverA hasagent = yes hasdirectory = no hasiax = yes hasmanager = no hassip = no hasvoicemail = yes host = dynamic secret = serverA threewaycalling = yes vmsecret = 1234 registeriax = yes registersip = no canreinvite = no nat = no dtmfmode = rfc2833 im not sure of some of these parameter. but basicalli i define a new user for the server. if i do not define a user like this in users.conf the registration of the server is rejected. I type in the CLI> iax2 show registry and i see that server A is registered in B and B in A. so it seems fine. Now I update the extensions.conf file accordingly. in server A i define something like exten => clientA_Number,1,Dial(sip/$(exten),10) exten => clientA_Number,2,hangup() exten => clientB_Number,1,Dial(iax2/serverB,$(exten)) exten => clientB_Number,2,hangup() i do the similar in serverB. i am very frustrated because the call does not work. the error is Call rejected by x.x.x.x No authority found Again, after doing a lot of tests, i noticed that if i add a new user in iax.conf like: [clientB] type=friend username=clientB secret=userB ... and i do the following in serverB's iax.conf: register => clientB:[EMAIL PROTECTED] then it seems to work. but i have some doubts on it. i have: - clientA registered in serverA - clientB registered in serverB - serverA registered in serverB - serverB registered in serverA then, why do i need to do an explicit register of clientB in server A in the iax.conf and in the users.conf? i am not sure if this is mandatory (i did not find this configuration in any example, but if i do not do this, the call is rejected in the remote asterisk server) why should server A know all users in server B? is it not enough if server B is registered in server A? i am not an expert in asterisk and i am not sure if this is the correct configuration, but i am a bit tired testing and this is the only way i found to make the calls work, but i dont find it is reasonable, especially when the system grows and then my asterisk server peers with many other servers (do i need to configure my users.conf and iax.conf for *each* of the users of other asterisks?) could someone give me some hints? thanks ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --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] IAX-configuration
Hi all I have a network with nodes with different network-interfaces (e.g. node17 with interfaces A and B and node18). Asterisk listens to 17.A, 18's DUNDi knows 17 by knowing ip B. When I start a DUNDi request from 18 to 17 I get a response from A via B. So B knows that the number can be reached at 17.A which is correct. A --- B -- --+ 17 +-+ 18| ----- But when I call this number and debug the IAX-transmissions I get something like: NEW from 18 to 17.A AUTHREQ from 17.B to 18 (f) INVAL from 18 Why comes this AUTHREQ from 17.B and not from 17.A? Why can't I directly speak with the main IP over IAX? The whole thing works great when DUNDI is connected directily to the IP ASTERISK listens to. What can I do? Thanks for your answer. Best regards André ___ --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] IAX Configuration
exten => 19,1,Dial(SIP/19,20,tr) Must be : exten => 19,1,Dial(IAX2/19,20,tr) Because you are using IAX IP-Phones... Best Regards, Francois BERGERET, France -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Olivier Saulnier Envoyé : mardi 2 mai 2006 16:09 À : Asterisk Users Mailing List - Non-Commercial Discussion Objet : [Asterisk-Users] IAX Configuration Hello, I have some problems with a new configuration: I always have on my asterisk console the message: chan_iax2.c:5886 update registry: restricting registration for peer '19' to 60 secondes I connect only two ip phone with iax protocol. And when i want to call 19 phone, it's hangup. No information in console view, or in file /var/log/asterisk/messages. Do you have any idea? My files a there: extensions.conf: [general] static=yes writeprotect=no autofallthrough=yes clearglobalvars=no priorityjumping=no [globals] CONSOLE=Console/dsp; Console interface for demo ;CONSOLE=Zap/1 ;CONSOLE=Phone/phone0 IAXINFO=guest; IAXtel username/password TRUNK=Zap/g2 TRUNKMSD=1 [INTERNAL] exten => 19,1,Dial(SIP/19,20,tr) exten => 19,2,Voicemail(u19) exten => 19,hangup exten => 19,102, Voicemail (b19) exten => 19,103,Hangup exten => 20,1,Dial(SIP/20,20,tr) exten => 20,2,Voicemail(u20) exten => 20,hangup exten => 20,102, Voicemail (b20) exten => 20,103,Hangup iax.conf: [general] bandwidth=low disallow=lpc10 jitterbuffer=no forcejitterbuffer=no [19] type = friend username = 19 secret = 19 host=dynamic context = INTERNAL mailbox=19 [20] type = friend username = 20 secret = 20 host=dynamic context = INTERNAL mailbox=20 Best regards, -- Olivier Saulnier STEGANUX 35 Quai Louis Blanc 03100 Montluçon T: 04.70.02.80.55 F: 04.70.02.80.57 http://www.steganux.com ___ --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] IAX Configuration
Yes Sean, I've just see that :-) I modify, and my communication is now OK. But i always have the message on the console... Bets regards, OLS Sean Cook a écrit : my guess is that you are trying to dial a sip channel to reach an iax peer. Dial(SIP/19) should be Dial(IAX2/19) Olivier Saulnier wrote: Hello, I have some problems with a new configuration: I always have on my asterisk console the message: chan_iax2.c:5886 update registry: restricting registration for peer '19' to 60 secondes I connect only two ip phone with iax protocol. And when i want to call 19 phone, it's hangup. No information in console view, or in file /var/log/asterisk/messages. Do you have any idea? My files a there: extensions.conf: [general] static=yes writeprotect=no autofallthrough=yes clearglobalvars=no priorityjumping=no [globals] CONSOLE=Console/dsp; Console interface for demo ;CONSOLE=Zap/1 ;CONSOLE=Phone/phone0 IAXINFO=guest; IAXtel username/password TRUNK=Zap/g2 TRUNKMSD=1 [INTERNAL] exten => 19,1,Dial(SIP/19,20,tr) exten => 19,2,Voicemail(u19) exten => 19,hangup exten => 19,102, Voicemail (b19) exten => 19,103,Hangup exten => 20,1,Dial(SIP/20,20,tr) exten => 20,2,Voicemail(u20) exten => 20,hangup exten => 20,102, Voicemail (b20) exten => 20,103,Hangup iax.conf: [general] bandwidth=low disallow=lpc10 jitterbuffer=no forcejitterbuffer=no [19] type = friend username = 19 secret = 19 host=dynamic context = INTERNAL mailbox=19 [20] type = friend username = 20 secret = 20 host=dynamic context = INTERNAL mailbox=20 Best regards, ___ --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 -- Olivier Saulnier STEGANUX 35 Quai Louis Blanc 03100 Montluçon T: 04.70.02.80.55 F: 04.70.02.80.57 http://www.steganux.com ___ --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] IAX Configuration
my guess is that you are trying to dial a sip channel to reach an iax peer. Dial(SIP/19) should be Dial(IAX2/19) Olivier Saulnier wrote: Hello, I have some problems with a new configuration: I always have on my asterisk console the message: chan_iax2.c:5886 update registry: restricting registration for peer '19' to 60 secondes I connect only two ip phone with iax protocol. And when i want to call 19 phone, it's hangup. No information in console view, or in file /var/log/asterisk/messages. Do you have any idea? My files a there: extensions.conf: [general] static=yes writeprotect=no autofallthrough=yes clearglobalvars=no priorityjumping=no [globals] CONSOLE=Console/dsp; Console interface for demo ;CONSOLE=Zap/1 ;CONSOLE=Phone/phone0 IAXINFO=guest; IAXtel username/password TRUNK=Zap/g2 TRUNKMSD=1 [INTERNAL] exten => 19,1,Dial(SIP/19,20,tr) exten => 19,2,Voicemail(u19) exten => 19,hangup exten => 19,102, Voicemail (b19) exten => 19,103,Hangup exten => 20,1,Dial(SIP/20,20,tr) exten => 20,2,Voicemail(u20) exten => 20,hangup exten => 20,102, Voicemail (b20) exten => 20,103,Hangup iax.conf: [general] bandwidth=low disallow=lpc10 jitterbuffer=no forcejitterbuffer=no [19] type = friend username = 19 secret = 19 host=dynamic context = INTERNAL mailbox=19 [20] type = friend username = 20 secret = 20 host=dynamic context = INTERNAL mailbox=20 Best regards, ___ --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] IAX Configuration
Hello, I have some problems with a new configuration: I always have on my asterisk console the message: chan_iax2.c:5886 update registry: restricting registration for peer '19' to 60 secondes I connect only two ip phone with iax protocol. And when i want to call 19 phone, it's hangup. No information in console view, or in file /var/log/asterisk/messages. Do you have any idea? My files a there: extensions.conf: [general] static=yes writeprotect=no autofallthrough=yes clearglobalvars=no priorityjumping=no [globals] CONSOLE=Console/dsp; Console interface for demo ;CONSOLE=Zap/1 ;CONSOLE=Phone/phone0 IAXINFO=guest; IAXtel username/password TRUNK=Zap/g2 TRUNKMSD=1 [INTERNAL] exten => 19,1,Dial(SIP/19,20,tr) exten => 19,2,Voicemail(u19) exten => 19,hangup exten => 19,102, Voicemail (b19) exten => 19,103,Hangup exten => 20,1,Dial(SIP/20,20,tr) exten => 20,2,Voicemail(u20) exten => 20,hangup exten => 20,102, Voicemail (b20) exten => 20,103,Hangup iax.conf: [general] bandwidth=low disallow=lpc10 jitterbuffer=no forcejitterbuffer=no [19] type = friend username = 19 secret = 19 host=dynamic context = INTERNAL mailbox=19 [20] type = friend username = 20 secret = 20 host=dynamic context = INTERNAL mailbox=20 Best regards, -- Olivier Saulnier STEGANUX 35 Quai Louis Blanc 03100 Montluçon T: 04.70.02.80.55 F: 04.70.02.80.57 http://www.steganux.com ___ --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] IAX Configuration
Alejandro Vargas wrote: 2005/12/2, ram <[EMAIL PROTECTED]>: if you are using AMP go to trunk and start regitering your account Humm... what I'm trying to do, and what is this thread subject, is to connect asterisk-to-asterisk. Then... I go to trunks, create a new iax trunk, invent some user/password, use the ip of the other asterisk server, etc. Then I go to the other server... I supose I must also create an iax trunk, but... where do I create the user that I placed in the first server in order to validate it? Also I want to link the two asterisk boxes in order to be able to call extensions in each other and use the external lines, then I supose I must place it in from-internal context. -- Alejandro Vargas Perhaps you were thinking of doing this? http://www.voip-info.org/wiki-Asterisk+-+dual+servers To transparently call extensions on the second server, use "switch" in extensions.conf It's all there on that page. -- JP Carballo http://www.netfone2x.com Bringing the world closer. It might look like I'm doing nothing, but at the cellular level, I'm really quite busy. ___ --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] IAX Configuration
2005/12/2, Ishanka Anuradha Ranasooriya <[EMAIL PROTECTED]>: > Hi all, > > I have configured two asterisk Boxes.Then I need to communicate > these > asterisk boxes via the IAX.It is better if you can help me to configure two > boxes to communicate via asterisk I've found the answer: http://www.voip-info.org/wiki/view/Asterisk+-+dual+servers -- Alejandro Vargas ___ --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] IAX Configuration
2005/12/2, ram <[EMAIL PROTECTED]>: > if you are using > AMP > > go to trunk > > and start regitering your account Humm... what I'm trying to do, and what is this thread subject, is to connect asterisk-to-asterisk. Then... I go to trunks, create a new iax trunk, invent some user/password, use the ip of the other asterisk server, etc. Then I go to the other server... I supose I must also create an iax trunk, but... where do I create the user that I placed in the first server in order to validate it? Also I want to link the two asterisk boxes in order to be able to call extensions in each other and use the external lines, then I supose I must place it in from-internal context. -- Alejandro Vargas ___ --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] IAX Configuration
Hi if you are using AMP go to trunk and start regitering your account to check the accounts registered and Go to Console asterisk >>sip show registry ram On 12/2/05, Alejandro Vargas <[EMAIL PROTECTED]> wrote: 2005/12/2, Giovanni Miano <[EMAIL PROTECTED]>:> See > http://www.iaxtel.com/setup.htmlI'm also interested on doing this. I already set up iax connections toproviders like free world dialup, voipbuster and voipjet, but I don't know how to configure asterisk to receive the registration from theother side. I'm using amp (from [EMAIL PROTECTED]).--Alejandro Vargas___--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing listTo 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] IAX Configuration
2005/12/2, Giovanni Miano <[EMAIL PROTECTED]>: > See > http://www.iaxtel.com/setup.html I'm also interested on doing this. I already set up iax connections to providers like free world dialup, voipbuster and voipjet, but I don't know how to configure asterisk to receive the registration from the other side. I'm using amp (from [EMAIL PROTECTED]). -- Alejandro Vargas ___ --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] IAX Configuration
2005/12/2, ram <[EMAIL PROTECTED]>: > is there any way i can reduce Bandwidth ussage when iam making outbound?? > > right now each call taking 80k Choose a different codec. The problem is that the codec must be supported by the other end. I think the better sould be aspeex, or iblc. But the more commonly supported is the propietary g729. To use it you should pay for each communication. If your phone does not support it, asterisk must do transcoding in both directions and you must pay twice. There is a royalty-free version for private use provided by intel. -- Alejandro Vargas ___ --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] IAX Configuration
Hi is there any way i can reduce Bandwidth ussage when iam making outbound?? right now each call taking 80k ram On 12/2/05, Giovanni Miano <[EMAIL PROTECTED]> wrote: Seehttp://www.iaxtel.com/setup.html2005/12/2, Ishanka Anuradha Ranasooriya < [EMAIL PROTECTED]>:> Hi all,>> I have configured two asterisk Boxes.Then I need to communicate> these> asterisk boxes via the IAX.It is better if you can help me to configure two> boxes to communicate via asterisk>> Thanks,> Ishanka.>> > - Original Message -> > From: "Branko Samardzic" < [EMAIL PROTECTED]>> > To:> > Sent: Friday, December 02, 2005 10:43 AM > > Subject: [Asterisk-Users] IAX trunking frequency parameter works only> > oninitiator side> >> >> >> Hi,> >>> >> I am experimenting with trunkfreq parameter. > >> When it is 20ms I can see both parties in IAX session sending IAX frames> >> every 20ms.> >> When I modify this parameter to 40ms then I can see that only server that> >> initiated > >> IAX connection works properly (i.e. sends IAX frames every 40ms while> >> other> >> side still> >> sends IAX frames at 20ms per frame rate).> >> I disabled jitter buffers on both sides and I use speex codec. > >>> >> Here is tcp dump of IAX traffic:> >>> >> 23:26:45.972072 IP SERVER_A.62142 > SERVER_B.4569: UDP, length 58> >> 23:26:45.976295 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 > >> 23:26:45.996264 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25> >> 23:26:46.006742 IP SERVER_A.62142 > SERVER_B.4569: UDP, length 58> >> 23:26:46.016270 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 > >> 23:26:46.036254 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25> >> 23:26:46.047891 IP SERVER_A.62142 > SERVER_B.4569: UDP, length 58> >> 23:26:46.056248 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 > >> 23:26:46.076286 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25> >> 23:26:46.091255 IP SERVER_A.62142 > SERVER_B.4569: UDP, length 58> >> 23:26:46.096262 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 > >> 23:26:46.116243 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25> >> 23:26:46.127494 IP SERVER_A.62142 > SERVER_B.4569: UDP, length 58> >> 23:26:46.136242 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 > >>> >> SERVER_A initiates connection while SERVER_B answers.> >>> >> SERVER_A iax.conf file> >> ===> >> [SERVER_B] > >>> >> disallow=all> >> allow=speex> >>> >> jitterbuffer=no> >> dropcount=2> >> maxjitterbuffer=200> >> maxexcessbuffer=100 > >> minexcessbuffer=60> >> jittershrinkrate=1> >>> >> trunkfreq=40; How frequently to send trunk msgs (in> >> ms)> >>> >> context = foo > >> secret=zYX9VUt> >> auth=md5> >> type=friend> >> host=SERVER_B_IP_ADDRESS> >> trunk=yes> >>> >>> >> SERVER_B iax.conf file> >> ===> >> [SERVER_B]> >>> >> disallow=all> >> allow=speex> >>> >> jitterbuffer=no > >> dropcount=2> >> maxjitterbuffer=200> >> maxexcessbuffer=100> >> minexcessbuffer=60> >> jittershrinkrate=1> >>> >> trunkfreq=40; How frequently to send trunk msgs (in > >> ms)> >>> >> context = default> >> secret=zYX9V> >> auth=md5> >> type=friend> >> host=SERVER_B_IP_ADDRESS> >> trunk=yes > >>> >>> >> Any idea as to why trunking frequency is not symmetrical?> >> Any help is appreciated> >>> >> ___ > >> --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> >>> >> --> >> This e-mail and any attachments are intended for the above named > >> recipient(s) only and may be privileged. This message and any attachments> >> has been scanned for viruses and dangerous content by ITABS Lanka Mail> >> Scanner, and is believed to be clean. > >>> >> Although measures have been taken to ensure that this e-mail and> >> attachments are free from any virus we advise that, in keeping with good> >> computing practice, the recipient should ensure they are actually virus > >> free. Please note that this message has been sent over public networks> >> which may not be a 100% secure communications medium and ITABS Lanka> >> cannot be held responsible for its integrity. > >>> >> >> >> > --> > This e-mail and any attachments are intended for the above named> > recipient(s) only and may be privileged. This message and any attachments > > has been scanned for viruses and dangerous content by ITABS Lanka Mail> > Scanner, and is believed to be clean.> >> > Although measures have been taken to ensure that this e-mail and > > attachments are free from any virus we advise that, in keeping with good> > computing practice, the recipient should ensure they are actually virus> > free. Please note that this message has been sent over public networks > > which may not be a 100% secure communications medium and ITABS Lanka> > cannot
Re: [Asterisk-Users] IAX Configuration
See http://www.iaxtel.com/setup.html 2005/12/2, Ishanka Anuradha Ranasooriya <[EMAIL PROTECTED]>: > Hi all, > > I have configured two asterisk Boxes.Then I need to communicate > these > asterisk boxes via the IAX.It is better if you can help me to configure two > boxes to communicate via asterisk > > Thanks, > Ishanka. > > > - Original Message - > > From: "Branko Samardzic" <[EMAIL PROTECTED]> > > To: > > Sent: Friday, December 02, 2005 10:43 AM > > Subject: [Asterisk-Users] IAX trunking frequency parameter works only > > oninitiator side > > > > > >> Hi, > >> > >> I am experimenting with trunkfreq parameter. > >> When it is 20ms I can see both parties in IAX session sending IAX frames > >> every 20ms. > >> When I modify this parameter to 40ms then I can see that only server that > >> initiated > >> IAX connection works properly (i.e. sends IAX frames every 40ms while > >> other > >> side still > >> sends IAX frames at 20ms per frame rate). > >> I disabled jitter buffers on both sides and I use speex codec. > >> > >> Here is tcp dump of IAX traffic: > >> > >> 23:26:45.972072 IP SERVER_A.62142 > SERVER_B.4569: UDP, length 58 > >> 23:26:45.976295 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 > >> 23:26:45.996264 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 > >> 23:26:46.006742 IP SERVER_A.62142 > SERVER_B.4569: UDP, length 58 > >> 23:26:46.016270 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 > >> 23:26:46.036254 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 > >> 23:26:46.047891 IP SERVER_A.62142 > SERVER_B.4569: UDP, length 58 > >> 23:26:46.056248 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 > >> 23:26:46.076286 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 > >> 23:26:46.091255 IP SERVER_A.62142 > SERVER_B.4569: UDP, length 58 > >> 23:26:46.096262 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 > >> 23:26:46.116243 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 > >> 23:26:46.127494 IP SERVER_A.62142 > SERVER_B.4569: UDP, length 58 > >> 23:26:46.136242 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 > >> > >> SERVER_A initiates connection while SERVER_B answers. > >> > >> SERVER_A iax.conf file > >> === > >> [SERVER_B] > >> > >> disallow=all > >> allow=speex > >> > >> jitterbuffer=no > >> dropcount=2 > >> maxjitterbuffer=200 > >> maxexcessbuffer=100 > >> minexcessbuffer=60 > >> jittershrinkrate=1 > >> > >> trunkfreq=40; How frequently to send trunk msgs (in > >> ms) > >> > >> context = foo > >> secret=zYX9VUt > >> auth=md5 > >> type=friend > >> host=SERVER_B_IP_ADDRESS > >> trunk=yes > >> > >> > >> SERVER_B iax.conf file > >> === > >> [SERVER_B] > >> > >> disallow=all > >> allow=speex > >> > >> jitterbuffer=no > >> dropcount=2 > >> maxjitterbuffer=200 > >> maxexcessbuffer=100 > >> minexcessbuffer=60 > >> jittershrinkrate=1 > >> > >> trunkfreq=40; How frequently to send trunk msgs (in > >> ms) > >> > >> context = default > >> secret=zYX9V > >> auth=md5 > >> type=friend > >> host=SERVER_B_IP_ADDRESS > >> trunk=yes > >> > >> > >> Any idea as to why trunking frequency is not symmetrical? > >> Any help is appreciated > >> > >> ___ > >> --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 > >> > >> -- > >> This e-mail and any attachments are intended for the above named > >> recipient(s) only and may be privileged. This message and any attachments > >> has been scanned for viruses and dangerous content by ITABS Lanka Mail > >> Scanner, and is believed to be clean. > >> > >> Although measures have been taken to ensure that this e-mail and > >> attachments are free from any virus we advise that, in keeping with good > >> computing practice, the recipient should ensure they are actually virus > >> free. Please note that this message has been sent over public networks > >> which may not be a 100% secure communications medium and ITABS Lanka > >> cannot be held responsible for its integrity. > >> > > > > > > > > -- > > This e-mail and any attachments are intended for the above named > > recipient(s) only and may be privileged. This message and any attachments > > has been scanned for viruses and dangerous content by ITABS Lanka Mail > > Scanner, and is believed to be clean. > > > > Although measures have been taken to ensure that this e-mail and > > attachments are free from any virus we advise that, in keeping with good > > computing practice, the recipient should ensure they are actually virus > > free. Please note that this message has been sent over public networks > > which may not be a 100% secure communications medium and ITABS Lanka > > cannot be held responsible for its integrity. > > > >
[Asterisk-Users] IAX Configuration
Hi all, I have configured two asterisk Boxes.Then I need to communicate these asterisk boxes via the IAX.It is better if you can help me to configure two boxes to communicate via asterisk Thanks, Ishanka. - Original Message - From: "Branko Samardzic" <[EMAIL PROTECTED]> To: Sent: Friday, December 02, 2005 10:43 AM Subject: [Asterisk-Users] IAX trunking frequency parameter works only oninitiator side Hi, I am experimenting with trunkfreq parameter. When it is 20ms I can see both parties in IAX session sending IAX frames every 20ms. When I modify this parameter to 40ms then I can see that only server that initiated IAX connection works properly (i.e. sends IAX frames every 40ms while other side still sends IAX frames at 20ms per frame rate). I disabled jitter buffers on both sides and I use speex codec. Here is tcp dump of IAX traffic: 23:26:45.972072 IP SERVER_A.62142 > SERVER_B.4569: UDP, length 58 23:26:45.976295 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 23:26:45.996264 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 23:26:46.006742 IP SERVER_A.62142 > SERVER_B.4569: UDP, length 58 23:26:46.016270 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 23:26:46.036254 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 23:26:46.047891 IP SERVER_A.62142 > SERVER_B.4569: UDP, length 58 23:26:46.056248 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 23:26:46.076286 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 23:26:46.091255 IP SERVER_A.62142 > SERVER_B.4569: UDP, length 58 23:26:46.096262 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 23:26:46.116243 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 23:26:46.127494 IP SERVER_A.62142 > SERVER_B.4569: UDP, length 58 23:26:46.136242 IP SERVER_B.4569 > SERVER_A.62142: UDP, length 25 SERVER_A initiates connection while SERVER_B answers. SERVER_A iax.conf file === [SERVER_B] disallow=all allow=speex jitterbuffer=no dropcount=2 maxjitterbuffer=200 maxexcessbuffer=100 minexcessbuffer=60 jittershrinkrate=1 trunkfreq=40; How frequently to send trunk msgs (in ms) context = foo secret=zYX9VUt auth=md5 type=friend host=SERVER_B_IP_ADDRESS trunk=yes SERVER_B iax.conf file === [SERVER_B] disallow=all allow=speex jitterbuffer=no dropcount=2 maxjitterbuffer=200 maxexcessbuffer=100 minexcessbuffer=60 jittershrinkrate=1 trunkfreq=40; How frequently to send trunk msgs (in ms) context = default secret=zYX9V auth=md5 type=friend host=SERVER_B_IP_ADDRESS trunk=yes Any idea as to why trunking frequency is not symmetrical? Any help is appreciated ___ --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 -- This e-mail and any attachments are intended for the above named recipient(s) only and may be privileged. This message and any attachments has been scanned for viruses and dangerous content by ITABS Lanka Mail Scanner, and is believed to be clean. Although measures have been taken to ensure that this e-mail and attachments are free from any virus we advise that, in keeping with good computing practice, the recipient should ensure they are actually virus free. Please note that this message has been sent over public networks which may not be a 100% secure communications medium and ITABS Lanka cannot be held responsible for its integrity. -- This e-mail and any attachments are intended for the above named recipient(s) only and may be privileged. This message and any attachments has been scanned for viruses and dangerous content by ITABS Lanka Mail Scanner, and is believed to be clean. Although measures have been taken to ensure that this e-mail and attachments are free from any virus we advise that, in keeping with good computing practice, the recipient should ensure they are actually virus free. Please note that this message has been sent over public networks which may not be a 100% secure communications medium and ITABS Lanka cannot be held responsible for its integrity. ___ --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 -- This e-mail and any attachments are intended for the above named recipient(s) only and may be privileged. This message and any attachments has been scanned for viruses and dangerous content by ITABS Lanka Mail Scanner, and is believed to be clean. Although measures have been taken to ensure that this e-mail and attachments are free from any virus we advise that, in keeping with good computing practice, the recipient should ensure they are actually virus free. Please note that th
Re: [Asterisk-Users] iax configuration
Hi, Thankx for the promt reply..was out of town,will get back to u with more. mukta From: Michael Van Donselaar <[EMAIL PROTECTED]>To: [EMAIL PROTECTED]Subject: Re: [Asterisk-Users] iax configurationDate: Fri, 14 Nov 2003 10:06:02 -0600Reply-To: [EMAIL PROTECTED]On Fri, 14 Nov 2003 05:36:25 + (GMT), mukta vasudeva<[EMAIL PROTECTED]>wrote:>Hi,>I have configured 3 users in my iax.conf, i am using iaxcomm phones. =Iaxcomm has excellent voice quality although there is no ringing =tones(either ring back or ringing tone),but i can live without right now.Check the website this weekend. We've just added ringback and ringtone.>I find that for each user i want registered i have to add his name and =his ip address.I have been using "host =3D dynamic".Isnt there any way =that i can define a dialmap such as _7XXX and all users can then be =registered with the server and get allocated the their individual numbers=by the server.(till now i define the numbers with callerid field). i =need to do this so that i can add 15+ users without having to add each =individually.>what would be the entry inthe iax.conf for this?>something like:>[_7XX]>type=3Dfriend>host=3Ddynamic>auth=3Dplaintext>secret=3Dbla /*all phoens would have the same usrname & passwrd==20I don't _think_ you can use wildcards in iax.conf like that. I think =you'llhave to make all fifteen entries.>and in extensions.conf, i would just have to use something like the =following:>exten =3D> _7XX,1,Dial(IAX/_7XX/s,100,r)You want to use ${EXTEN} in the dial string. I useexten =3D> _2XX,1,Playback(loligo/pls-wait-connect-call) =20exten =3D> _2XX,2,Dial(IAX2/${IAXINFO}/${EXTEN}) Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more. Download now.
Re: [Asterisk-Users] iax configuration
Good Job buddy, I'll be checking it out myself. Also, can you help me figure out how to transfer calls from an IAX client? A.J. On Fri, 14 Nov 2003, Michael Van Donselaar wrote: > On Fri, 14 Nov 2003 05:36:25 + (GMT), mukta vasudeva > <[EMAIL PROTECTED]> wrote: > > >Hi, > >I have configured 3 users in my iax.conf, i am using iaxcomm phones. Iaxcomm has > >excellent voice quality although there is no ringing tones(either ring back or > >ringing tone),but i can live without right now. > > Check the website this weekend. We've just added ringback and ringtone. > > >I find that for each user i want registered i have to add his name and his ip > >address.I have been using "host = dynamic".Isnt there any way that i can define a > >dialmap such as _7XXX and all users can then be registered with the server and get > >allocated the their individual numbers by the server.(till now i define the numbers > >with callerid field). i need to do this so that i can add 15+ users without having > >to add each individually. > >what would be the entry inthe iax.conf for this? > >something like: > > >[_7XX] > >type=friend > >host=dynamic > >auth=plaintext > >secret=bla /*all phoens would have the same usrname & passwrd > > I don't _think_ you can use wildcards in iax.conf like that. I think you'll > have to make all fifteen entries. > > >and in extensions.conf, i would just have to use something like the following: > >exten => _7XX,1,Dial(IAX/_7XX/s,100,r) > > You want to use ${EXTEN} in the dial string. I use > > exten => _2XX,1,Playback(loligo/pls-wait-connect-call) > exten => _2XX,2,Dial(IAX2/${IAXINFO}/${EXTEN}) > > > ___ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] iax configuration
On Fri, 14 Nov 2003 05:36:25 + (GMT), mukta vasudeva <[EMAIL PROTECTED]> wrote: >Hi, >I have configured 3 users in my iax.conf, i am using iaxcomm phones. Iaxcomm has >excellent voice quality although there is no ringing tones(either ring back or >ringing tone),but i can live without right now. Check the website this weekend. We've just added ringback and ringtone. >I find that for each user i want registered i have to add his name and his ip >address.I have been using "host = dynamic".Isnt there any way that i can define a >dialmap such as _7XXX and all users can then be registered with the server and get >allocated the their individual numbers by the server.(till now i define the numbers >with callerid field). i need to do this so that i can add 15+ users without having to >add each individually. >what would be the entry inthe iax.conf for this? >something like: >[_7XX] >type=friend >host=dynamic >auth=plaintext >secret=bla /*all phoens would have the same usrname & passwrd I don't _think_ you can use wildcards in iax.conf like that. I think you'll have to make all fifteen entries. >and in extensions.conf, i would just have to use something like the following: >exten => _7XX,1,Dial(IAX/_7XX/s,100,r) You want to use ${EXTEN} in the dial string. I use exten => _2XX,1,Playback(loligo/pls-wait-connect-call) exten => _2XX,2,Dial(IAX2/${IAXINFO}/${EXTEN}) ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] iax configuration
Hi, >- Original Message - >From: mukta vasudeva >To: [EMAIL PROTECTED] >Sent: Friday, November 14, 2003 7:36 AM >Subject: [Asterisk-Users] iax configuration>> > > >Hi, >I have configured 3 users in my iax.conf, i am using iaxcomm phones. Iaxcomm has excellent voice >quality although there is no ringing tones(either ring back or ringing tone),but i can live without right now. Did you checked DIAX? It uses the same low level library and it is a full featured phone. There is any difference in voice quality between Iaxcomm and DIAX? Best regards, Dan ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] iax configuration
Hi, I have configured 3 users in my iax.conf, i am using iaxcomm phones. Iaxcomm has excellent voice quality although there is no ringing tones(either ring back or ringing tone),but i can live without right now. I find that for each user i want registered i have to add his name and his ip address.I have been using "host = dynamic".Isnt there any way that i can define a dialmap such as _7XXX and all users can then be registered with the server and get allocated the their individual numbers by the server.(till now i define the numbers with callerid field). i need to do this so that i can add 15+ users without having to add each individually. what would be the entry inthe iax.conf for this? something like: [_7XX] type=friend host=dynamic auth=plaintext secret=bla /*all phoens would have the same usrname & passwrd and in extensions.conf, i would just have to use something like the following: exten => _7XX,1,Dial(IAX/_7XX/s,100,r) thanx Mukta Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more. Download now.