If I had to make a wild guess, I'd expect that when you make a call
off-campus you must dial an access code first.

 

Looking at columbia.edu, I see that you're expected to dial '93' for a local
number.

 

1+xxxx is a number in the Centrex dial plan for the Morningside campus.

 

http://www.columbia.edu/acis/telecom/tutorial.html#dialing

 

Asterisk is dialing all 10 digits, just as you expected it to.

 

Your dial plan is not prepending the '93,' so the campus
pbx/centrex/switch/whatever thinks you're dialing an on-campus number and
uses just the first five digits to complete the call.

 

As '917' is a local call, is the '1' required?

  --Don

Don Kelly
CT Magic

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arpit Mehta
Sent: Friday, May 18, 2007 1:31 AM
To: [email protected]
Subject: [asterisk-users] Call to an arbitrary outbound number by asterisk

 

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 

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to