Hi List
To handle CPE which can only handle a limited number of route header
(PacketCable SIP specification), I need to store and restore the route
header (limited topology hiding only affecting Route Header) to present
the CPE only one Route or RR header.
I pass the ID of the stored route-set via RR param.
So when I get a message back from the CPE is:
* Take ID from RR param and pull stored route set from cache.
* remove_hf("Route");
* insert_hf("Route: $avp(stored-routeset)\r\n");
* msg_apply_changes();
* loose_route();
I found loose_route() only to be able to correctly determine the next
hop, if I first did apply the changes.
But after adding rtpengine to the mix, I got back into the known
situation that calling rtpengine (on the branch route) after calling
msg_apply_changes() results in duplicate SDP.
Is there a way to get loose_route() to operate on freshly added header
without calling msg_apply_changes?
--
Mit freundlichen Grüssen
-Benoît Panizzon- @ HomeOffice und normal erreichbar
--
I m p r o W a r e A G - Leiter Commerce Kunden
______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00
CH-4133 Pratteln Fax +41 61 826 93 01
Schweiz Web
http://www.imp.ch
______________________________________________________