Yate Community Forum

General Category => Yate users hangout place => Topic started by: looserouting on August 01, 2013, 04:38:14 AM

Title: how to send 480 Temporarily not available when user ist offline using regfile ?
Post by: looserouting on August 01, 2013, 04:38:14 AM
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 :)



Title: Re: how to send 480 Temporarily not available when user ist offline using regfile ?
Post by: looserouting on October 17, 2013, 06:59:58 AM
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.
Title: Re: how to send 480 Temporarily not available when user ist offline using regfile ?
Post by: marian on October 18, 2013, 01:18:55 AM
You can't do it using regfile.
You'll have to use regexroute.
Title: Re: how to send 480 Temporarily not available when user ist offline using regfile ?
Post by: looserouting on October 21, 2013, 02:54:25 AM
Thanks marian !