cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5419
Views
5
Helpful
7
Replies

How Does a SIP Trunk Dial-Peer Use a Registrar?

tod.higman
Level 1
Level 1

Hello all,

I am setting up a CME using dual registrations.  With the generous help of people on this forum I have gotten the dual registrations to work.  But now I need to know how to set up the dial-peer to use the registration information.  For example, I have this set up:

sip-ua

authentication username 5555555555 password 7 08114342101A0A1A43

...

registrar 1 ipv4:11.11.11.11:6034 expires 3600

registrar 2 ipv4:22.22.22.22:6035 expires 3600

How do I set up a dial-peer to send traffic to one of the registrations?  I've tried this, and it does not work:

dial-peer voice 105 voip

description **Outgoing Call to SIP Trunk**

translation-profile outgoing PSTN_Outgoing

destination-pattern 91%...........

session protocol sipv2

session target registrar   ????WHAT DO I USE HERE???

voice-class codec 2 

dtmf-relay rtp-nte

no vad

Thanks in advance.

2 Accepted Solutions

Accepted Solutions

Hi Tod,

Kindly go through this post, hope it answers your question:

http://tekcert.com/blog/2011/02/03/cme-configuration-example-sip-trunks-viatalk-and-voipms

Rate the post accordingly.

Regards,

Kevin

View solution in original post

Tod,

you should use two different dial-peers and configure options ping on them When any of the links to the dial-peer is down, the dial-peer will be shutdown, hence there is no delay whatsoever

Please rate all useful posts

"The essence of christianity is not the enthronement but the obliteration of self --William Barclay"

Please rate all useful posts

View solution in original post

7 Replies 7

Kevin Monteiro
Level 7
Level 7

Hi Tod,

The "session target registrar "  point to the SIP-TRUNK to the PSTN, as detailed exaplaination:

session target (VoIP dial peer)

To designate a network-specific address to receive calls from a VoIP or VoIPv6 dial peer, use the session target command in dial peer configuration mode. To reset to the default, use the no form of this command.

A ideal situation would be to use session target ipv4: of the ITSP:

dial-peer voice 105 voip

description **Outgoing Call to SIP Trunk**

translation-profile outgoing PSTN_Outgoing

destination-pattern 91%...........

session protocol sipv2

session target ipv4:11.11.11.11:6034 <<(1st SIP-TRUNK)

voice-class codec 2 

dtmf-relay rtp-nte

no vad

dial-peer voice 106 voip

description **Outgoing  2ND Call to SIP Trunk**

translation-profile outgoing PSTN_Outgoing

destination-pattern 91%...........

session protocol sipv2

session target ipv4:22.22.22.22:6035 <<(2ND SIP-TRUNK)

voice-class codec 2 

dtmf-relay rtp-nte

no vad

Rate the post accordingly.

Regards,

Kevin

Thanks for the quick reply Kevin.

My concern with using the two dial-peers and specific IP addresses is that if one of the trunks is down, there will always be a post dial delay while the CME fails over to the next dial-peer, correct?  I was hoping to find a way to avoid that.

Hi Tod,

Kindly go through this post, hope it answers your question:

http://tekcert.com/blog/2011/02/03/cme-configuration-example-sip-trunks-viatalk-and-voipms

Rate the post accordingly.

Regards,

Kevin

 

Tod,

you should use two different dial-peers and configure options ping on them When any of the links to the dial-peer is down, the dial-peer will be shutdown, hence there is no delay whatsoever

Please rate all useful posts

"The essence of christianity is not the enthronement but the obliteration of self --William Barclay"

Please rate all useful posts

Good stuff +5

Regards,

Yosh

HTH Regards, Yosh

Yes.  Thanks for the timely info.  It is much appreciated.