Hi,
Does anyone know how to implement draft-levy diversion header on for
example bilnd call forwarding?
I have this scenario:
xlite ------ SER-0.9.7 ------ PSTN-GW ------ PSTN
Case: Call from xlite-579950 to 579917 (both registered at SER),
579917 has fwdblind enabled to pstn-501866.
where SER modifies INVITE when detect that user 579917 has fwdblind
feature enabled. The call must be forwarded to the pstn number.
but the PSTN-GW returns to SER a "302: Moved Temporarily" with a
confused diversion header..
Here a few sip messages:
= SER -----> PSTN-GW
U +0.000824 200.2.127.187:5060 -> 200.2.127.153:5060
INVITE sip:501866@200.2.127.153:5060 SIP/2.0.
Record-Route: <sip:200.2.127.187;ftag=2d0ad32d;lr=on>.
Via: SIP/2.0/UDP 200.2.127.187;branch=z9hG4bK396d.c60b3015.0.
Via: SIP/2.0/UDP
192.168.132.22:35318;branch=z9hG4bK-d8754z-c16e4506aa72e334-1---d8754z-;rport=35318.
Max-Forwards: 16.
Contact: <sip:579950@192.168.132.22:35318>.
To: "579917"<sip:579917@wsa.lab>.
From: "579950"<sip:579950@wsa.lab>;tag=2d0ad32d.
Call-ID: MzI2MjQ4ZTMyMGQzOWRlYzNkMWFkZTVmNGY3MzIzNDE..
CSeq: 2 INVITE.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO.
Content-Type: application/sdp.
User-Agent: X-Lite release 1100l stamp 47546.
Content-Length: 385.
= PSTN-GW ----> SER
U +0.051198 200.2.127.153:5060 -> 200.2.127.187:5060
SIP/2.0 302 Moved Temporarily.
Via: SIP/2.0/UDP 200.2.127.187;branch=z9hG4bK396d.c60b3015.0.
Via: SIP/2.0/UDP
192.168.132.22:35318;branch=z9hG4bK-d8754z-c16e4506aa72e334-1---d8754z-;rport=35318.
To: "579917"
<sip:579917@wsa.lab>;tag=121881197764d164f2-9431-47bb-be95-8af6684ebc04.
From: "579950" <sip:579950@wsa.lab>;tag=2d0ad32d.
CSeq: 2 INVITE.
Call-ID: MzI2MjQ4ZTMyMGQzOWRlYzNkMWFkZTVmNGY3MzIzNDE..
Contact: <sip:579917@200.2.127.187:5060>.
Diversion: <sip:501866@200.2.127.153:5060>;reason=unknown.
Server: Epygi Quadro SIP User Agent/v4.1.23 (SOHOGW).
Content-Length: 0.
What is wrong? How the flow must be to satisfies diversion of levy draft?
Any comments are welcome...i'm confused if SER must modify INVITE or
"To" header or if a diversion must be set (add_diversion of
diversion.so module) when SER send the first invite to PSTN-GW...
Regards,
--
caio