That 480 reply is generated by FreeSWITCH. You should run it in debug
mode to see the reason of why 480 was generated.
Also, since the communication between Kamailio and fs is on loopback
interface, be sure you capture the SIP traffic on it with 'ngrep -d any
...' or 'ngrep -d lo ...'
Cheers,
Daniel
On 8/4/11 2:24 PM, hala alramli wrote:
i installed kamailio and freeswitch according to
http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc
i installed also rtpproxy .
i managed to create 101,102,103 and all of them registered , i am not
able to make calls between them, 480 temporarily unavailable always
the error .
i cant find in the configuration file what cause this error.
this is the track.
i will be thankful for any help .
Hala
interface: eth0 (192.168.1.0/255.255.255.0)
filter: (ip or ip6) and ( port 5060 )
match: 101
U 2011/08/04 13:16:57.351872 192.168.1.175:5060 -> 192.168.1.233:5060
INVITE sip:102@192.168.1.233 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.175:5060;branch=z9hG4bK-6eabf9b3.
From: <sip:101@192.168.1.233>;tag=43c22ff96586a71ao0.
To: <sip:102@192.168.1.233>.
Call-ID: 9acd1ca5-9162c25e(a)192.168.1.175.
CSeq: 101 INVITE.
Max-Forwards: 70.
Contact: <sip:101@192.168.1.175:5060>.
Expires: 240.
User-Agent: Linksys/PAP2T-5.1.6(LS).
Content-Length: 444.
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER.
Supported: x-sipura, replaces.
Content-Type: application/sdp.
.
v=0.
o=- 986176 986176 IN IP4 192.168.1.175.
s=-.
c=IN IP4 192.168.1.175.
t=0 0.
m=audio 16450 RTP/AVP 8 0 2 4 18 96 97 98 100 101.
a=rtpmap:8 PCMA/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:2 G726-32/8000.
a=rtpmap:4 G723/8000.
a=rtpmap:18 G729a/8000.
a=rtpmap:96 G726-40/8000.
a=rtpmap:97 G726-24/8000.
a=rtpmap:98 G726-16/8000.
a=rtpmap:100 NSE/8000.
a=fmtp:100 192-193.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=ptime:30.
a=sendrecv.
U 2011/08/04 13:16:57.352037 192.168.1.233:5060 -> 192.168.1.175:5060
SIP/2.0 407 Proxy Authentication Required.
Via: SIP/2.0/UDP 192.168.1.175:5060;branch=z9hG4bK-6eabf9b3.
From: <sip:101@192.168.1.233>;tag=43c22ff96586a71ao0.
To: <sip:102@192.168.1.233>;tag=b27e1a1d33761e85846fc98f5f3a7e58.7d11.
Call-ID: 9acd1ca5-9162c25e(a)192.168.1.175.
CSeq: 101 INVITE.
Proxy-Authenticate: Digest realm="192.168.1.233",
nonce="TjqA1U46f6liNM8a6LX5HBJ2wXEBtOIX".
Server: kamailio (3.1.4 (x86_64/linux)).
Content-Length: 0.
.
U 2011/08/04 13:16:57.370381 192.168.1.175:5060 -> 192.168.1.233:5060
ACK sip:102@192.168.1.233 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.175:5060;branch=z9hG4bK-6eabf9b3.
From: <sip:101@192.168.1.233>;tag=43c22ff96586a71ao0.
To: <sip:102@192.168.1.233>;tag=b27e1a1d33761e85846fc98f5f3a7e58.7d11.
Call-ID: 9acd1ca5-9162c25e(a)192.168.1.175.
CSeq: 101 ACK.
Max-Forwards: 70.
Contact: <sip:101@192.168.1.175:5060>.
User-Agent: Linksys/PAP2T-5.1.6(LS).
Content-Length: 0.
.
U 2011/08/04 13:16:57.380065 192.168.1.175:5060 -> 192.168.1.233:5060
INVITE sip:102@192.168.1.233 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.175:5060;branch=z9hG4bK-eab8c613.
From: <sip:101@192.168.1.233>;tag=43c22ff96586a71ao0.
To: <sip:102@192.168.1.233>.
Call-ID: 9acd1ca5-9162c25e(a)192.168.1.175.
CSeq: 102 INVITE.
Max-Forwards: 70.
Proxy-Authorization: Digest
username="101",realm="192.168.1.233",nonce="TjqA1U46f6liNM8a6LX5HBJ2wXEBtOIX",uri="sip:102@192.168.1.233",algorithm=MD5,response="a019828b7a7334539ffa6b668dfcfada".
Contact: <sip:101@192.168.1.175:5060>.
Expires: 240.
User-Agent: Linksys/PAP2T-5.1.6(LS).
Content-Length: 444.
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER.
Supported: x-sipura, replaces.
Content-Type: application/sdp.
.
v=0.
o=- 986176 986176 IN IP4 192.168.1.175.
s=-.
c=IN IP4 192.168.1.175.
t=0 0.
m=audio 16450 RTP/AVP 8 0 2 4 18 96 97 98 100 101.
a=rtpmap:8 PCMA/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:2 G726-32/8000.
a=rtpmap:4 G723/8000.
a=rtpmap:18 G729a/8000.
a=rtpmap:96 G726-40/8000.
a=rtpmap:97 G726-24/8000.
a=rtpmap:98 G726-16/8000.
a=rtpmap:100 NSE/8000.
a=fmtp:100 192-193.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=ptime:30.
a=sendrecv.
U 2011/08/04 13:16:57.380329 192.168.1.233:5060 -> 192.168.1.175:5060
SIP/2.0 100 trying -- your call is important to us.
Via: SIP/2.0/UDP 192.168.1.175:5060;branch=z9hG4bK-eab8c613.
From: <sip:101@192.168.1.233>;tag=43c22ff96586a71ao0.
To: <sip:102@192.168.1.233>.
Call-ID: 9acd1ca5-9162c25e(a)192.168.1.175.
CSeq: 102 INVITE.
Server: kamailio (3.1.4 (x86_64/linux)).
Content-Length: 0.
.
U 2011/08/04 13:16:57.488511 192.168.1.233:5060 -> 192.168.1.175:5060
SIP/2.0 480 Temporarily Unavailable.
Via: SIP/2.0/UDP 192.168.1.175:5060;branch=z9hG4bK-eab8c613.
From: <sip:101@192.168.1.233>;tag=43c22ff96586a71ao0.
To: <sip:102@192.168.1.233>;tag=NDrNpDZ1g0jZe.
Call-ID: 9acd1ca5-9162c25e(a)192.168.1.175.
CSeq: 102 INVITE.
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-5d37bc9 2011-08-03
09-05-01 -0500.
From: <sip:101@192.168.1.233>;tag=43c22ff96586a71ao0.
To: <sip:102@192.168.1.233>.
Call-ID: 9acd1ca5-9162c25e(a)192.168.1.175.
CSeq: 102 INVITE.
Server: kamailio (3.1.4 (x86_64/linux)).
Content-Length: 0.
.
U 2011/08/04 13:16:57.488511 192.168.1.233:5060 -> 192.168.1.175:5060
SIP/2.0 480 Temporarily Unavailable.
Via: SIP/2.0/UDP 192.168.1.175:5060;branch=z9hG4bK-eab8c613.
From: <sip:101@192.168.1.233>;tag=43c22ff96586a71ao0.
To: <sip:102@192.168.1.233>;tag=NDrNpDZ1g0jZe.
Call-ID: 9acd1ca5-9162c25e(a)192.168.1.175.
CSeq: 102 INVITE.
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-5d37bc9 2011-08-03
09-05-01 -0500.
Accept: application/sdp.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Allow-Events: talk, hold, presence, dialog, line-seize, call-info,
sla, include-session-description, presence.winfo, message-summary, refer.
Reason: Q.850;cause=16;text="NORMAL_CLEARING".
Content-Length: 0.
Remote-Party-ID: "kb-102"
<sip:kb-102@192.168.1.233>;party=calling;privacy=off;screen=no.
.
U 2011/08/04 13:16:57.502085 192.168.1.175:5060 -> 192.168.1.233:5060
ACK sip:102@192.168.1.233 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.175:5060;branch=z9hG4bK-eab8c613.
From: <sip:101@192.168.1.233>;tag=43c22ff96586a71ao0.
To: <sip:102@192.168.1.233>;tag=NDrNpDZ1g0jZe.
Call-ID: 9acd1ca5-9162c25e(a)192.168.1.175.
CSeq: 102 ACK.
Max-Forwards: 70.
Proxy-Authorization: Digest
username="101",realm="192.168.1.233",nonce="TjqA1U46f6liNM8a6LX5HBJ2wXEBtOIX",uri="sip:102@192.168.1.233",algorithm=MD5,response="a019828b7a7334539ffa6b668dfcfada".
Contact: <sip:101@192.168.1.175:5060>.
User-Agent: Linksys/PAP2T-5.1.6(LS).
Content-Length: 0.
.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users