Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Asterisk 13 PJSIP with FOP 2.30.06

Asterisk 13 PJSIP with FOP 2.30.06

Scheduled Pinned Locked Moved Support
6 Posts 2 Posters 550 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    C
    clinnovations
    wrote on last edited by
    #1

    I would like to know if it is possible to run fop2 latest version with asterisk 13 with pjsip ? I'm using a vanilla installation.

    [SIP/100]
    type=extension
    extension=100

    when I try to use pjsip it make the button disappear

    [PJSIP/100]
    type=extension
    extension=100

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      Works fine with pjsip, but your button definition might be wrong, you must define always extension, context and label for a button to show, not matter if its sip or pjsip.

      Also, if you use any kind of filtering group, you will have to adapt/change the channel there also.

      Best regards,

      1 Reply Last reply
      0
      • C
        C
        clinnovations
        wrote on last edited by
        #3

        The extension button in fop2 with pjsip always stay green even if the endpoints isn't connected. What can I do to fix it ?

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #4

          You mean the sip peer registration status? Do you see call activity (red for busy, green for not busy)?

          1 Reply Last reply
          0
          • C
            C
            clinnovations
            wrote on last edited by
            #5

            Well when I log in fop2 and after that I restart asterisk the button show correctly if they are connected they show green if not the button are faded.

            But right not when I log in Fop2 they all show green even if the extension isn't connected.

            Yes, I do see call activity when i make call. red for busy, green for not busy

            1 Reply Last reply
            0
            • N
              N
              nicolas
              wrote on last edited by
              #6

              In that case, you can start FOP2 in debug mode and capture events to see if you have Peer registration events in PJSIP. Maybe there are no such events, or maybe they are different to the chan_sip ones and FOP2 needs to be updated to support them... if you can make a test try this:

              service fop2 stop
              cd /usr/local/fop2
              script capture.log
              ./fop2_server -X 1

              At this point FOP2 will start and you will see output with AMI events on the console. Then log to FOP2 with your browser and check sip status. Then fire up some soft phone and register to Asterisk, then unregister (that should fire some AMI events about the SIP device status). Then stop capturing and resume normal FOP2 by issuing these commands:

              ctrl-C
              exit
              service fop2_start

              You will then end up with a capture.log file that I can inspect for such registration events. You can send that file via email to nicolas at house dot com dot ar or post it here (although it might contain some information that you might want to not publish in a public forum).

              Best regards,

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              Powered by NodeBB Contributors
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups