cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3930
Views
3
Helpful
5
Replies

Moving from one SIP UA config to two

gkonheiser
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

leandro.brito
Level 1
Level 1

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

https://supportforums.cisco.com/thread/2179400

View solution in original post

5 Replies 5

Chris Deren
Hall of Fame
Hall of Fame

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

leandro.brito
Level 1
Level 1

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

https://supportforums.cisco.com/thread/2179400

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

I'll find it out before answer that to you - I don't know either.

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 : )