[Home]

Summary:ASTERISK-00471: Problems with threeway calling when both destinations are PSTN
Reporter:hwstar (hwstar)Labels:
Date Opened:2003-11-01 17:59:15.000-0600Date Closed:2011-06-07 14:10:00
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I'm reporting a problem with getting 3 way calling to work correctly using two outside lines and one extension. The two outside lines are connected to the X100P's. The extension is
connected to a 1 port TDM10.


When I dial the first outside destination 9xxxxxxx, the call completes correctly. When I flash the hook switch and dial the second location 9yyyyyyy, most of the time, (but not always) the dial tone is not broken by the digit following the '9'.


****** ADDITIONAL INFORMATION ******

My configuration files are:

#
# zaptel.conf
#
                                                                               
fxsks=1-2
fxoks=3
loadzone = us
defaultzone=us
#
# End of file
#
;
; zapata.conf
;
                                                                               
[channels]
;
; 2 ea. X100P plugged into PSTN
;
context=from-pstn
signalling=fxs_ks
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=1
txgain=1
immediate=no
busydetect=no
callprogress=no
musiconhold=default
usecallerid=no
;callerid=asreceived
channel=1-2
;
; TDM100B Port #1 plugged into analog Phone
; This phone is allowed to dial extensions and local and long distance numbers
;
context=from-analog-phones
signalling=fxo_ks
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=1
txgain=1
immediate=no
musiconhold=default
usecallerid=yes
callerid="TDM100 Zap Phone" <103>
channel=3
;
; End of file
;

;
; extensions.conf
;
[general]
                                                                               
static=yes       ; These two lines prevent the command-line interface
writeprotect=yes ; from overwriting the config file. Leave them here.
                                                                               
[globals]
                                                                               
[aliens]
                                                                               
;
; Take unknown callers that may have found
; our system, and send them to a re-order tone.
; The string "_." matches any dialed sequence, so all
; calls will result in the Congestion tone application
; being called. They'll get bored and hang up eventually.
;
                                                                               
exten => _.,1,Congestion
                                                                               
;
; Local calls
;
                                                                               
[pstn-local]
;
                                                                               
exten => _9NXXXXXX,1,Dial,Zap/1/9www${EXTEN:1}
exten => _9NXXXXXX,2,Dial,Zap/2/9www${EXTEN:1}
exten => _9NXXXXXX,3,Congestion
                                                                               
                                                                               
;
; This is the context which all house phones see
;
                                                                               
[house-phones]
                                                                               
include => pstn-local
                                                                               
[from-analog-phones]
ignorepat => 9
include => house-phones
                                                                               
;
; End of File
;
Comments:By: Brian West (bkw918) 2003-11-02 11:57:35.000-0600

Try removing ignorepat => 9


Also this isn't the way to do this:
exten => _9NXXXXXX,1,Dial,Zap/1/9www${EXTEN:1} <- if this is busy is going to go N+101 and you have no 102 priority in this so it fails.
exten => _9NXXXXXX,2,Dial,Zap/2/9www${EXTEN:1} <- never makes it here if line 1 is busy.
exten => _9NXXXXXX,3,Congestion

In your zapata.conf add right after
context=from-pstn
group=1 <-- this

then

exten => _9NXXXXXX,1,Dial,Zap/g1/9www${EXTEN:1}
exten => _9NXXXXXX,2,Congestion
; if both lines are busy it goes N+101
exten => _9NXXXXXX,102,Congestion

By: hwstar (hwstar) 2003-11-02 13:13:25.000-0600

Switching over to to use groups did resolve this issue:

[globals]

PSTNOUT=Zap/g1
                                                                                                                                      .
.
.
[some-context]

exten => _9NXXXXXX,1,Dial,${PSTNOUT}/9www${EXTEN:1}
exten => _9NXXXXXX,2,Congestion
exten => _9NXXXXXX,102,Congestion

Thanks for the tip.

By: x martinp (martinp) 2003-11-03 18:14:36.000-0600

Configuration issue