Page 1 of 1

Which is Better for VICIDIAL- IAX2 Or SIP

PostPosted: Wed Mar 05, 2008 5:30 am
by zahoorsatti
Hi

Which is recommended the best protocol IAX2 OR SIP for VICIDIAL

regards

Satti

PostPosted: Wed Mar 05, 2008 7:16 am
by ramindia
Hi

its all depends on the voip provider
most of the provider does not support yet IAX

so SIP is the protocol used for provider side

and you can use IAX at client side

ram

PostPosted: Wed Mar 05, 2008 2:17 pm
by aster1
From what i read in asterisk mailing lists , iax2 tends to give problems if you are doing more than 250-300 calls ( no personal experience ) . IAX2 has some good features like iax trunking/better nat support ,etc .

PostPosted: Wed Mar 05, 2008 2:55 pm
by DowNetworks
i'm my personal point of view, i can say tha both works fine ( i have experience in both with the dialer ).

Differences:

Sip Trunk:

port = 5060
audio ports = 10000-20000 ( on rtp.conf file in asterisk directory )
registration = not necesary ( depend of the provider )
comunication = trunk is based in public traffic

IAX Trunk:

port =4569
audio ports = it use the sam 4569 to transfer the audio don't need to open more ports
registration = necesary
comunication = trunk is based in "virtual private tunnel between end points"

i recommend to use IAX on environments where you have the server behind of a Cisco router doing NAT ( nightmare opening ports and forwarding ), Linksys firewall ( some firmwares does not pass trugh the audio ports fine ). On pix firewalls you have to create static for each port ( you can't use range on static ) then open the range in teh access list and turn off the fixup sip ( 2 fixups ) in order for you to allow people login into the server. I got experience with this 3 nat devices. ( there is some more but they don't have that many issues or steps to get a server working from the inside ).

DowNetworks

PostPosted: Wed Mar 05, 2008 4:11 pm
by aster1
just a small correction, IAX2 can work without registration :) ( if not a case of NAT, then registration might be required )