2009/4/21 Gentrice's kaiser <kaiser(a)gentrice.net>et>:
If only one forward number in AVP array , this code
working fine,
the issue will happen if multiple forward number trying, ( forward
2nd,3rd ...number)
the UAC module will restore from header in 200 OK of its following
message when a UA answered,
we will have a duplicated "from header" in 200 OK (sending out
opensips).
It means we will have 2 "from" headers (in 200 OK) to caller, if 2nd
forwarded callee answer.
Caller ---> Invite ---> opensips ----> UA 0, no answer
----> UA 1, no answer
---->UA 2, answer
<----200 OK
<---200OK<---
this 200ok will have 2 "from" header.
Are you sending these calls to a SIP/PSTN gateway? if so, it easier to
add a P-Asserted-Identity or Remote-Party-Id header containing the
callerid you want to show to the remote.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>