On Wednesday 12 March 2008, Morten Isaksen wrote:
> I have a PBX that has registered [EMAIL PROTECTED] with my OpenSER. I want 
> to> 
attach [EMAIL PROTECTED] and [EMAIL PROTECTED] to that registration and 
alias_db_lookup
> does that fine.
>
> If a call comes to 111 the sip header looks like this
>
> INVITE [EMAIL PROTECTED] ....
> To: 111 <[EMAIL PROTECTED]> ...
>
> And everything works fine.
>
> But if a call comes to 222 the sip header looks like this:
>
> INVITE [EMAIL PROTECTED] ....
> To: 222 <[EMAIL PROTECTED]> ...
>
> But now the PBX thinks that the call is for 111 and not 222.

You can save the $rU in an avp before the lookup and restore it afterwards. 
This is assuming that the pbx will accept any $rU thrown at it (Asterisk 
will).



Alex.

_______________________________________________
Users mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/users

Reply via email to