Hi, I am running openser 1.2.3 on ip 10.10.10.10
openser is adding itself as a route and the next hop then sends the invite back to it.
Is there a way to strip the route when sending out the invite? See >> below<<
INVITE sip:192.168.10.1:5060;transport=UDP SIP/2.0..Record-Route: sip:10.10.10.10;lr=on..
--- >>>> this is the problem >>> Route: sip:16464894489@10.10.10.10;user=phone.. <<<< <<<<<<
Via: SIP/2.0/UDP 10.10.10.10;branch=z9hG4bK9ffa.8103bc92.0..Via: SIP/2.0/UDP 172.16.100.17:506
0;branch=z9hG4bKckr04nq099hc7oit3g6bl0s;rport=5060..From: sip:706@10.10.10.10;tag=k1404nvk7hhc61333g66..To: <sip:164
64894489@10.10.10.10;user=phone>..Contact: sip:706@172.16.100.17;transport=UDP..Supported: 100rel,sec-agree..CSeq: 1
153 INVITE..Call-ID: ZII2nVPhoIfc11McnXIVhs0adjyRuT..Allow: INVITE,ACK,BYE,CANCEL,REFER,NOTIFY,OPTIONS,PRACK..Expires: 1
20..Privacy: none..User-Agent: Nokia RM-208 1.0633.18.01..P-Preferred-Identity: sip:706@10.10.10.10..Max-Forwards: 70.
.Content-Type: application/sdp..Accept: application/sdp..Content-Length: 435....v=0..o=Nokia-SIPUA 63371528233679000 633
71528233679000 IN IP4 172.16.100.17..s=-..c=IN IP4 172.16.100.17..t=0 0..m=audio 16384 RTP/AVP 96 0 8 97 18 98 13..a=pti
me:20..a=maxptime:200..a=fmtp:96 mode-change-neighbor=1..a=fmtp:18 annexb=no..a=fmtp:98 0-15..a=rtpmap:96 AMR/8000/1..a=
rtpmap:0 PCMU/8000/1..a=rtpmap:8 PCMA/8000/1..a=rtpmap:97 iLBC/8000/1..a=rtpmap:18 G729/8000/1..a=rtpmap:98 telephone-ev
ent/8000/1..a=rtpmap:13 CN/8000/1..
#
Are you sure? The route header is initialized by a UA. Proxies _remove_ themselves from the list.
On Monday 18 February 2008, Lazer Ramm wrote:
Hi, I am running openser 1.2.3 on ip 10.10.10.10
openser is adding itself as a route and the next hop then sends the invite back to it.
Is there a way to strip the route when sending out the invite? See >> below<<
INVITE sip:192.168.10.1:5060;transport=UDP SIP/2.0..Record-Route: sip:10.10.10.10;lr=on..
--- >>>> this is the problem >>> Route: sip:16464894489@10.10.10.10;user=phone.. <<<< <<<<<<
Via: SIP/2.0/UDP 10.10.10.10;branch=z9hG4bK9ffa.8103bc92.0..Via: SIP/2.0/UDP 172.16.100.17:506
0;branch=z9hG4bKckr04nq099hc7oit3g6bl0s;rport=5060..From: sip:706@10.10.10.10;tag=k1404nvk7hhc61333g66..To: <sip:164
64894489@10.10.10.10;user=phone>..Contact: sip:706@172.16.100.17;transport=UDP..Supported: 100rel,sec-agree..CSeq: 1
153 INVITE..Call-ID: ZII2nVPhoIfc11McnXIVhs0adjyRuT..Allow: INVITE,ACK,BYE,CANCEL,REFER,NOTIFY,OPTIONS,PRACK..Expires: 1
20..Privacy: none..User-Agent: Nokia RM-208 1.0633.18.01..P-Preferred-Identity: sip:706@10.10.10.10..Max-Forwards: 70.
.Content-Type: application/sdp..Accept: application/sdp..Content-Length: 435....v=0..o=Nokia-SIPUA 63371528233679000 633
71528233679000 IN IP4 172.16.100.17..s=-..c=IN IP4 172.16.100.17..t=0 0..m=audio 16384 RTP/AVP 96 0 8 97 18 98 13..a=pti
me:20..a=maxptime:200..a=fmtp:96 mode-change-neighbor=1..a=fmtp:18 annexb=no..a=fmtp:98 0-15..a=rtpmap:96 AMR/8000/1..a=
rtpmap:0 PCMU/8000/1..a=rtpmap:8 PCMA/8000/1..a=rtpmap:97 iLBC/8000/1..a=rtpmap:18 G729/8000/1..a=rtpmap:98 telephone-ev
ent/8000/1..a=rtpmap:13 CN/8000/1..
#
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
Openser never adds Route headers (unless you do it manually by using append_hf()).
Thus I guess the SIP client has added this router (pre-loaded route set).
By adding 10.10.10.10. to the "aliases" openser should detect this during loose_route() (removes the header and returns FALSE).
klaus
Lazer Ramm schrieb:
Hi, I am running openser 1.2.3 on ip 10.10.10.10
openser is adding itself as a route and the next hop then sends the invite back to it.
Is there a way to strip the route when sending out the invite? See >> below<<
INVITE sip:192.168.10.1:5060;transport=UDP SIP/2.0..Record-Route: sip:10.10.10.10;lr=on..
--- >>>> this is the problem >>> Route: sip:16464894489@10.10.10.10;user=phone.. <<<< <<<<<<
Via: SIP/2.0/UDP 10.10.10.10;branch=z9hG4bK9ffa.8103bc92.0..Via: SIP/2.0/UDP 172.16.100.17:506
0;branch=z9hG4bKckr04nq099hc7oit3g6bl0s;rport=5060..From: sip:706@10.10.10.10;tag=k1404nvk7hhc61333g66..To: <sip:164
64894489@10.10.10.10;user=phone>..Contact: sip:706@172.16.100.17;transport=UDP..Supported: 100rel,sec-agree..CSeq: 1
153 INVITE..Call-ID: ZII2nVPhoIfc11McnXIVhs0adjyRuT..Allow: INVITE,ACK,BYE,CANCEL,REFER,NOTIFY,OPTIONS,PRACK..Expires: 1
20..Privacy: none..User-Agent: Nokia RM-208 1.0633.18.01..P-Preferred-Identity: sip:706@10.10.10.10..Max-Forwards: 70.
.Content-Type: application/sdp..Accept: application/sdp..Content-Length: 435....v=0..o=Nokia-SIPUA 63371528233679000 633
71528233679000 IN IP4 172.16.100.17..s=-..c=IN IP4 172.16.100.17..t=0 0..m=audio 16384 RTP/AVP 96 0 8 97 18 98 13..a=pti
me:20..a=maxptime:200..a=fmtp:96 mode-change-neighbor=1..a=fmtp:18 annexb=no..a=fmtp:98 0-15..a=rtpmap:96 AMR/8000/1..a=
rtpmap:0 PCMU/8000/1..a=rtpmap:8 PCMA/8000/1..a=rtpmap:97 iLBC/8000/1..a=rtpmap:18 G729/8000/1..a=rtpmap:98 telephone-ev
ent/8000/1..a=rtpmap:13 CN/8000/1..
#
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users