Author Topic: how to send 480 Temporarily not available when user ist offline using regfile ?  (Read 6542 times)

looserouting

  • Newbie
  • *
  • Posts: 23
    • View Profile
I am using regfile and regexroute for routing.
regfile first then regexroute.
the users are all SIP-users.

i am using regfile for routing to local users and regexroute to call out through my voip provider(configured in accfile).
now if i call a user and he is registered then regfile will route the call.
but if he's not the call will be routed through regexroute.

how can I send an 480 (or user absent for other channels then sip) if the user is offline ?

if i don't load regexroute then yate will send a 480 response. but then i can't call out :)



« Last Edit: October 17, 2013, 06:55:25 AM by looserouting »

looserouting

  • Newbie
  • *
  • Posts: 23
    • View Profile
how do you handle such a situation ?

should i send a 480 with the regexroute module ?
But i would like to resolve the problem through the regfile module. this seems to be a better/faster solution for me.

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
You can't do it using regfile.
You'll have to use regexroute.

looserouting

  • Newbie
  • *
  • Posts: 23
    • View Profile
Thanks marian !