Vega 50 Forwarding Issue

Hi Spencer,
Im a Sangoma Customer Engineer, I would like to try and help you with this issue.

Both Tony and Ernesto have provided next steps that we should try, but I would like to try and add some more information.

The Gateway function and the resilient proxy function (ENP) operate independently, it is worth noting that ENP does operate as a Forwarding Proxy unless Trunking is involved.

As long as you are making simple extension to extension calling from the Grandstreams through ENP then this call flow should work and I have seen this working with multiple vendors, that said I believe all my personal testing would have been with chan_sip not PJsip.

I dont see any Vega logging and the Vega config extract isnt complete, I cant really make an informed judgement as to whether the Vega is misbehaving without these, that said:

I would like to echo Tony’s request to try chan_sip again. While I dont really read asterisk logging I think some of the lines suggest that the Invite from the Grandstream (after ENPs 302) might not be being processed by pjsip.

  • From Tonys comment the reason for chansip not working might be due to a mismatch of actual sip listen port used by the extension in FreePBX and the port that ENP is actually sending to (eg ext using chan_sip but ENP still sending to the pjsip port)
  • I think you could fix this one of two two ways:
    1> either in the FreePBX Asterisk SIP settings section exchanging ports used by pjsip/chan_sip (they can not be bound to the same port)
    2> or by changing the extension to use chan_sip, and then changing ENP to use the chan_sip listening port
    Vega > Expert Config>ENP setting> SIP ISTP Proxies>Port(in the ITSP table)
    FreePBX> Settings>Asterisk SIP Settings>chan sip settings>Advanced General Settings>Bind Port

If moving to chan_sip and verifying that the correct sip ports are being used still doesnt give us a working system I would like to ask if you can collect a full set of Vega traces and show support (we have a guide for - link below) and an asterisk log output for the test call between the extensions.

http://wiki.sangoma.com/Vega-Troubleshooting-Information

I am happy to keep working through this forum thread but I know you have concerns for security due to sharing passwords over config files etc, in this case I would like to suggest we use a Support Ticket where you can share the logs and configuration files securely, I would create but need an email address to contact you.

Please let us know how you get on