Hi all,
According to this SO question
<https://stackoverflow.com/questions/32519551/kamailio-concurrent-calls-after-forked-invite/32573673#32573673>
I
tried to forward received message to multiple destinations with the
following Lua script. But in the second UA I got duplicate Via header. Here
is the Lua script:
```Lua
KSR.forward_uri("sip:ali@192.168.1.50:7080;transport=UDP");
KSR.forward_uri("sip:tes@192.168.1.50:9080;transport=UDP");
```
And here is the received Via headers is `tes` UA:
```
Via: SIP/2.0/UDP
192.168.1.21;branch=z9hG4bKbe8c.953ed42f0bcc438c6991121d3483010b.0
Via: SIP/2.0/UDP
192.168.1.21;branch=z9hG4bKbe8c.953ed42f0bcc438c6991121d3483010b.0
Via: SIP/2.0/UDP 10.189.219.4:5060
;rport=5060;rport=5060;branch=z9hG4bK-4177-1-2
```
Would you please help me to forward message to multiple destination without
duplicate Via headers?
Regards,
Ali
Show replies by date