Page 1 of 1

Asterisk/Vicidial with SIP provider

PostPosted: Wed May 16, 2007 6:15 am
by Abdul
Im a newbei to asterisk and vicidial. I have installed asterisk 1.2.17, vicidial 2x and configured as per scratch install. I have not installed any cards/sip phones as i will be using my sip provider account. Asterisk is getting registered with my sip provider but i am not able to place any calls.
any help will be highly appreciated.

sip.conf
[general]
port = 5060
bindaddr = 0.0.0.0

register => account:password@xxx.xxx.xxx.xxx

[account]
authuser=account
fromdomain=mysipprovider
host=mysipprovider
insecure=very
nat=yes
qualify=yes
secret=password
sendrpid=yes
type=peer
username=account@mysipprovider


extensions.conf

An extension like the one below can be used for FWD, Nikotel, sipgate etc.
; Note that you must have a [sipprovider] section in sip.conf
;
;exten => _41X.,1,Dial(SIP/${EXTEN:2}@sipprovider,,r)
exten => _1.,2,Dial(SIP/account/${EXTEN})@xxx.xxxx.xxxx.xxxx,,r)

PostPosted: Wed May 16, 2007 9:48 am
by ramindia
Try in extension.conf file

exten => _X.,1,AGI(call_log.agi,${EXTEN})
exten => _X.,2,Dial(SIP/${EXTEN}@account,70,Ttor)
exten => _X.,3,Hangup

still you are not able to make calls

post your asterisk -r cli output errors

ram