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=100when I try to use pjsip it make the button disappear
[PJSIP/100]
type=extension
extension=100 -
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 ?
-
-
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 1At 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_startYou 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,
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