Hi all,
I’m having an issue which may be caused by our Vega 50. I have several Grandstream phones using the Vega as a proxy to the FreePBX server. The Vega is configured to be in Forward To ITSP mode, so it is caching SIP registrations.
The problem is that when one extension configured to use the Vega as outboundy proxy calls another extension configured to use the Vega as outboundy proxy, the call goes immediately to voicemail and Asterisk shows “Everyone is busy/congested at this time”. If either phone is NOT configured to use the Vega, the call goes through normally. Calls to other destinations such as park slots or conference lines go through fine.
I did a factory reset on the Vega (firmware R088S055) and changed ONLY the following settings, just to see if something had been changed. The problem persists after doing this. I’ve removed certain values for security.
set lan.name [Deleted]
set quick.voip.proxy.outbound_proxy_addr 127.0.0.1
set quick.voip.proxy.proxy_addr [Deleted]
set quick.voip.proxy.proxy_domain_name [Deleted]
set quick.voip.proxy.outbound_proxy_port 6060
set quick.voip.useoutbound "Yes"
set quick.country US
set sipproxy.rx_port 6060
set sipproxy.realm [Deleted]
set sipproxy.mode forward_to_itsp
set sipproxy.itsp_proxy.1.enable 1
set sipproxy.itsp_proxy.1.ipname [Deleted]
set sipproxy.itsp_proxy.1.port 5060
set sipproxy.trust.1.enable 1
set sipproxy.trust.1.ipmin [Deleted]
set sipproxy.trust.1.ipmax [Deleted]
set lan.if.1.use_dhcp 0
set lan.if.1.ip [Deleted]
set lan.if.1.subnet 255.255.255.0
set lan.gateway.ip [Deleted]
set dns.1.ip [Deleted]
set ntp.ip pool.ntp.org
set sip.profile.1.reg_domain [Deleted]
set sip.profile.1.proxy.1.enable 1
set sip.profile.1.proxy.1.ipname 127.0.0.1
set sip.profile.1.proxy.1.port 6060
set sip.profile.1.registrar.1.enable 0
set sip.profile.1.registrar.1.ipname 127.0.0.1
set sip.profile.1.registrar.1.port 6060
set planner.profile.23.plan.1.srce IF:99..,TEL:9<(.*)>
set planner.profile.23.plan.2.srce IF:99..,TEL:9<(.*)>
set planner.profile.23.plan.3.srce IF:99..,TEL:9<(.*)>
set planner.profile.23.plan.4.srce IF:99..,TEL:9<(.*)>
set planner.profile.20.plan.1.dest IF:9901,TEL:[ext]
set planner.profile.20.plan.2.dest IF:9901,TEL:[ext]
set planner.profile.20.plan.3.dest IF:9901,TEL:[ext]
set planner.profile.20.plan.4.dest IF:9901,TEL:[ext]
These lines show up in the debug output from Asterisk when extension 3348 calls extension 3344 (this is just a snippet, the full output from start to finish can be found at http://pastebin.com/304RJ2Eq):
== Spawn extension (from-internal, 3344, 1) exited non-zero on 'PJSIP/3344-00000022'
-- PJSIP/3344-00000022 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
-- Called PJSIP/3344/sip:[email protected]:6060
-- Connected line update to PJSIP/3348-00000021 prevented.
-- Now forwarding PJSIP/3348-00000021 to 'Local/VSENP0000002f@from-internal' (thanks to PJSIP/3344-00000022)
[2016-09-22 09:44:19] NOTICE[22739][C-00000012]: app_dial.c:901 do_forward: Not accepting call completion offers from call-forward recipient Local/VSENP0000002f@from-internal-0000000c;1
[2016-09-22 09:44:19] NOTICE[22739][C-00000012]: core_local.c:701 local_call: No such extension/context VSENP0000002f@from-internal while calling Local channel
[2016-09-22 09:44:19] NOTICE[22739][C-00000012]: app_dial.c:1007 do_forward: Forwarding failed to dial 'Local/VSENP0000002f@from-internal'
== Everyone is busy/congested at this time (1:0/0/1)
What caught my eye is the fifth line down that says it is forwarding 3348 to Local/VSENP. I have no idea what Local/VSENP is. ENP = Enhanced Network Proxy? I’m stumped on this one; we’d like to use the Vega in emergency situations if the network is not available to enable calling to 911, etc.
There is no NAT or firewall involved; all devices are on the same VLAN.
Any help is appreciated. Thanks in advance!
Spence