cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1209
Views
5
Helpful
2
Replies

COR List + Extension Mobility in SIP Devices

brunofalco
Level 1
Level 1

Hello people,

 

I´m trying to configure a environment with COR List and Extension Mobility using SIP Devices.

 

I know that this configuration is possible, and easy in SCCP Phones, because we configure the COR list in the Lines (ephone-dn).

About the SIP Devices, Such the cor list is configured in SIP Device, when I use the Extension Mobility I can not change the cor list (after logged in).

 

The idea is, when the Device is logged out, appear the DN 2011. After the login, the DN will be 2012.

When is logged out (2011), I can not make calls to mobile phone.

When is logged in (2012), I can make calls to mobile phone.

 

Is it possible?? 

 

Thank you!!

 

Bruno
 

voice register global
 mode cme
 source-address 192.168.15.1 port 5060
 max-dn 30
 max-pool 30
 load 8961 sip8961.9-2-2SR1-9.loads
 timezone 17
 time-format 24
 date-format D/M/Y
 url authentication http://192.168.15.1/CCMCIP/authenticate.asp name pass
 tftp-path flash:
 file text
 create profile sync 0002713292036859
 ntp-server 192.168.15.1 mode directedbroadcast
 camera
 video
!
voice register dn  1
 number 2011
 allow watch
 pickup-group 1
 name Bruno Falco - Logged Out
 label Bruno Falco - Logged Out
!
voice register dn  2
 number 2012
 allow watch
 pickup-group 1
 name Bruno Falco - Logged In
 label Bruno Falco - Logged In
!
voice register pool  1
 logout-profile 2
 id mac DCA5.F487.5ACC
 type 8961
 cor incoming CSS-Mobile default
 codec g711ulaw
!

voice logout-profile 2
 pin 12345
 user 2011 password 12345
 number 2011 type normal
 speed-dial 1 1111 label "SIP Logged Out" 

!
voice user-profile 2
 pin 666666
 user bfl password 12345
 number 2012 type normal
 speed-dial 1 2001 label "Logged In" 
!

dial-peer cor custom
 name Local
 name Mobile
 name DDI
!
dial-peer cor list CSS-Local
 member Local
!
dial-peer cor list CSS-Mobile
 member Local
 member Mobile
!
dial-peer cor list CSS-DDI
 member Local
 member Mobile
 member DDI
!
dial-peer cor list PT-Local
 member Local
!
dial-peer cor list PT-Mobile
 member Mobile
!
dial-peer cor list PT-DDI
 member DDI
!
dial-peer voice 10 voip
 corlist outgoing PT-Mobile
 description Calls to Mobile
 destination-pattern 9........
 session protocol sipv2
 session target ipv4:192.168.1.3
 session transport tcp
 voice-class codec 1  
 dtmf-relay rtp-nte
 no vad   
!         

 

 

1 Accepted Solution

Accepted Solutions

Hi,

I had similar issue few days ago, but I've found a workarounf. Leave COR config as it is, and then configure after hours. Under "telephony-service" configure after hours time, I've set that it is always "after hours" setup. Then you need to set which patterns are blocked during that time. In our configuration, we need to allow calls just to emergency services. Here are the commands:

after-hours block pattern 1 02T
 after-hours block pattern 2 03T
 after-hours block pattern 4 04T
 after-hours block pattern 5 05T
 after-hours block pattern 6 06T
 after-hours block pattern 7 07T
 after-hours block pattern 8 08T
 after-hours block pattern 9 09T
 after-hours block pattern 10 00T
 after-hours day Sun 12:00 12:00
 after-hours day Mon 12:00 12:00
 after-hours day Tue 12:00 12:00
 after-hours day Wed 12:00 12:00
 after-hours day Thu 12:00 12:00
 after-hours day Fri 12:00 12:00
 after-hours day Sat 12:00 12:00

This affects all DNs, so you have to add "after-hour exempt" command to "logged-in" DN.

 

Best Regards,

Nikola

 

View solution in original post

2 Replies 2

Hi,

I had similar issue few days ago, but I've found a workarounf. Leave COR config as it is, and then configure after hours. Under "telephony-service" configure after hours time, I've set that it is always "after hours" setup. Then you need to set which patterns are blocked during that time. In our configuration, we need to allow calls just to emergency services. Here are the commands:

after-hours block pattern 1 02T
 after-hours block pattern 2 03T
 after-hours block pattern 4 04T
 after-hours block pattern 5 05T
 after-hours block pattern 6 06T
 after-hours block pattern 7 07T
 after-hours block pattern 8 08T
 after-hours block pattern 9 09T
 after-hours block pattern 10 00T
 after-hours day Sun 12:00 12:00
 after-hours day Mon 12:00 12:00
 after-hours day Tue 12:00 12:00
 after-hours day Wed 12:00 12:00
 after-hours day Thu 12:00 12:00
 after-hours day Fri 12:00 12:00
 after-hours day Sat 12:00 12:00

This affects all DNs, so you have to add "after-hour exempt" command to "logged-in" DN.

 

Best Regards,

Nikola

 

Hi Nikola,

 

Tks for your replay.

I agree with you.
I have needed to use this commands to solve this "issue".

 

Regards,

Bruno