[Asterisk-Users] Cannot dial two phones at the same time

Michael George george at mutualdata.com
Thu Apr 14 03:19:54 MST 2005


On Thu, Apr 14, 2005 at 10:06:37AM +0800, Eddie wrote:
> I cannot dial two phones using zap at the same time.
>  One will ring but the other one hangs up. 

Are those phones on an FXS or through an FXO to a PSTN to an outside number?

>  zapata.conf 
>  
>  [channels] 
>  context=default 
>  signalling=fxs_ks 
>  immediate=no 
>  busydetect=yes 
>  callprogress=no 
>  echocancel=yes 
>  echocancelwhenbridged=yes 
>  usecallerid=yes 
>  usecallingpres=yes 
>  threewaycalling=yes 
>  transfer=yes 
>  callerid="Incoming" <20941261> 
>  group=1 
>  channel => 3,4 
>  
>  extensions.conf 
>  
>  [internal] 
>  exten => 300,1,Dial(Zap/3/206&Zap/4/221,15) 
>  exten => 300,2,Hangup 
>  
>  CLI 
>  
>  linux*CLI> dial 300 at internal 
>  -- Executing Dial("OSS/dsp", "Zap/3/206&Zap/4/221|15") in new stack 

If these are FXS channels, then they should be of the form: Zap/<chan>. The
additional argument you have, the 206 and 221, should not be present, AFAIK.
>From the wiki:

	chanspec[c][d][rcadence][/phonenumber]
	...
	phonenumber, if present, specifies which telephone number you wish to be
	connected with. Note that this makes sense only when you are dialing a
	telephone line (an FXO or PRI interface), not an internal extension. Within
															^^^^^^^^^^^^^^^^^^^^^^^^^
	the phone number, you may use the special modifier w to indicate a
	half-second pause. You might want to use this to wait for a dialtone or for
	a pause while dialing digits. You may also use the special modifier c to
	allow for clear channel connections between PRI ports.

>  -- Called 3/206 
>  -- Called 4/221 
>  -- Zap/3-1 answered OSS/dsp 
>  -- Hungup 'Zap/4-1' 
>  << Console call has been answered >> 
>  
>  Please advice. Thanks.
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> ---
> [This E-mail scanned for viruses by Declude Virus]
> 
> 

-- 
-M

There are 10 kinds of people in this world:
	Those who can count in binary and those who cannot.



More information about the asterisk-users mailing list