cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
650
Views
0
Helpful
1
Replies

sip proxy server authentication error in cisco 2811

ronin
Level 1
Level 1

i all 

I have a CIsco 2811 and I m about to configure a sip trunk to my sip-provider

when I try to register my sip trunk on Elastix-ip-pbx it is all ok with this config

_________________________________________________________-

"in peer details" : 

     host=77.81.91.23
    type=friend
    fromdomain=tr.xone
    fromuser=number
    defaultuser=number
    secret=password
    insecure=invite,port

    disallow=all
    allow=ulaw,alaw,g729
    qualify=yes

 

"and in register string " :

       2191033445@tr.xone:password@77.81.91.23/2191033445

______________________________________________-

 

but unfortunately I can not register this sip trunk on cisco router 

do you know how should I change my configuration  in order to register my sip trunk successfully? 

here is my configuration 

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot system flash:c2800nm-ipvoicek9-mz.151-3.T.bin
boot-end-marker
!
!
!
no aaa new-model
clock timezone utc 3 30
network-clock-participate wic 2
!
dot11 syslog
ip source-route
!
!
ip cef
!
!
!
ip name-server 4.2.2.4
ip name-server 8.8.8.8
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-net5
!
!
!
voice service voip
ip address trusted list
ipv4 77.81.91.23
allow-connections sip to sip
sip
min-se 300 session-expires 300
registrar server
outbound-proxy ipv4:77.81.91.23
early-offer forced
registration passthrough
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729r8
codec preference 4 g722-64
!
!
!
voice-card 0
!
crypto pki token default removal timeout 0
!
!
!
!
license udi pid CISCO2811 sn FHK1307F04U
!
!
controller E1 0/2/0
clock source internal
pri-group timeslots 1-31
!
controller E1 0/2/1
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.19.10 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 51.168.2.213 255.255.255.240
duplex auto
speed auto
!
interface Serial0/2/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn timer T310 120000
isdn protocol-emulate network
isdn incoming-voice voice
no cdp enable
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 51.168.2.209

!
!
!
control-plane
!
!
voice-port 0/2/0:15
!
!
!
mgcp profile default
!
!
dspfarm profile 1 mtp
codec g711ulaw
codec pass-through
maximum sessions software 10
associate application SCCP
!
dial-peer voice 1 pots
destination-pattern 2191033445
port 0/2/0:15
forward-digits all
!
dial-peer voice 2 voip
session protocol sipv2
session target ipv4:77.81.91.23
incoming called-number .T
voice-class codec 1
voice-class sip profiles 1
dtmf-relay sip-kpml sip-notify rtp-nte h245-alphanumeric h245-signal
!
!
sip-ua
credentials number 2191033445 username 2191033445 password 7 0354495F5407321518 realm 2191033445
authentication username 2191033445 password 7 1447005F5E0C397272
retry invite 8
registrar ipv4:77.81.91.23 expires 3600 auth-realm 77.104.118.34
sip-server ipv4:77.81.91.23
host-registrar
!
!
telephony-service
max-ephones 1
max-dn 1
max-conferences 8 gain -6
transfer-system full-consult
!
!
!
line con 0
line aux 0
line vty 0 4
login local
transport input telnet
line vty 5 15
login local
transport input telnet
!

 

_____________________________________-

thanks in advance 

 

1 Reply 1

You realm should be tr.xone which should resolve to your provider. Why are
you using 2191033445 as realm