[Asterisk-Users] Configuring DIAX

Kanuri, Seshu (Company IT) Seshu.Kanuri at morganstanley.com
Thu Oct 14 09:40:15 MST 2004


Steve,

Thanks for sharing your configuration. I will experiment with this conf
and try to connect.
Context - I agree with you on that and the DNS Entry. I find no need for
this to be user 
entered as there must be a way pickup the default context. Also other
problems I found 
were where the text boxes of DIAX configuration gets deleted, when we
try to change the 
type of connection and we have to go back and forth in the setup to
finally make it stick. 

Seshu Kanuri

--------------------------------
Prior to 0.9.9a, I was never able to establish voice communication. The
phone registered, would dial extensions, would ring on incoming calls -
just no audio stream. However, with the most recent version - same
configuration exactly - now I have voice. Go figure. I agree that there
appears to be no place in the help file that clearly and completely
deals with configuration, other than descriptions of the fields that go
something like, "Enter your password in this box". An excellent example
is the context field. I was under the impression that a phone didn't
determine its context - this would be rather dangerous actually. I
really don't know what this field does. I just set it to match the
context assigned to the phone in iax.conf. Anyway, here is an abstract
of my setup:

iax.conf

[steve1]
type=friend
username=steve1
secret=SomeCleverPassword
auth=md5
host=dynamic
context=International		;Must be a valid context
mailbox=xxx			;xxx is of course your mailbox
CallerID="Steve"<xxx>		;Ditto for xxx
qualify=no			;I can't make qualify work with DIAX

extensions.conf

;This is in my default context
exten => 1881,1,Dial(IAX2/steve1,30,Ttr) 
exten => 1881,2,Congestion

In the DIAX registration form:

Alias: An alias for your server
Server: IP address of your server (see note)
Username: steve1
Password: YourCleverPassword
Context: International		;Must be a valid context
Register: checked
Name: Your Name
Number: 1881

Note that I could not make DNS work for the server entry. I had to enter
the actual IP or DIAX never found the server. This is OK in my case
since the server has a fixed IP. For servers getting their IP
dynamically, this may be a problem.

Several other things that you must be careful about are the settings for
the sound card. If you have more than one card, be sure that the desired
one is selected. Also, be sure that the microphone (in the record
controls - not the playback controls!) is not muted and is set to a
suitable level. As far as I can tell, the phone delivers its audio to
the sound card over the wav interface, so be sure that the volume and
mute settings for wav playback are also set correctly.

Stephen R. Besch


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at 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 
--------------------------------------------------------
 
NOTICE: If received in error, please destroy and notify sender.  Sender does not waive confidentiality or privilege, and use is prohibited. 
 



More information about the asterisk-users mailing list