[Freeswitch-users] ptime problem with provider (Cisco hardware)

Łukasz Czerpak lukasz at czerpak.eu
Thu Mar 19 12:20:18 PDT 2009


Kristian Kielhofner wrote:
> Hi,
> 
>   This is a known issue with some of these platforms but for
> completeness can you send the actual SDP?

My voip configuration:


        +------------+         +----------+
        | ROUTER     |   LAN   | Linksys  |
NET----| with       |---------| PAP2T-EU |
        | FreeSWITCH |         |          |
        +------------+         +----------+

Linksys has changed rtp packet size to 0.020
On FreeSWITCH i am using g729 (http://freehg.org/u/deepwalker/fs_g729/) 
- for testing only.

SDP logs are below, full session's log is in attachment:

2009-03-19 20:07:02 [DEBUG] sofia.c:2806 sofia_handle_sip_i_state() 
Channel sofia/external/0607xxxxxx at 217.11.128.50 entering state 
[received]
2009-03-19 20:07:02 [DEBUG] sofia.c:2810 sofia_handle_sip_i_state() 
Remote SDP: 

v=0 
 

o=CiscoSystemsSIP-GW-UserAgent 9221 3981 IN IP4 217.11.128.50 
 

s=SIP Call 
 

c=IN IP4 217.11.128.50 
 

t=0 0 
 

m=audio 18292 RTP/AVP 18 4 2 98 99 0 8 3 100 101 19 
 

c=IN IP4 217.11.128.50 
 

a=rtpmap:18 G729/8000 
 

a=fmtp:18 annexb=yes 
 

a=rtpmap:4 G723/8000 
 

a=fmtp:4 annexa=yes 
 

a=rtpmap:2 G726-32/8000 
 

a=rtpmap:98 G726-24/8000 
 

a=rtpmap:99 G726-16/8000 
 

a=rtpmap:0 PCMU/8000 
 

a=rtpmap:8 PCMA/8000 
 

a=rtpmap:3 GSM/8000 
 

a=rtpmap:100 X-NSE/8000 
 

a=fmtp:100 192-194 
 

a=rtpmap:101 telephone-event/8000 
 

a=fmtp:101 0-16 
 

a=rtpmap:19 CN/8000 
 

a=direction:active

...

2009-03-19 20:07:02 [INFO] mod_sofia.c:1351 sofia_receive_message() Ring 
SDP: 

v=0 
 

o=FreeSWITCH 1237472006 1237472007 IN IP4 89.79.191.29 
 

s=FreeSWITCH 
 

c=IN IP4 89.79.191.29 
 

t=0 0 
 

m=audio 17616 RTP/AVP 18 101 19 
 

a=rtpmap:18 G729/8000 
 

a=fmtp:18 annexb=yes 
 

a=rtpmap:101 telephone-event/8000 
 

a=fmtp:101 0-16 
 

a=rtpmap:19 CN/8000 
 

a=ptime:20 
 

a=sendrecv

...

2009-03-19 20:07:03 [DEBUG] sofia.c:2810 sofia_handle_sip_i_state() 
Remote SDP: 

v=0 
 

o=- 121150237 121150237 IN IP4 192.168.1.250 
 

s=- 
 

c=IN IP4 192.168.1.250 
 

t=0 0 
 

m=audio 16438 RTP/AVP 18 100 101 
 

a=rtpmap:18 G729a/8000 
 

a=rtpmap:100 NSE/8000 
 

a=fmtp:100 192-193 
 

a=rtpmap:101 telephone-event/8000 
 

a=fmtp:101 0-15 
 

a=ptime:20

...

2009-03-19 20:07:03 [DEBUG] mod_sofia.c:503 sofia_answer_channel() Local 
SDP sofia/external/0607320038 at 217.11.128.50: 

v=0 
 

o=FreeSWITCH 1237472006 1237472008 IN IP4 89.79.191.29 
 

s=FreeSWITCH 
 

c=IN IP4 89.79.191.29 
 

t=0 0 
 

m=audio 17616 RTP/AVP 18 101 19 
 

a=rtpmap:18 G729/8000 
 

a=fmtp:18 annexb=yes 
 

a=rtpmap:101 telephone-event/8000 
 

a=fmtp:101 0-16 
 

a=rtpmap:19 CN/8000 
 

a=ptime:20 
 

a=sendrecv

...

2009-03-19 20:07:04 [DEBUG] sofia.c:2810 sofia_handle_sip_i_state() 
Remote SDP: 

v=0 
 

o=CiscoSystemsSIP-GW-UserAgent 9221 3981 IN IP4 217.11.128.50 
 

s=SIP Call 
 

c=IN IP4 217.11.128.50 
 

t=0 0 
 

m=audio 18292 RTP/AVP 18 19 101 100 
 

c=IN IP4 217.11.128.50 
 

a=rtpmap:18 G729/8000 
 

a=fmtp:18 annexb=yes 
 

a=rtpmap:19 CN/8000 
 

a=rtpmap:101 telephone-event/8000 
 

a=fmtp:101 0-16 
 

a=rtpmap:100 X-NSE/8000 
 

a=fmtp:100 192-194 
 

a=ptime:60


regards,
Lukasz



-------------- next part --------------
A non-text attachment was scrubbed...
Name: session2.log
Type: text/x-log
Size: 40912 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090319/816d2158/attachment-0002.bin 


More information about the FreeSWITCH-users mailing list