[Spce-user] Reply with 503 instead of 404
lorenzo.mangani at gmail.com
Wed Jul 24 05:25:40 EDT 2013
A good approach for you to understand what to change on your own would be
to watch the logs as this specific condition happens (inbound call to non
existing user, etc) and note the specific messages there - using those,
trace the strings back the relevant areas within the template
configuration. This way you can quickly get (closer) to the specific
section of the scripts where to experiment with your condition and your
changes (after performing a backup no less) and learn more about the
systems internals as you progress - it's not too complex if you follow the
handbook where this is explained, and use the extremely well commented
logic the guys implemented in the templates - just my 2 euro cents.
HOMER DEV TEAM
QXIP - Capture Engineering
On Wed, Jul 24, 2013 at 10:26 AM, Martin Wong <
martin.wong at binaryelements.com.au> wrote:
> Apologies ... before I stuff it up, is it possible for you to let me know
> where exactly to change in the proxy.cfg? Aiming for a return of 503 when
> an inbound call comes in and there's no such subscriber / alias number
> Martin Wong
> Director at Binary Elements
> Tel: 03 9020 7900
> DID: 03 9020 7907
> Mob: 0405 817 796
> On Wed, Jul 24, 2013 at 6:14 PM, Jon Bonilla <jbonilla at sipwise.com> wrote:
>> El Wed, 24 Jul 2013 15:38:31 +1000
>> Martin Wong <martin.wong at binaryelements.com.au> escribió:
>> > Hi guys, is there a way to respond back with a 503 instead of a 404 when
>> > there is no such number in the SPCE?
>> > Just that our provider would need this code to determine to move to
>> > IP address to route calls in.
>> You would need to create a customtt template as described in the Handbook.
>> Check for 404 in /etc/ngcp-config/templates/etc/kamailio/proxy and
>> replace the
>> return codes with the ones you need.
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
> Spce-user mailing list
> Spce-user at lists.sipwise.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Spce-user