cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
320
Views
0
Helpful
2
Replies

Sip trunk registrar, coming calls error 404

merahamza7494
Level 1
Level 1

hello everyone, with the following config, we are able to make calls but can't recieve with error 487 (timedout), the odd thing is that when we delete the outboundproxy, the calls IN passe normaly till registration times out, any idea of what possibly can produce this phenomenon ?

We have a C881 as CME, with following configs:

 

 

 

voice class codec 1
codec preference 1 g729br8
codec preference 2 g729r8
codec preference 3 g711alaw
!
voice class sip-profiles 1
request REGISTER sip-header WWW-Authenticate modify "response=\"\",nonce=\"\"" "response=\"2342f17faba6b2aa668030fd60a94690\",nonce=\"BroadcoreXhyvht82kTqeadcgBW\",cnonce=\"037CFE8\",qop=auth,algorithm=MD5,nc=00000001"
request REGISTER sip-header Authorization modify "response=\"\",nonce=\"\"" "response=\"2342f17faba6b2aa668030fd60a94690\",nonce=\"BroadcoreXhyvht82kTqeadcgBW\",cnonce=\"037CFE8\",qop=auth,algorithm=MD5,nc=00000001"
!
!
!
voice register global
mode cme
source-address 192.168.50.1 port 5060
max-dn 50
max-pool 24
authenticate register
!
voice register dn 1
number 1210
name 1210
no-reg
!
voice register dn 2
number 1211
name 1211
no-reg
!
voice register pool 1
id mac xxxxxxxxxxxxxxxx
number 1 dn 1
voice-class codec 1
username xxxx password xxxxxxxxx
!
voice register pool 2
id mac 0015.65F8.BEA5
number 1 dn 2
voice-class codec 1
username xxxx password xxxxxxxxx
!
!
voice translation-rule 100
rule 1 /00213983015260/ /1210/
rule 2 /0982200007/ /1210/
rule 3 /00213983015261/ /1211/
!
voice translation-rule 200
rule 1 /1210/ /00213983015260/
rule 2 /1211/ /00213983015261/
!
!
voice translation-profile IN
translate called 100
!
voice translation-profile OUT
translate calling 200

 

 

dial-peer voice 904 voip
translation-profile outgoing OUT
destination-pattern 0[2,3,4,5,6,7,8,9].T
session protocol sipv2
session target ipv4:xx.xx.xx.xx:5083
voice-class codec 1
dtmf-relay sip-notify rtp-nte
!
dial-peer voice 902 voip
translation-profile incoming IN
session protocol sipv2
session target ipv4:xx.xx.xx.xx:5083
incoming called-number .%
voice-class codec 1
dtmf-relay sip-notify rtp-nte
!
!
sip-ua
credentials username 1d9qs6bdsab137f password 7 00121C0F1dzf7055D711D16 realm site2.test.dz
authentication username 1d9qs6bdsab137f password 7 00121C0F1dzf7055D711D16 realm site2.test.dz
no remote-party-id
retry invite 2
retry register 10
timers connect 100
registrar dns:site2.test.dz:5083 expires 3600 auth-realm site2.test.dz
connection-reuse via-port

 

1 Accepted Solution

Accepted Solutions

Hello, it seems the following has done the trick:
--------------------------
#voice register global
#no outbound-proxy
--------------------------
thank you for your fast reply, the outbound-proxy was apperently forcing the check to be redirected to the proxy server instead of making local translation-rule !!
best regards,
Hamza,

View solution in original post

2 Replies 2

bichacko
Cisco Employee
Cisco Employee
Would you be able to paste a sample of a disconnect that you receive?


Bijo

Hello, it seems the following has done the trick:
--------------------------
#voice register global
#no outbound-proxy
--------------------------
thank you for your fast reply, the outbound-proxy was apperently forcing the check to be redirected to the proxy server instead of making local translation-rule !!
best regards,
Hamza,