[asterisk-users] Call to an arbitrary outbound number by asterisk
Yuan LIU
yliu11 at hotmail.com
Thu May 17 23:49:38 MST 2007
>From: "Arpit Mehta" <am2866 at 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 welcome
If 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
More information about the asterisk-users
mailing list