[OpenSER-Users] How to handle INVITES with different To: header

Peter P GMX Prometheus001 at gmx.net
Tue Jan 22 19:20:44 CET 2008


I have the following scenario:

I receive a request with PSTN_number at my.ip.add.res from my VoIP
In alias_db I have defined a rule that  points  to yyy at myip.com which is 
a registered account

After alias_db_lookup OpenSER invites as follows:
Invite yyy at myip.com
To: xxxxxxx at my.ip.add.res

The UA (actually a PBX with VoIP support) answers with 404 not found.

When I invite as follows:
Invite yyy at myip.com
To: yyy at myip.com

everything works fine.

My question: How do you handle these cases?
Rewriting the To: part seems dificult and will mess up a lot - hein?

Kind regards
Peter





More information about the Users mailing list