Arpit Mehta
2007-May-17 23:31 UTC
[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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070517/15495b95/attachment.htm
Yuan LIU
2007-May-17 23:49 UTC
[asterisk-users] Call to an arbitrary outbound number by asterisk
>From: "Arpit Mehta" <am2866@columbia.edu> >Date: Fri, 18 May 2007 02:31:22 -0400 > >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 welcomeIf you are sure that your university doesn't have a PBX, that's a telco problem. Looks like that the switch has a dial plan that does not allow you to dial this sequence directly and interpret all dialed sequence as a local call. (This is usually the function of a PBX but ...) What is this number 19173995791, any way? (and what is 212-85?) If you attach a phone directly to a channel bank, would you be able to dial this sequence? Yuan Liu>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
Don Kelly
2007-May-21 21:38 UTC
[asterisk-users] Call to an arbitrary outbound number by asterisk
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: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Arpit Mehta Sent: Friday, May 18, 2007 1:31 AM To: asterisk-users@lists.digium.com 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070521/300af0d4/attachment.htm