Event on the wrong trunk
-
Hello, Could somebody help me. We have 4 trunks from the same ip(4-ports GSM-gateway). All trunks on the FOP2 - Version 2.31.05, FreePBX 13 and asterisk 13. I've configured different DID from every trunk. All Trunks have the following settings:
secret=pass context=from-trunk type=friend username=name1 insecure=port,invite canreinvite=no dtmfmode=rfc2833 host=dynamic port=5060 disallow=all allow=ulaw&alaw qualify=yes nat=noBut when incoming call is coming, Fop panel display event at the same trunk. Even if call goes from trunk1, trunk3 or trunk4 fop2 show incoming call at the trunk2, or sometimes show it randomly.
-
FOP2 monitor devices (SIP/xxx.xxx.xxx or SIP/somename). It does not know anything about DIDs.
If calls to/from your trunks all have the same device name, then you won't be able to discern them with FOP2, even if they go to different routes based on the DNID (as that logic is set on the dialplan, while the device name is always the same).
So, unless you can configure Asterisk to use different device names for your trunks, you won't be able to monitor them uniquely with FOP2.
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