Asterisk 13 PJSIP with FOP 2.30.06

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

Comments

  • 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,
  • The extension button in fop2 with pjsip always stay green even if the endpoints isn't connected. What can I do to fix it ?
  • You mean the sip peer registration status? Do you see call activity (red for busy, green for not busy)?
  • 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
  • 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,
Sign In or Register to comment.