cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

AMA-CUCM Troubleshooting: Best Practices for Reading Trace Files

173
Views
5
Helpful
3
Replies
Highlighted
Beginner

SIP registration question

Good Morning,

Just picked up an existing  CUBE, system is running OK, I am new to CUBE.
Do you know what are these two lines for ?  "phcn.vic.gov.au" is our SIP Realm.CUBE SIP-UA setting, Voice Gateways

registrar dns:phcn.vic.gov.au expires 3600
sip-server dns:phcn.vic.gov.au

 

thanks .

 

 

voice service voip
address-hiding
mode border-element
allow-connections sip to sip
fax protocol t38 nse version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
asserted-id pai
outbound-proxy dns:sbc-vic.nipt.telstra.com
asymmetric payload full
midcall-signaling passthru
privacy-policy passthru
sip-profiles 100

 

sip-ua
credentials username xx password xx realm phcn.vic.gov.au
authentication username xx  xx 
retry invite 2
retry response 3
retry bye 3
retry prack 6
retry register 2
timers expires 300000
registrar dns:phcn.vic.gov.au expires 3600
sip-server dns:phcn.vic.gov.au
connection-reuse
g729-annexb override

1 ACCEPTED SOLUTION

Accepted Solutions
Participant

Re: SIP registration question

"If we change the CUBE Ip address, it will auto register the new ip address to provider proxy."

Normally yes, most providers using authenticated trunks will use the address from which your gateway has registered.  It's possible that they have some additional control for example only allowing you to register from specific addresses. 

"I don't understand why "phcn.vic.gov.au" is used in "sip-server dns:phcn.vic.gov.au" ? Should it use sip-server dns: sbc-vic.nipt.telstra.com ? I can resolve sbc-vic.nipt.telstra.com to a valid ip address, but can't resolve phcn.vic.gov.au to a valid ip address, how does CUCE know what Ip address to make outgoing call ?"

That's the sip proxy function.   Your CUBE is configured to talk to a service called "phcn.vic.gov.au" but the configuration entry "outbound-proxy dns:sbc-vic.nipt.telstra.com" tells it to actually send it's signalling to the proxy address.

 

3 REPLIES 3
Rising star

Re: SIP registration question

Hi,

The configurations in the "sip-ua" are used for authentication and registration of the IOS gateway.

  • Used to register the gateway with phcn.vic.gov.au
sip-ua
 credentials username xxxxx password xxxxx realm phcn.vic.gov.au
 registrar dns:phcn.vic.gov.au expires 3600
!

 

  • Used to authenticate with phcn.vic.gov.au for outbound calls
sip-ua
 authentication username xxxxx password xxxxx
 sip-server dns:phcn.vic.gov.au
! 

 

Please rate helpful posts and if applicable mark "Accept as a Solution".
Thanks, Vaijanath S.
Beginner

Re: SIP registration question

Thanks Vaijanath,

Can you pls clarify whether my understanding is correct ?



For Provider inbound call to our CUCE :

Our CUBE using following lines to register our SIP realm "phcn.vic.gov.au" with CUBE interface ip "1.2.3.4" to provider proxy server "sbc-vic.nipt.telstra.com", thus provider can use ip "1.2.3.4" to call our SIP URI xxxx@phcn.vic.gov.au.

If we change the CUBE Ip address, it will auto register the new ip address to provider proxy.

--- configuration _

voice service voip

outbound-proxy dns:sbc-vic.nipt.telstra.com

sip-ua

credentials username xxxxx password xxxxx realm phcn.vic.gov.au

registrar dns:phcn.vic.gov.au expires 3600

------------

For Our CUBE outbound call to Provider:

I don't understand why "phcn.vic.gov.au" is used in "sip-server dns:phcn.vic.gov.au" ? Should it use sip-server dns: sbc-vic.nipt.telstra.com ? I can resolve sbc-vic.nipt.telstra.com to a valid ip address, but can't resolve phcn.vic.gov.au to a valid ip address, how does CUCE know what Ip address to make outgoing call ?



--- Configuration ---

dial-peer voice 60 voip

description ## outgoing tipt ##

destination-pattern .T

session target sip-server



voice service voip

outbound-proxy dns:sbc-vic.nipt.telstra.com

sip-ua

authentication username xxxxx password xxxxx

sip-server dns:phcn.vic.gov.au

-------


Participant

Re: SIP registration question

"If we change the CUBE Ip address, it will auto register the new ip address to provider proxy."

Normally yes, most providers using authenticated trunks will use the address from which your gateway has registered.  It's possible that they have some additional control for example only allowing you to register from specific addresses. 

"I don't understand why "phcn.vic.gov.au" is used in "sip-server dns:phcn.vic.gov.au" ? Should it use sip-server dns: sbc-vic.nipt.telstra.com ? I can resolve sbc-vic.nipt.telstra.com to a valid ip address, but can't resolve phcn.vic.gov.au to a valid ip address, how does CUCE know what Ip address to make outgoing call ?"

That's the sip proxy function.   Your CUBE is configured to talk to a service called "phcn.vic.gov.au" but the configuration entry "outbound-proxy dns:sbc-vic.nipt.telstra.com" tells it to actually send it's signalling to the proxy address.

 

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards