[asterisk-users] Call to an arbitrary outbound number by asterisk

Arpit Mehta am2866 at columbia.edu
Thu May 17 23:31:22 MST 2007


Hi,

I have a strange problem. I have a TE110p digium card.

I want to dial 19173995791 when any incoming call comes in.  What is
happening is that when I dial 19173-995791. Asterisk picks up the first 5
digits assuming it is the extension and appends 212-85 (here in the
university most numbers start with this) in front . Therefore I get
connected to some random number 212-85-(19173) (where the voicemail is
running).
I cannot understand why asterisk is doing this whereas my dialplan says it
needs to connect to other number
   "exten => _.,1,Dial(Zap/g1/19173995791)"

Also any idea if this is an Asterisk problem or a telco problem. Any
help/hints/suggestions would be most welcome

Here are my files.

zapata.conf
context=incoming
switchtype=national
signalling=pri_cpe
group=1
channel=>1-23

extension.conf
[incoming]
exten => _.,1,Dial(Zap/g1/19173995791)

######### I have added this line in the dialplan is because I want it to
match the  last 5 digit and simply dial the number 19173995791 such that a
call leg is established between the calling party and the number 19173995791



CLI debug information
-- Requested transfer capability: 0x00 - SPEECH
    -- Called g1/19173995791
    -- Zap/1-1 is proceeding passing it to Zap/23-1
    -- Zap/1-1 is making progress passing it to Zap/23-1

############### The call keeps ringing for sometime then it goes to
voicemail. The message comes when the voicemail start. Note that I have not
setup any voice mail

    -- Zap/1-1 answered Zap/23-1

############### Goes to the voicemail
    -- Native bridging Zap/23-1 and Zap/1-1

    -- Channel 0/23, span 1 got hangup request
    -- Hungup 'Zap/1-1'
  == Spawn extension (incoming, 17689, 1) exited non-zero on 'Zap/23-1'
    -- Hungup 'Zap/23-1'


Regards

-- 
Arpit Mehta
Graduate Student
Department of Computer Science
Columbia University

Tel: 1-646-387-5998
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070517/15495b95/attachment.htm


More information about the asterisk-users mailing list