logo       

Re: How to extract sip-id when using alias-id?: msg#00447

voip.openser.user

Subject: Re: How to extract sip-id when using alias-id?

Hi,

what you can do is to save into an AVP the alias before doing lookup(aliases). In failure route, before sending to voicemail, push the AVP into RURI to have the alias and not the sip id.

regards,
bogdan

Frogger wrote:

Good point.
I need to clarify...

The alias is working to route to the user however if
the timer expires, the route fails or if there is a
reject, the failure routes are applying their logic to
the alias-id not the sip-id.

What I need to do is apply the failure route logic to
the sip-id so we can send the attempt to voicemail.

Let say I have an alias of 1000-9dM3hzoSjHY@xxxxxxxxxxxxxxxx for sip-id
5551212-RsIHbiFnPJY@xxxxxxxxxxxxxxxx

When 1000-9dM3hzoSjHY@xxxxxxxxxxxxxxxx is dialed by another user in the
domain (I am using "use_domain") the call is properly
routed to: 5551212-RsIHbiFnPJY@xxxxxxxxxxxxxxxx

However, if 5551212-9dM3hzoSjHY@xxxxxxxxxxxxxxxx does not answer, timer
expires, or a reject, then the failure logic is be
applied to the alias.

Failure route says:

prefix("66");
append_branch();
append_urihf("CC-Diversion: ", "\r\n");
t_relay();


Result of the failure logic:

661000-9dM3hzoSjHY@xxxxxxxxxxxxxxxx

Needs to be:

665551212-9dM3hzoSjHY@xxxxxxxxxxxxxxxx


Thoughts?

F


--- Bogdan-Andrei Iancu <bogdan-/qk4c3+6r1L0ABVSK+4LOw@xxxxxxxxxxxxxxxx>
wrote:


Hi,

not sure I understand - you dial an alias and via
db_aliases you replace the alias with the sip-id. So you have the sip-id ..
where is the problem?

regards,
bogdan

Frogger wrote:


I am using alias_db to store alias's for users.

However when an alias is dialed I need to also be

able

to restore the alias owners original sip-id.

This is necessary to forward the call to voicemail
using sip-id.

Any guidance on getting the sip-id out of the

alias_db

and replacing the alias-id prior to forwarding to
vmail?

Thanks in advance!

F

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam

protection around
http://mail.yahoo.com
_______________________________________________
Users mailing list
Users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx
http://openser.org/cgi-bin/mailman/listinfo/users







__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise