IMHO you should use username from the Request-URI, not from To. To may
contain a completely different URI.
Jan.
On 04-02 15:18, George Lee wrote:
Hello Jan :
In fact, I need SER to implement a speific request-redirect routing logic that
currently not supported by SER. At present, we can call this logic "ip pbx redirect
logic" described as follows in detail:
=============================================================================
When incoming "Invite" request arrives, SER extracts username of
"To" header field of "Invite" request as username of
"Contact" header field in 3xx response whereas hostname or hostip of
"Contact" header is retrieved from external configuration such as ser.cfg file.
Simply speaking:
redirect-generated "Contact" = [username of "To" header field of
"Invite" request]@[hostname or hostip get from
external configuration such as
ser.cfg file]
Thanks a Lot!
George Lee