04-20-2006 07:58 AM
Hi,
I've got a fax machine plugged into an FXS port on a 2800 router.
Inbound fax works fine but when dialling a destination number on an outbound fax call I only receive the first digit.
Qu:
Is the router processing the call before all digits are presented?
Is there a way of delaying the digit collection before sending to the router?
Outbound Call path:
Fax > FXS > router > Sip server > Isdn gateway
If I manually overide the digits with a destination number on a translation rule it works a treat.
Any clues?
04-21-2006 03:12 AM
Can you show us your dial-peer config?
Ivan
04-21-2006 05:03 AM
!
voice call send-alert
no voice call carrier capacity active
voice rtp send-recv
!
!
voice class codec 10
codec preference 1 g711ulaw
codec preference 2 g729r8
codec preference 3 g711alaw
!
!
!
voice-port 0/0/0
bearer-cap Speech
!
voice-port 0/0/1
bearer-cap Speech
!
voice-port 0/1/0
bearer-cap Speech
!
voice-port 0/1/1
bearer-cap Speech
!
voice-port 0/2/0
description fax fxs port
bearer-cap Speech
station-id number 900
!
voice-port 0/2/1
!
voice-port 0/2/2
!
voice-port 0/2/3
!
!
!
!
!
dial-peer voice 1 pots
description Inbound PSTN to SIP Server
incoming called-number .T
direct-inward-dial
!
dial-peer voice 3 voip
description Inbound SIP calls to SIP Server
huntstop
destination-pattern .
voice-class codec 10
session protocol sipv2
session target ipv4:xx.xx.xx.xx:5060
session transport udp
dtmf-relay rtp-nte
no vad
!
dial-peer voice 102 pots
description Outbound SIP calls to FXS
destination-pattern 900
port 0/2/0
forward-digits all
!
sip-ua
retry invite 3
retry response 3
retry bye 3
retry cancel 3
timers trying 1000
sip-server ipv4:xx.xx.xx.xx:5060
04-21-2006 05:15 AM
Number dialled 771xxxxxxxxxx
Collected called number only shows up as 7 and therefore misses the other digits.
rfp-rtr-02#sh call active voice
Telephony call-legs: 1
SIP call-legs: 1
H323 call-legs: 0
MGCP call-legs: 0
Multicast call-legs: 0
Total call-legs: 2
GENERIC:
SetupTime=-1503182656 ms
Index=1
PeerAddress=900
PeerSubAddress=
PeerId=102
PeerIfIndex=26
LogicalIfIndex=16
ConnectTime=0
CallDuration=00:00:00 sec
CallState=3
CallOrigin=2
ChargedUnits=0
InfoType=speech
TransmitPackets=0
TransmitBytes=0
ReceivePackets=0
ReceiveBytes=0
TELE:
ConnectionId=[0x1BA1EF9D 0xD06F11DA 0x8C6A9B72 0x9FBCAEB3]
IncomingConnectionId=[0x1BA1EF9D 0xD06F11DA 0x8C6A9B72 0x9FBCAEB3]
CallID=2838
TxDuration=0 ms
VoiceTxDuration=0 ms
FaxTxDuration=0 ms
CoderTypeRate=None
NoiseLevel=0
ACOMLevel=0
OutSignalLevel=0
InSignalLevel=0
InfoActivity=0
ERLLevel=0
SessionTarget=
ImgPages=0
CallerName=
CallerIDBlocked=False
OriginalCallingNumber=900
OriginalCallingOctet=0x0
OriginalCalledNumber=
OriginalCalledOctet=0x80
OriginalRedirectCalledNumber=
OriginalRedirectCalledOctet=0x0
TranslatedCallingNumber=900
TranslatedCallingOctet=0x0
TranslatedCalledNumber=
TranslatedCalledOctet=0x80
TranslatedRedirectCalledNumber=
TranslatedRedirectCalledOctet=0x0
GwCollectedCalledNumber=7
GwReceivedCallingNumber=900
GwReceivedCallingOctet3=0x0
GwReceivedCallingOctet3a=0x0
Telephony call-legs: 1
SIP call-legs: 0
H323 call-legs: 0
MGCP call-legs: 0
Multicast call-legs: 0
Total call-legs: 1
04-21-2006 06:55 AM
Try changing "destination-pattern ." to the "destination-pattern .T" on your voip dial-peer.
Ivan
04-21-2006 10:26 AM
I have previously tried that but still no go.
Do you think its anything to do with timeouts on the fxs port?
04-21-2006 11:13 AM
When using .T interdigit timeout should be 10 seconds by default and that seems long enough for any fax machine I've ever seen. I have a feeling that something else is wrong here - can you please get the "debug voice dialpeer all" for a call. I would like to check if we're hitting the right dial-peer.
Ivan
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: