06-27-2013 10:21 AM - edited 03-16-2019 06:07 PM
Hi there
I've just upgraded to a new IOS in order to set up 2 SIP trucks, does anyone have a sample config I could have a look at, I presume I need to change the current config setup in order to authenticate multiple SIPs? any insights much appreciated.
This is what I have currently:-
sip-ua
authentication username XXXXXXXXX password 7 XXXXXXXX
no remote-party-id
set pstn-cause 6 sip-status 503
set pstn-cause 18 sip-status 408
set pstn-cause 27 sip-status 502
set pstn-cause 31 sip-status 480
set pstn-cause 44 sip-status 503
set pstn-cause 58 sip-status 503
set pstn-cause 88 sip-status 503
set pstn-cause 95 sip-status 503
set pstn-cause 102 sip-status 504
set pstn-cause 111 sip-status 500
retry invite 4
retry response 3
retry bye 2
retry cancel 2
retry register 10
timers trying 1000
timers connect 100
timers register 250
registrar dns:sipgate.co.uk expires 3600
sip-server dns:sipgate.co.uk
Solved! Go to Solution.
06-27-2013 12:42 PM
Try to use like this example:
sip-ua
credentials username 37373737373 password 7 00000000000000000000 realm sip.fongo.com
credentials username username password 7 00000000000000000000 realm sip.voipdiscount.com
authentication username username password 7 0000000000000000000000000 realm sip.voipdiscount.com
no remote-party-id
srv version 1
retry invite 3
retry register 10
timers register 150
registrar 1 dns:sip.voipdiscount.com expires 3600
registrar 2 dns:sip.fongo.com expires 3600
sip-server dns:sip.voipdiscount.com
host-registrar
dial-peer voice 12 voip
translation-profile outgoing International
destination-pattern 9011T
session protocol sipv2
session target dns:sip.voipdiscount.com (Provider #1)
dtmf-relay rtp-nte
codec g711ulaw
no vad
dial-peer voice 911 voip
translation-profile outgoing Emergency
destination-pattern 111
session protocol sipv2
session target dns:sip.fongo.com (Provider #2)
dtmf-relay rtp-nte
codec g711ulaw
no vad
You'll find further information on
06-27-2013 11:28 AM
You can have only single pointer under sip-ua but if your IOS is 15.1 or greater you can add additional pointers to different Sip trunk at the dial-peer level.
Chris
Sent from Cisco Technical Support iPhone App
06-27-2013 12:42 PM
Try to use like this example:
sip-ua
credentials username 37373737373 password 7 00000000000000000000 realm sip.fongo.com
credentials username username password 7 00000000000000000000 realm sip.voipdiscount.com
authentication username username password 7 0000000000000000000000000 realm sip.voipdiscount.com
no remote-party-id
srv version 1
retry invite 3
retry register 10
timers register 150
registrar 1 dns:sip.voipdiscount.com expires 3600
registrar 2 dns:sip.fongo.com expires 3600
sip-server dns:sip.voipdiscount.com
host-registrar
dial-peer voice 12 voip
translation-profile outgoing International
destination-pattern 9011T
session protocol sipv2
session target dns:sip.voipdiscount.com (Provider #1)
dtmf-relay rtp-nte
codec g711ulaw
no vad
dial-peer voice 911 voip
translation-profile outgoing Emergency
destination-pattern 111
session protocol sipv2
session target dns:sip.fongo.com (Provider #2)
dtmf-relay rtp-nte
codec g711ulaw
no vad
You'll find further information on
06-27-2013 10:54 PM
That's really great thanks. Why is it you need to specify credentials in two different forms for relm ip.voipdiscount.com and not for relm sip.fongo.com ? :-
credentials username username password 7 00000000000000000000 realm sip.voipdiscount.com
authentication username username password 7 0000000000000000000000000 realm sip.voipdiscount.com
06-28-2013 07:05 AM
I'll find it out before answer that to you - I don't know either.
06-28-2013 11:41 PM
Hi
I will have a second SIP account on Monday and will play around with the two commands to see if they are both needed : )
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide