Page 1 of 1

change VOIP prviders

PostPosted: Fri Aug 22, 2008 2:37 pm
by arkain
guys I'm new in vicidial now and with asterisk. well before i was using trixbox. well i just want to ask how to change voip providers on asterisk and how to i configure the asterisk server to the new voip provider

hello

PostPosted: Mon Aug 25, 2008 9:20 am
by eliasferreyra
for sip.conf

register => 123:pass@siptrunk.com:5060

[sipprovider]
type=friend
secret=pass
fromuser=123
username=123
authname=123
user=123
dtmf=rfc2833
dtmfmode=rfc2833
fromdomain=siptrunk.com
host=siptrunk.com
canreinvite=no
insecure=very
context=default
nat=yes
qualify=yes
disallow=all
allow=g729


for extensions.conf

;if you use the 1 as prefix

exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,2,Dial(SIP/${EXTEN}@sipprovider,55,Ttor)
exten => _X.,3,Hangup

;if you use the 9 as prefix

exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,2,Dial(SIP/${EXTEN}@sipprovider,55,Ttor)
exten => _9X.,3,Hangup

Can I Have a sample for Using Iax Provider

PostPosted: Wed Sep 24, 2008 4:57 am
by ger1966
Hello, I using a sip provider and want change the configuration to IAX


Thats my current configuration

extensions.conf:

; Germany
exten => _90049.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _90049.,2,Dial(SIP/${EXTEN:1}@SIPtrunk,55,tTo)
exten => _90049.,3,Hangup


sip.conf :

; register SIP account on remote machine if using SIP trunks
register => 137951:123456@sip.provider.de
;
; setup account for SIP trunking:
[SIPtrunk]
disallow=all
; allow=ulaw
allow=alaw
type=friend
username=137951
secret=123456
host=sip.provider.de
dtmfmode=inband
qualify=1000


---------------------------

the Iax Account is 137952


Thanks alot

PostPosted: Wed Sep 24, 2008 7:02 am
by ger1966
OK this works:

;Germany IAX
exten => _90049.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _90049.,2,Dial(IAX2/pbxnetwork/${EXTEN:1},55,To)
exten => _90049,3,Hangup


;register => 1112223333:PASSWORD@iax.binfone.com
register => 137952:123456@iax.provider.de
register => ASTloop:test@127.0.0.1:40569
register => ASTblind:test@127.0.0.1:41569

[ASTloop]
type=friend
accountcode=ASTloop
context=default
auth=plaintext
host=dynamic
permit=0.0.0.0/0.0.0.0
secret=test
disallow=all
allow=ulaw
qualify=yes

[pbxnetwork]
type=peer
username=137952
secret=123456
host=iax.provider.de
qualify=yes
disallow=all
allow=alaw,ulaw