[Kamailio-Users] kamailio multi-domain

karhu yoannks at gmail.com
Fri May 15 15:11:50 CEST 2009


Hi,

First of all the rtpproxy command must be like that : 
rtpptoxy -l 192.168.0.2/10.10.10.2 -s udp:127.0.0.1:7890 :)

I don't know if it is important but when i run rtpproxy and start wireshark
on localhost, there is UDP checksum on UDP messages (with 7890 port) so i
don't really know what does it mean ..

In my kamailio log file there is no error about rtpproxy, i get : 
INFO:nathelper:rtpp_test: rtpproxy <udp:127.0.0.1:7890> found, support for
it enabled.

I don't know where to find an issue, maybe on my .conf there is route
mistakes, i don't really know !!

Below is what the callee receive (it doesn't seem that rtpproxy modify the
sdp pararameters...)
                                                  
#############################################################
NOTIFY sip:1000 at 10.10.10.3:28622 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.2;branch=z9hG4bK32a6.59d2c88.0
Via: SIP/2.0/UDP
192.168.0.10:52584;received=192.168.0.10;branch=z9hG4bK-d87543-0077b61ebc07ec6c-1--d87543-;rport=52584
Max-Forwards: 69
Contact: <sip:jimmy at 192.168.0.10:52584;rinstance=8085570d8870a91d>
To: "toto"<sip:1000 at 10.10.10.2>;tag=88747918
From: <sip:jimmy at 10.10.10.2>;tag=592de522
Call-ID: NDg4NTQyNWZlZjdjM2U0YjJjZmRhZWZiN2YwMTA1ODk.
CSeq: 5 NOTIFY
Content-Type: application/pidf+xml
User-Agent: X-Lite release 1006e stamp 34025
Subscription-State: active;expires=3017
Event: presence
Content-Length: 456

<?xml version='1.0' encoding='UTF-8'?><presence
xmlns='urn:ietf:params:xml:ns:pidf'
xmlns:dm='urn:ietf:params:xml:ns:pidf:data-model'
xmlns:rpid='urn:ietf:params:xml:ns:pidf:rpid'
xmlns:c='urn:ietf:params:xml:ns:pidf:cipid'
entity='pres:jimmy at 10.10.10.2'><tuple
id='t2b5a3154'><status><basic>open</basic></status></tuple><dm:person
id='p827b2116'><rpid:activities><rpid:on-the-phone/></rpid:activities><dm:note>On
the Phone</dm:note></dm:person></presence>INVITE
sip:1000 at 10.10.10.3:28622;rinstance=5d88dda3f0385118 SIP/2.0
Record-Route: <sip:10.10.10.2;r2=on;lr=on>
Record-Route: <sip:192.168.0.2;r2=on;lr=on>
Via: SIP/2.0/UDP 10.10.10.2;branch=z9hG4bK7fd9.5888b3b.0
Via: SIP/2.0/UDP
192.168.0.10:52584;received=192.168.0.10;branch=z9hG4bK-d87543-216aba407d69f837-1--d87543-;rport=52584
Max-Forwards: 69
Contact: <sip:jimmy at 192.168.0.10:52584>
To: "toto"<sip:1000 at 10.10.10.2>
From: "Yo"<sip:jimmy at 10.10.10.2>;tag=943cfb55
Call-ID: NzFiZGMxZjNmMTgxMmM4Y2NjOWQ3ODk5NGUxOGNlM2Y.
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO
Content-Type: application/sdp
User-Agent: X-Lite release 1006e stamp 34025
Content-Length: 376

v=0
o=- 1 2 IN IP4 192.168.0.10
s=CounterPath X-Lite 3.0
c=IN IP4 192.168.0.10
t=0 0
m=audio 40576 RTP/AVP 107 119 0 98 8 3 101
a=alt:1 2 : qYRR6+kO KIe+GIui 10.193.15.206 40576
a=alt:2 1 : 9vpxIra9 F/yz8wCU 192.168.0.10 40576
a=fmtp:101 0-15
a=rtpmap:107 BV32/16000
a=rtpmap:119 BV32-FEC/16000
a=rtpmap:98 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.2;branch=z9hG4bK32a6.59d2c88.0
Via: SIP/2.0/UDP
192.168.0.10:52584;received=192.168.0.10;branch=z9hG4bK-d87543-0077b61ebc07ec6c-1--d87543-;rport=52584
Contact: <sip:1000 at 10.10.10.3:28622>
To: "toto"<sip:1000 at 10.10.10.2>;tag=88747918
From: <sip:jimmy at 10.10.10.2>;tag=592de522
Call-ID: NDg4NTQyNWZlZjdjM2U0YjJjZmRhZWZiN2YwMTA1ODk.
CSeq: 5 NOTIFY
User-Agent: X-Lite release 1006e stamp 34025
Content-Length: 0

SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.10.10.2;branch=z9hG4bK7fd9.5888b3b.0
Via: SIP/2.0/UDP
192.168.0.10:52584;received=192.168.0.10;branch=z9hG4bK-d87543-216aba407d69f837-1--d87543-;rport=52584
Record-Route: <sip:10.10.10.2;r2=on;lr=on>
Record-Route: <sip:192.168.0.2;lr;r2=on>
Contact: <sip:1000 at 10.10.10.3:28622;rinstance=5d88dda3f0385118>
To: "toto"<sip:1000 at 10.10.10.2>;tag=3f57ae6d
From: "Yo"<sip:jimmy at 10.10.10.2>;tag=943cfb55
Call-ID: NzFiZGMxZjNmMTgxMmM4Y2NjOWQ3ODk5NGUxOGNlM2Y.
CSeq: 2 INVITE
User-Agent: X-Lite release 1006e stamp 34025
Content-Length: 0



SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.2;branch=z9hG4bK7fd9.5888b3b.0
Via: SIP/2.0/UDP
192.168.0.10:52584;received=192.168.0.10;branch=z9hG4bK-d87543-216aba407d69f837-1--d87543-;rport=52584
Record-Route: <sip:10.10.10.2;r2=on;lr=on>
Record-Route: <sip:192.168.0.2;lr;r2=on>
Contact: <sip:1000 at 10.10.10.3:28622;rinstance=5d88dda3f0385118>
To: "toto"<sip:1000 at 10.10.10.2>;tag=3f57ae6d
From: "Yo"<sip:jimmy at 10.10.10.2>;tag=943cfb55
Call-ID: NzFiZGMxZjNmMTgxMmM4Y2NjOWQ3ODk5NGUxOGNlM2Y.
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO
Content-Type: application/sdp
User-Agent: X-Lite release 1006e stamp 34025
Content-Length: 317

v=0
o=- 7 2 IN IP4 10.10.10.3
s=CounterPath X-Lite 3.0
c=IN IP4 10.10.10.3
t=0 0
m=audio 8660 RTP/AVP 107 119 0 98 8 3 101
a=alt:1 1 : imJYL+XY s2A1SzMz 10.10.10.3 8660
a=fmtp:101 0-15
a=rtpmap:107 BV32/16000
a=rtpmap:119 BV32-FEC/16000
a=rtpmap:98 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv
PUBLISH sip:1000 at 10.10.10.2 SIP/2.0
Via: SIP/2.0/UDP
10.10.10.3:28622;branch=z9hG4bK-d87543-4641d301a1473b01-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:1000 at 10.10.10.3:28622>
To: "toto"<sip:1000 at 10.10.10.2>
From: "toto"<sip:1000 at 10.10.10.2>;tag=965f1d07
Call-ID: YTdhZWRhYmY3MmUwNWU3NWM5Nzk2OGQ2NmM4ZmNkMzE.
CSeq: 1 PUBLISH
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO
Content-Type: application/pidf+xml
User-Agent: X-Lite release 1006e stamp 34025
Event: presence
Content-Length: 439

<?xml version='1.0' encoding='UTF-8'?><presence
xmlns='urn:ietf:params:xml:ns:pidf'
xmlns:dm='urn:ietf:params:xml:ns:pidf:data-model'
xmlns:rpid='urn:ietf:params:xml:ns:pidf:rpid'
xmlns:c='urn:ietf:params:xml:ns:pidf:cipid'
entity='pres:1000 at 10.10.10.2'><tuple
id='tdc264870'><status><basic>open</basic></status></tuple><dm:person
id='p3f027a37'><rpid:activities><rpid:busy/></rpid:activities><dm:note>Busy</dm:note></dm:person></presence>NOTIFY
sip:jimmy at 192.168.0.10:52584 SIP/2.0
Via: SIP/2.0/UDP
10.10.10.3:28622;branch=z9hG4bK-d87543-504d7f3c8964700d-1--d87543-;rport
Max-Forwards: 70
Route: <sip:10.10.10.2;lr;r2=on>
Route: <sip:192.168.0.2;r2=on;lr=on>
Contact: <sip:1000 at 10.10.10.3:28622;rinstance=5d88dda3f0385118>
To: "Yo"<sip:jimmy at 10.10.10.2>;tag=7508dc58
From: <sip:1000 at 10.10.10.2>;tag=56391077
Call-ID: MmFjNmVkZGFkYmU4MWNjY2RmNWMxYzQwMzQ0Y2M1MGQ.
CSeq: 5 NOTIFY
Content-Type: application/pidf+xml
User-Agent: X-Lite release 1006e stamp 34025
Subscription-State: active;expires=3009
Event: presence
Content-Length: 439

<?xml version='1.0' encoding='UTF-8'?><presence
xmlns='urn:ietf:params:xml:ns:pidf'
xmlns:dm='urn:ietf:params:xml:ns:pidf:data-model'
xmlns:rpid='urn:ietf:params:xml:ns:pidf:rpid'
xmlns:c='urn:ietf:params:xml:ns:pidf:cipid'
entity='pres:1000 at 10.10.10.2'><tuple
id='tdc264870'><status><basic>open</basic></status></tuple><dm:person
id='p3f027a37'><rpid:activities><rpid:busy/></rpid:activities><dm:note>Busy</dm:note></dm:person></presence>SIP/2.0
407 Proxy Authentication Required
Via: SIP/2.0/UDP
10.10.10.3:28622;branch=z9hG4bK-d87543-4641d301a1473b01-1--d87543-;rport=28622
To: "toto"<sip:1000 at 10.10.10.2>;tag=f8f2ab2c1295e90ed7dbb499b30f44b2.0da5
From: "toto"<sip:1000 at 10.10.10.2>;tag=965f1d07
Call-ID: YTdhZWRhYmY3MmUwNWU3NWM5Nzk2OGQ2NmM4ZmNkMzE.
CSeq: 1 PUBLISH
Proxy-Authenticate: Digest realm="10.10.10.2",
nonce="4a0d64b600000018e1dc3a1e2ee16f487b68f0bbd387ec1b"
Server: Kamailio (1.5.0-notls (x86_64/linux))
Content-Length: 0

SIP/2.0 200 OK
Via: SIP/2.0/UDP
10.10.10.3:28622;received=10.10.10.3;branch=z9hG4bK-d87543-504d7f3c8964700d-1--d87543-;rport=28622
Contact: <sip:jimmy at 192.168.0.10:52584>
To: "Yo"<sip:jimmy at 10.10.10.2>;tag=7508dc58
From: <sip:1000 at 10.10.10.2>;tag=56391077
Call-ID: MmFjNmVkZGFkYmU4MWNjY2RmNWMxYzQwMzQ0Y2M1MGQ.
CSeq: 5 NOTIFY
User-Agent: X-Lite release 1006e stamp 34025
Content-Length: 0

PUBLISH sip:1000 at 10.10.10.2 SIP/2.0
Via: SIP/2.0/UDP
10.10.10.3:28622;branch=z9hG4bK-d87543-c80eab632b537155-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:1000 at 10.10.10.3:28622>
To: "toto"<sip:1000 at 10.10.10.2>
From: "toto"<sip:1000 at 10.10.10.2>;tag=965f1d07
Call-ID: YTdhZWRhYmY3MmUwNWU3NWM5Nzk2OGQ2NmM4ZmNkMzE.
CSeq: 2 PUBLISH
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO
Content-Type: application/pidf+xml
Proxy-Authorization: Digest
username="1000",realm="10.10.10.2",nonce="4a0d64b600000018e1dc3a1e2ee16f487b68f0bbd387ec1b",uri="sip:1000 at 10.10.10.2",response="b2540bad76983836124434ca6f8a28ff",algorithm=MD5
User-Agent: X-Lite release 1006e stamp 34025
Event: presence
Content-Length: 439

<?xml version='1.0' encoding='UTF-8'?><presence
xmlns='urn:ietf:params:xml:ns:pidf'
xmlns:dm='urn:ietf:params:xml:ns:pidf:data-model'
xmlns:rpid='urn:ietf:params:xml:ns:pidf:rpid'
xmlns:c='urn:ietf:params:xml:ns:pidf:cipid'
entity='pres:1000 at 10.10.10.2'><tuple
id='tdc264870'><status><basic>open</basic></status></tuple><dm:person
id='p3f027a37'><rpid:activities><rpid:busy/></rpid:activities><dm:note>Busy</dm:note></dm:person></presence>SIP/2.0
404 Not here
Via: SIP/2.0/UDP
10.10.10.3:28622;branch=z9hG4bK-d87543-c80eab632b537155-1--d87543-;rport=28622
To: "toto"<sip:1000 at 10.10.10.2>;tag=f8f2ab2c1295e90ed7dbb499b30f44b2.7897
From: "toto"<sip:1000 at 10.10.10.2>;tag=965f1d07
Call-ID: YTdhZWRhYmY3MmUwNWU3NWM5Nzk2OGQ2NmM4ZmNkMzE.
CSeq: 2 PUBLISH
Server: Kamailio (1.5.0-notls (x86_64/linux))
Content-Length: 0

ACK sip:1000 at 10.10.10.3:28622;rinstance=5d88dda3f0385118 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.2;branch=z9hG4bK7fd9.5888b3b.2
Via: SIP/2.0/UDP
192.168.0.10:52584;received=192.168.0.10;branch=z9hG4bK-d87543-f620c054d1462614-1--d87543-;rport=52584
Max-Forwards: 69
Contact: <sip:jimmy at 192.168.0.10:52584>
To: "toto"<sip:1000 at 10.10.10.2>;tag=3f57ae6d
From: "Yo"<sip:jimmy at 10.10.10.2>;tag=943cfb55
Call-ID: NzFiZGMxZjNmMTgxMmM4Y2NjOWQ3ODk5NGUxOGNlM2Y.
CSeq: 2 ACK
Proxy-Authorization: Digest
username="jimmy",realm="10.10.10.2",nonce="4a0d64ae0000001719f1b94b7bc7458a5467b3b3ea53507a",uri="sip:1000 at 10.10.10.2",response="eebf1cb9ef7f04162511243bf70c72e2",algorithm=MD5
User-Agent: X-Lite release 1006e stamp 34025
Content-Length: 0

#################################################
cheers, 

Karhu



-- 
View this message in context: http://www.nabble.com/kamailio-multi-domain-tp23539467p23559606.html
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.





More information about the sr-users mailing list