Skip to main content

Thirdlane Support Cisco Side Car?

Posted by schat@schat.net on Thu, 03/28/2013

I found these directions for setting up the Cisco Side car to work in Asterisk.
But I noticed that it edits the sip.conf and extensions.conf
If I add the following changes will it work with Thirdlane and will the changes get erased if I make any changes in thirdlane via the GUI?
Thank you for the help,

Configuring Asterisk for a SPA500S
Before you configure your Asterisk server for the SPA5xx IP phone, you need to decide which extensions the SPA500S will monitor.
In this example, existing extension 5251 will be monitored by the SPA500S.
Configuring the Asterisk Server
In order to configure the Asterisk server to support the SPA500S you must edit the sip.conf and the extensions.conf files.
The sip.conf File
Following is a sample of the minimum sip.conf content to support a SPA500S monitoring extension 5251:
[general]


;
;SPA500S specific edits #1 start here
allowsubscribe=yes ;allow SPA500S to subscribe to extension status
notifyringing=yes ;notify SPA500S when phones ring
limitonpeer=yes ; notify SPA500S of device status via SIP subscriptions
notifyhold=yes ; notify SPA500S of call hold state
;SPA500S specific edits #1 end here
;


;
[5251]
type=friend
nat=no
secret=5251secret
context=PhoneUsers
host=dynamic
regext=5251
;SPA500S specific edits #2 start here
subscribecontext=PhoneUsers ; look for hint in PhoneUsers context
call-limit=10 ; required to allow Asterisk to properly track ext status
callgroup=1 ; assign to call group so SPA500S can pickup calls
pickupgroup=1 ; allow SPA500S to pick up calls
;SPA500S specific edits #2 end here
;


; eof
The extensions.conf File
Following is a sample of the minimum extensions.conf content to support a SPA500S monitoring extension 5251:


[PhoneUsers]


exten => 5251,1,Dial(SIP/5251,10,rT) ;inbound calls ring for 10 secs
;SPA500S specific edits #3 start here
exten => 5251,hint,SIP/5251 ; monitor ext and report to SPA500S
;SPA500S specific edits #3 end here
exten => 5251,2,VoiceMail(5251@default,u) ; voicemail if unanswered
exten => 5251,3,hangup
exten => 95251,1,VoiceMailMain(5251) ;mailbox access for extension
;
;


; eof
Loading the Modified Asterisk Configuration Files
1. Connect to the Asterisk console:
$ sudo asterisk –r
*CLI>
2. Use the reload command to load the changed configuration:
*CLI> module reload
This completes the Asterisk server configuration. You must now configure the SPA 5xx IP phone.