OK, I manually modified my /etc/sipxpbx/fallbackrules.xml emergency
section to look like the following, restarted the proxy and registrar,
and the location based routing is now working (as a temporary
workaround(names and locations changes to protect the innocent)):
<userMatch>
<!--Emergency Calling-->
<userPattern>sos</userPattern>
<userPattern>911</userPattern>
<userPattern>9911</userPattern>
<callerLocationMatch>
<callerLocation>Location1</callerLocation>
<transform>
<user>911</user>
<host>10.1.25.254</host>
<headerparams>expires=60</headerparams>
<fieldparams>q=0.96</fieldparams>
</transform>
</callerLocationMatch>
<callerLocationMatch>
<callerLocation>Location2</callerLocation>
<transform>
<user>911</user>
<host>10.1.50.11</host>
<headerparams>expires=60</headerparams>
<fieldparams>q=0.92</fieldparams>
</transform>
</callerLocationMatch>
<callerLocationMatch>
<callerLocation>Location3</callerLocation>
<transform>
<user>911</user>
<host>10.1.51.249</host>
<headerparams>expires=60</headerparams>
<fieldparams>q=0.88</fieldparams>
</transform>
</callerLocationMatch>
<callerLocationMatch>
<callerLocation>Location4</callerLocation>
<transform>
<user>911</user>
<host>10.1.52.249</host>
<headerparams>expires=60</headerparams>
<fieldparams>q=0.84</fieldparams>
</transform>
</callerLocationMatch>
</userMatch>
On Thu, Aug 27, 2009 at 3:37 PM, Robert Joly<[email protected]> wrote:
>> Situation: 2 gateways set up for two different locations. One
>> user group is set to send calls (local and emergency) out of
>> one gateway, the other group out the other gateway. sipX will
>> obey the source call routing rules on the local dial plan
>> rule and send the call out the appropriate gateway, but will
>> ignore the source call routing settings in the emergency dial
>> plan rule. sipX defaults, no matter what (even if the gateway
>> is not shared) to the first available gateway in the list and
>> sends the emergency call out the first available gateway. The
>> expected action is that the emergency dial plan rule should
>> follow source call routing rules as all the other dial plan
>> rules do. Has anyone else had this issue?
>
>
> I was able to reproduce this problem on my side. It appears that
> sipXconfig does not add any <callerLocationMatch> clauses to the
> emergency dialplan which explains what you are seeing. I opened a new
> tracker for this. See XX-6412.
>
_______________________________________________
sipx-users mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
sipXecs IP PBX -- http://www.sipfoundry.org/