[Asterisk-Users] Stripping SDP body in SIP messages

Dmitriy Yermakov thorn at system.spb.ru
Wed Mar 12 05:05:43 MST 2003


Hello,

* from cvs today, Wed Mar 12 about12:00, don't add SDP 'a' parameter in SIP 
messages. Any calls between SIP-devices via asterisk.


SDP body:

v=0
o=root 27982 27982 IN IP4 192.168.50.8
s=session
c=IN IP4 192.168.50.8
t=0 0
m=audio 59430 RTP/AVP

And log from cisco AS5300

Mar 12 13:42:39 MSK: HandleUdpSocketReads :Msg enqueued for SPI with IPaddr: 
192.168.50.8:5060
Mar 12 13:42:39 MSK: CCSIP-SPI-CONTROL:  sipSPISipIncomingCall
Mar 12 13:42:39 MSK: 0x623164C0 : State change from (STATE_NONE, 
SUBSTATE_NONE)  to (STATE_IDLE, SUBSTATE_NONE)
Mar 12 13:42:39 MSK: CCSIP-SPI-CONTROL:  act_idle_new_message
Mar 12 13:42:39 MSK: CCSIP-SPI-CONTROL:  sact_idle_new_message_invite
Mar 12 13:42:39 MSK: CCSIP-SPI-CONTROL:  sip_stats_method
Mar 12 13:42:39 MSK: sipsdp_is_valid: Error in one of the SDP body fields 

Mar 12 13:42:39 MSK: CCSIP-SPI-CONTROL:  sipInviteError
Mar 12 13:42:39 MSK:  Queued event from SIP SPI : SIPSPI_EV_SEND_MESSAGE
Mar 12 13:42:39 MSK: CCSIP-SPI-CONTROL:  sip_stats_status_code
Mar 12 13:42:39 MSK: 0x623164C0 : State change from (STATE_IDLE, 
SUBSTATE_NONE)  to (STATE_DISCONNECTING, SUBSTATE_NONE)
Mar 12 13:42:39 MSK: Sent: 
SIP/2.0 400 Bad Request - 'Invalid SDP information'

cvs version from -D '1 day ago' work properly.

v=0
o=root 32049 32049 IN IP4 192.168.50.8
s=session
c=IN IP4 192.168.50.8
t=0 0
m=audio 54678 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

Mar 12 14:24:59 MSK: HandleUdpSocketReads :Msg enqueued for SPI with IPaddr: 
192.168.50.8:5060
Mar 12 14:24:59 MSK: CCSIP-SPI-CONTROL:  sipSPISipIncomingCall
Mar 12 14:24:59 MSK: 0x62318850 : State change from (STATE_NONE, 
SUBSTATE_NONE)  to (STATE_IDLE, SUBSTATE_NONE)
Mar 12 14:24:59 MSK: CCSIP-SPI-CONTROL:  act_idle_new_message
Mar 12 14:24:59 MSK: CCSIP-SPI-CONTROL:  sact_idle_new_message_invite
Mar 12 14:24:59 MSK: CCSIP-SPI-CONTROL:  sip_stats_method
Mar 12 14:24:59 MSK: Using Voice Class Codec, tag=1



More information about the asterisk-users mailing list