My requirement is to make only outgoing call. so i decided to make use of the .call file to call the required destination. The details are listed below:
Step 1. created a .call file by the following commands:
[color=blue]cat < /var/spool/asterisk/tmp01
Channel: SIP/919980024820@10.7.1.67 ; 919980024820 is my cell number and 10.7.1.67 is my ip address(host name)
Callerid: 919980024820 ; my cell number
MaxRetries: 5
RetryTime: 300
WaitTime: 45
Context: outboundmsg1
Extension: s
Priority: 1
EOF
mv /var/spool/asterisk/tmp01 /var/spool/asterisk/outgoing[/color]
Step 2: create context in the extensions.conf file
[color=blue][outboundmsg1]
exten => s,3,Answer
exten => s,2,Playback(callme)
exten => s,3,Hangup[/color]
Step 3: set this context in the zapata.conf file
[color=blue][channels]
context=outboundmsg1
switchtype=national
signalling=fxo_ls
rxwink=300
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no[/color]
Now how do i proceed further to make an outgoing call from asterisk software. The asterisk software is installed in the linux operating system. No cards are installed as it is only a outgoing call.
I referred to the link: voip-info.org/tiki-index.php … o-dial+out
Please suggest me on this.
Thanks