Google Voice Motif on FOP2
-
Hi, I have been trying to setup a trunk with the Freepbx module Motif for GV incoming and outgoing calls but I have not been successful. Here is my setup:
root@incrediblepbx:~# /usr/local/fop2/fop2_server -v
fop2_server version 2.27Incredible PBX 3.11.7 for Raspberry Pi
Ast 11.3.0-rc1 FreePBX 2.11.0.10Tried this:
[Motif/gtechgurugmailcom/$OUTNUM$@voice.google.com]
type=trunk
label=9542000003And this:
[Motif/gtechgurugmailcom]
type=trunk
label=9542000003And this:
[Motif/gtechgurugmailcom]
type=trunk
label=9542000003
channel=Gtalk/voice.google.comAnd this:
[Motif/gtechgurugmailcom]
type=trunk
label=9542000003
channel=Motif/voice.google.comAnd only this works which is not a good solution:
[Motif/+19541237777]
type=trunk
label=9542000003
channel=Motif/voice.google.comroot@incrediblepbx:~# asterisk -rx "core show channels concise"
Motif/+19541237777-1f03!im-techgurugmailcom!s!9!Ring!Wait!1!9541237777!!!3!0!(None)!1390666895.221
root@incrediblepbx:~# asterisk -rx "core show channels concise"
Motif/+19541237777-1f03!macro-vm!s-CHANUNAVAIL!2!Up!VoiceMail!1000@default,u!9541237777!!!3!7!(None)!1390666895.221 -
FOP2 monitor channel names, so the only way will work if by using the actual device name when you have a call. If the channel driver does not use the typical convention (TECH/name-session), then it won't work well. And I won't make patches to FOP2. It is better for the channel driver to follow conventions.
-
Okay thank you very much.
For the (TECH/name-session), in my example
Motif/+19541237777-1f03!im-techgurugmailcom!s!9!Ring!Wait!1!9541237777!!!3!0!(None)!1390666895.221
mine would be (Motif/+19541237777-1f03), correct. I saw that the auto button config scrip gave me these lines for my trunks:
[Motif/gtechgurugmailcom/$OUTNUM$@voice.google.com]can the $OUTNUM$ pass the variable cid# somehow to use in my (TECH/name-session), something like this:
(TECH/$OUTNUM$-session), it may be good to monitor incomming calls even if they all come in through on the same button.This is just an idea, if not possible I'm not too worried about it, im May I'm gonna have to switch to SIP trunk anyway.
-
If you want to monitor activity with that name, the channel in fop2 must be:
Motif/+19541237777
Channels in fop2 are static, you cannot have loose matches as it adds too much load for no real benefit. So, the custom name you see in [] is unmodifiable but you can go to the fop2 buttons page and set the channel filed to be the above.
But as the "name" is a number that is probably dialed and it will probably vary from call to call, then it is not much point on having it that way.
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