# Making outbound calls

**URL:** <https://community.asterisk.org/t/making-outbound-calls/21908>\
**Category:** Asterisk Support\
**Created:** [July 9, 2008, 5:01pm UTC](https://community.asterisk.org/t/making-outbound-calls/21908 "2008-07-09T17:01:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aeroyoda](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@aeroyoda](https://community.asterisk.org/u/aeroyoda)\
**Post date:** [July 9, 2008, 5:01pm UTC](https://community.asterisk.org/t/making-outbound-calls/21908/1 "2008-07-09T17:01:48Z")

</div>

hi ,  
could some one pls help me with a little problem i am having .  
i just finished configuring , an E1 line , i can succefully receive an incomming call , but i can’t seem to make ian outbound call , the following are my configurations;

on zapata.conf

trunkgroup =\> 1,16,32  
spanmap =\> 1,1,1  
[channels]  
usecallerid=yes  
hidecallerid=no  
callwaiting=no  
threewaycalling=no  
transfer=yes  
echocancel=yes  
echotraining=yes  
language=en  
context=incoming

signalling=pri\_cpe  
group = 1  
channel=\>1-8  
channel=\>9-15

context= outbound  
switchtype=euroisdn

signalling=pri\_cpe

group = 2  
channel =\> 17-25  
channel =\> 26-31

NOTE: i had to define two seperate context for incoming and outbound call, and split the channels .

ON MY EXTENSIONS.CONF

[globals]  
OUTBOUNDTRUNK = Zap/1&Zap/2&Zap/3&Zap/4&Zap/5  
TRUNK = Zap/g1

TRUNK=Zap/g2 ; Trunk interface

[incoming]  
include =\> outbound  
;exten =\> 4601700,1,Goto(aheeva\_sbr,s,1)  
exten=\> 4601700,1,Dial(SIP/103)

[outbound]  
include =\> incoming  
exten =\> \_X9NXXXXXX,1,Dial(${TRUNK}/${EXTEN})  
exten =\> \_X9NXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN})

NOTE: i define two trunk groups, so that the dial plan cld pick any one that fits , don’t know if i did the right thing , but i really need some help on this.

the extension i defined on my sip.conf to make and receive the call is given below;

[103]  
type=friend  
host=dynamic  
username=103  
secret=103  
disallow=all  
allow=ulaw  
allow=alaw  
context=incoming  
nat=no  
insecure=very

on my zaptel.conf , these are the configurations i have ;

span=1,1,0,ccs,hdb3,crc4

bchan=1-15  
dchan=16  
bchan=17-31

these are configurations so far , i need some help on this, can any one help me out there.

the following are the error messages i get ;  
Executing Dial(“SIP/103-085d5d78”, “Zap/g2/094618002”) in new stack  
– Requested transfer capability: 0x00 - SPEECH  
– Called g2/094618002  
– Moving call from channel 17 to channel 3  
– Channel 1/3, span 1 got hangup request  
Jul 9 11:06:53 WARNING[7180]: app\_dial.c:714 wait\_for\_answer: Unable to forward voice  
– Hungup ‘Zap/1:3-1’  
== Everyone is busy/congested at this time (1:0/0/1)  
== Auto fallthrough, channel ‘SIP/103-085d5d78’ status is 'CHANUNAVAIL’  
Jul 9 11:06:53 WARNING[5866]: chan\_zap.c:7793 pri\_fixup\_principle: Call specified, but not found?  
Aheevapbx\*CLI\>
