Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

conf to switch from CUCME to Asterisk

Help
germanium
2014-04-02
2014-04-04
  • germanium
    germanium
    2014-04-02

    Hi,
    the sccp.conf samples are not clear enough for a beginner to understand how it translates from Cisco configuration. I already know a bit of Asterisk (bare text config files, running on FreeBSD, not GUI distro) and have already used it with a few SIP trunks, then switched back one of them to the sip-ua of my Cisco router to be able to receive calls to my main number if Asterisk is down... now I would like to remove the Cisco totally. What should be written in sccp.conf and changed in exensions.conf to have the same behavior as with the following Cisco config ?
    Thanks for directions.
    !
    dial-peer voice 10 voip
    destination-pattern [23]..
    session protocol sipv2
    session target ipv4:IP_OF_ASTERISK
    session transport udp
    dtmf-relay rtp-nte
    codec g711alaw
    no vad

    dial-peer voice 20 voip
    destination-pattern 0[123456789]........
    session protocol sipv2
    session target sip-server
    session transport udp
    dtmf-relay rtp-nte
    codec g711alaw
    no vad

    ephone-dn 1 dual-line
    number 00XXXXXXXXXXXX
    name myprimaryITSP
    allow watch
    call-forward busy 200
    call-forward noan 201 timeout 30
    no huntstop
    mwi-type visual
    mwi sip

    ephone-dn 2
    number 401
    name localnumber1
    allow watch
    call-forward busy 202
    call-forward noan 203 timeout 30
    no huntstop
    mwi-type visual
    mwi sip

    ephone-dn 3
    number 402
    name mysecondaryITSP
    allow watch
    call-forward busy 204
    call-forward noan 205 timeout 30
    no huntstop
    mwi-type visual
    mwi sip

    ephone-dn 4
    number 403
    name localnumber3
    allow watch
    call-forward busy 206
    call-forward noan 207 timeout 30
    mwi-type visual
    mwi sip

    ephone-dn 12
    number 404
    description intercom1
    intercom 405 label "bedroom"

    ephone-dn 14
    number 405
    description intercom2
    intercom 404 label "basement"

    ephone 1
    no multicast-moh
    device-security-mode none
    mac-address 0021.A0DA.07DB
    presence call-list
    type 7941
    button 1:1 2o2,12

    ephone 2
    no multicast-moh
    device-security-mode none
    mac-address 001C.58FB.8C35
    presence call-list
    type 7941
    button 1:1 2o2,14

    ephone 3
    no multicast-moh
    device-security-mode none
    mac-address 0019.567E.9B37
    presence call-list
    type 7961
    button 1:1 2:2 3:3 4:4
    button 5:12 6:14

    ephone 4
    no multicast-moh
    device-security-mode none
    mac-address 0024.54DE.5912
    presence call-list
    type CIPC
    button 1:1 2:2 3:3 4:4
    button 5:12 6:14

     
    • Hi Germanium,

      I guess the best person to ask at this moment, would be Pete Brown. He is currently writing a CUCM -> chan-sccp-b converter.

      Have you checked out our documentation at:

      Don't expect a 100% matching answer to questions like these though. Just like cucm has a learning curve, so does asterisk and chan-sccp-b. You can't expect all the "homework" to be done for you :-).

      Regards,

      Diederik

      On 03-04-14 00:33, germanium wrote:

      Hi,
      the sccp.conf samples are not clear enough for a beginner to understand how it translates from Cisco configuration. I already know a bit of Asterisk (bare text config files, running on FreeBSD, not GUI distro) and have already used it with a few SIP trunks, then switched back one of them to the sip-ua of my Cisco router to be able to receive calls to my main number if Asterisk is down... now I would like to remove the Cisco totally. What should be written in sccp.conf and changed in exensions.conf to have the same behavior as with the following Cisco config ?
      Thanks for directions.
      !
      dial-peer voice 10 voip
      destination-pattern [23]..
      session protocol sipv2
      session target ipv4:IP_OF_ASTERISK
      session transport udp
      dtmf-relay rtp-nte
      codec g711alaw
      no vad

      dial-peer voice 20 voip
      destination-pattern 0[123456789]........
      session protocol sipv2
      session target sip-server
      session transport udp
      dtmf-relay rtp-nte
      codec g711alaw
      no vad

      ephone-dn 1 dual-line
      number 00XXXXXXXXXXXX
      name myprimaryITSP
      allow watch
      call-forward busy 200
      call-forward noan 201 timeout 30
      no huntstop
      mwi-type visual
      mwi sip

      ephone-dn 2
      number 401
      name localnumber1
      allow watch
      call-forward busy 202
      call-forward noan 203 timeout 30
      no huntstop
      mwi-type visual
      mwi sip

      ephone-dn 3
      number 402
      name mysecondaryITSP
      allow watch
      call-forward busy 204
      call-forward noan 205 timeout 30
      no huntstop
      mwi-type visual
      mwi sip

      ephone-dn 4
      number 403
      name localnumber3
      allow watch
      call-forward busy 206
      call-forward noan 207 timeout 30
      mwi-type visual
      mwi sip

      ephone-dn 12
      number 404
      description intercom1
      intercom 405 label "bedroom"

      ephone-dn 14
      number 405
      description intercom2
      intercom 404 label "basement"

      ephone 1
      no multicast-moh
      device-security-mode none
      mac-address 0021.A0DA.07DB
      presence call-list
      type 7941
      button 1:1 2o2,12

      ephone 2
      no multicast-moh
      device-security-mode none
      mac-address 001C.58FB.8C35
      presence call-list
      type 7941
      button 1:1 2o2,14

      ephone 3
      no multicast-moh
      device-security-mode none
      mac-address 0019.567E.9B37
      presence call-list
      type 7961
      button 1:1 2:2 3:3 4:4
      button 5:12 6:14

      ephone 4
      no multicast-moh
      device-security-mode none
      mac-address 0024.54DE.5912
      presence call-list
      type CIPC
      button 1:1 2:2 3:3 4:4
      button 5:12 6:14


      conf to switch from CUCME to Asterisk


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/chan-sccp-b/discussion/652060/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
      Attachments
      • germanium
        germanium
        2014-04-04

        The sccp.conf examples are most confusing in their buttons definition: there is one section with five 'button=' lines for a 7940 + 7914 (two line buttons on phone and many more on sidecar, but it does not tell which physical buttons are configured); and another section with 10 'button=' lines for a 7960 that only has 6 line buttons.
        What is needed is a documentation of the mapping between lines/hints/speeddials and round buttons on the side of phone display (top to bottom numbered).

         
        • Am Freitag, 4. April 2014, 10:53:21 schrieben Sie:

          The sccp.conf examples are most confusing in their buttons definition: there is one section with five 'button=' lines for a 7940 + 7914 (two line buttons on phone and many more on sidecar, but it does not tell which physical buttons are configured); and another section with 10 'button=' lines for a 7960 that only has 6 line buttons.
          What is needed is a documentation of the mapping between lines/hints/speeddials and round buttons on the side of phone display (top to bottom numbered).

          each

          button=....

          in sccp.conf device section, is on button on the phone (top to bottom)
          You can add as many button definition in sccp.conf as you like, we only use the number of buttons the device can handle.


          conf to switch from CUCME to Asterisk


          Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/chan-sccp-b/discussion/652060/

          To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/