08-08-2018 08:51 PM - edited 03-17-2019 01:18 PM
I have this working perfectly using FreeSwitch with almost no configuration needed but I've migrated to an ISR 4331 on IOS XE and am trying to duplicate the functionality and remove freeswitch
Can someone please assist? My LAN interface is 192.168.0.254 and I have 2 SIP Clients, the Doorbird (192.168.0.141) and my Windows PC (192.168.0.10)
My SIP devices have registered successfully.
When I place a call, I see the following errors:
Aug 9 05:42:48.476: //-1/xxxxxxxxxxxx/SIP/Error/httpish_msg_free: Freeing NULL pointer! SIP: (571) Attribute mid, level 1 instance 1 not found. SIP: (571) Attribute mid, level 2 instance 1 not found. SIP: (571) setup attribute, level 1 instance 1 not found. SIP: (571) connection attribute, level 1 instance 1 not found. SIP: (571) Attribute label, level 1 instance 1 not found. SIP: (571) a=framerate attribute, level 1 instance 1 not found. SIP: (571) setup attribute, level 2 instance 1 not found. SIP: (571) connection attribute, level 2 instance 1 not found. SIP: (571) Attribute label, level 2 instance 1 not found. SIP: (571) a=framerate attribute, level 2 instance 1 not found. SIP: (571) Attribute ptime, level 2 instance 1 not found. Aug 9 05:42:48.480: //-1/xxxxxxxxxxxx/SIP/Error/voipCodec_to_rtpAvpCodec: Unexpected VoIPCodec Type :No Codec Aug 9 05:42:48.480: //-1/xxxxxxxxxxxx/SIP/Error/voipCodec_to_rtpAvpCodec: Unexpected VoIPCodec Type :No Codec SIP: (573) Group (a= group line) attribute, level 65535 instance 1 not found. SIP: (573) Group (a= group line) attribute, level 65535 instance 1 not found. Aug 9 05:42:53.482: //573/E1F5DCB581B7/SIP/Error/sipTransportPostSendFailure: Posting send failure msg with tcb:0x0 reason=5 Aug 9 05:42:53.482: //573/E1F5DCB581B7/SIP/Error/act_idle_send_msg_failure: Send Error to 1.129.105.230:63384 for transport TCP Aug 9 05:42:53.482: //-1/xxxxxxxxxxxx/SIP/Error/sipSPIGetContentQSIG: No Inbound Container Created !!! Aug 9 05:42:53.482: //-1/xxxxxxxxxxxx/SIP/Error/sipSPIGetContentQ931: No Inbound Container Created !!! Aug 9 05:42:53.483: //573/E1F5DCB581B7/SIP/Error/sipSPI_ipip_ExtractAndAddPassthruCopyListDataToContainer: Container is NULL Aug 9 05:42:53.483: //-1/xxxxxxxxxxxx/SIP/Error/httpish_msg_free: Freeing NULL pointer! Aug 9 05:42:53.483: //573/E1F5DCB581B7/SIP/Error/sipSPIFlushDeferredQueue: Invalid deferredQueue Aug 9 05:42:53.484: //-1/xxxxxxxxxxxx/SIP/Error/sipConnectionManagerUnregisterCtxtInConnection: Connection not found for addr=1.129.105.230, port=63384 local_addr=192.168.0.254 Aug 9 05:42:53.500: //571/E1F5DCB581B7/SIP/Error/sipSPIFlushDeferredQueue: Invalid deferredQueue Aug 9 05:42:54.420: //-1/xxxxxxxxxxxx/SIP/Error/sipSPILineGetVersionStr: Failed to get supported header value Aug 9 05:42:54.421: //-1/xxxxxxxxxxxx/SIP/Error/ccsipCheckVoiceRegSupportedFeatures: Unable to access supported header values
Here is my code:
voice service voip ip address trusted list ipv4 100.101.33.4 allow-connections sip to sip h323 call service stop sip bind control source-interface GigabitEthernet0/0/1 bind media source-interface GigabitEthernet0/0/1 registrar server expires max 1200 min 300 ! ! ! ! ! voice register global mode cme source-address 192.168.0.254 port 5060 max-dn 10 max-pool 10 auto-register ! ! voice register dn 1 number 1001 name Doorbird ! voice register dn 2 number 1002 name Note8 ! voice register pool 1 id mac 1CCA.E371.06FD number 1 dn 1 username 1001 password 456456 codec g711ulaw ! voice register pool 2 id mac 04D6.AA29.649C number 1 dn 2 username 1002 password 789789 codec g711ulaw ! ! !
ISR4331-KK#show sip calls called-number 1002
Total SIP call legs:2, User Agent Client:1, User Agent Server:1
SIP UAC CALL INFO
Call 1
SIP Call ID : E8105284-9ACC11E8-81ACE655-D753226C@192.168.0.254
State of the call : STATE_IDLE (1)
Substate of the call : SUBSTATE_NONE (0)
Calling Number : 1001
Called Number : 1002
Called URI : sip:1002@1.129.105.230:63384
Bit Flags : 0x400018 0x10000100 0x0
CC Call ID : 562
Local UUID :
Remote UUID :
Source IP Address (Sig ): 192.168.0.254
Destn SIP Req Addr:Port : [1.129.105.230]:63384
Destn SIP Resp Addr:Port: [1.129.105.230]:63384
Destination Name : 1.129.105.230
Number of Media Streams : 2
Number of Active Streams: 2
RTP Fork Object : 0x0
Media Mode : flow-through
Media Stream 1
State of the stream : STREAM_ACTIVE
Stream Call ID : 562
Stream Type : voice-only (0)
Stream Media Addr Type : 1
Negotiated Codec : No Codec (0 bytes)
Codec Payload Type : 255 (None)
Negotiated Dtmf-relay : inband-voice
Dtmf-relay Payload Type : 0
QoS ID : -1
Local QoS Strength : BestEffort
Negotiated QoS Strength : BestEffort
Negotiated QoS Direction : None
Local QoS Status : None
Media Source IP Addr:Port: [192.168.0.254]:8158
Media Stream 2
State of the stream : STREAM_ACTIVE
Stream Call ID : 563
Stream Type : video (7)
Stream Media Addr Type : 1
Negotiated Codec : No Codec (0 bytes)
Codec Payload Type : 255 (None)
Negotiated Dtmf-relay : inband-voice
Dtmf-relay Payload Type : 0
QoS ID : -1
Local QoS Strength : BestEffort
Negotiated QoS Strength : BestEffort
Negotiated QoS Direction : None
Local QoS Status : None
Media Source IP Addr:Port: [192.168.0.254]:8156
Mid-Call Re-Assocation Count: 0
SRTP-RTP Re-Assocation DSP Query Count: 0
Options-Ping ENABLED:NO ACTIVE:NO
Number of SIP User Agent Client(UAC) calls: 1
SIP UAS CALL INFO
Call 1
SIP Call ID : E8105284-9ACC11E8-81ACE655-D753226C@192.168.0.254
State of the call : STATE_IDLE (1)
Substate of the call : SUBSTATE_NONE (0)
Calling Number : 1001
Called Number : 1002
Called URI : sip:1002@1.129.105.230:63384
Bit Flags : 0x400018 0x10000100 0x0
CC Call ID : 562
Local UUID :
Remote UUID :
Source IP Address (Sig ): 192.168.0.254
Destn SIP Req Addr:Port : [1.129.105.230]:63384
Destn SIP Resp Addr:Port: [1.129.105.230]:63384
Destination Name : 1.129.105.230
Number of Media Streams : 2
Number of Active Streams: 2
RTP Fork Object : 0x0
Media Mode : flow-through
Media Stream 1
State of the stream : STREAM_ACTIVE
Stream Call ID : 562
Stream Type : voice-only (0)
Stream Media Addr Type : 1
Negotiated Codec : No Codec (0 bytes)
Codec Payload Type : 255 (None)
Negotiated Dtmf-relay : inband-voice
Dtmf-relay Payload Type : 0
QoS ID : -1
Local QoS Strength : BestEffort
Negotiated QoS Strength : BestEffort
Negotiated QoS Direction : None
Local QoS Status : None
Media Source IP Addr:Port: [192.168.0.254]:8158
Media Stream 2
State of the stream : STREAM_ACTIVE
Stream Call ID : 563
Stream Type : video (7)
Stream Media Addr Type : 1
Negotiated Codec : No Codec (0 bytes)
Codec Payload Type : 255 (None)
Negotiated Dtmf-relay : inband-voice
Dtmf-relay Payload Type : 0
QoS ID : -1
Local QoS Strength : BestEffort
Negotiated QoS Strength : BestEffort
Negotiated QoS Direction : None
Local QoS Status : None
Media Source IP Addr:Port: [192.168.0.254]:8156
Mid-Call Re-Assocation Count: 0
SRTP-RTP Re-Assocation DSP Query Count: 0
Options-Ping ENABLED:NO ACTIVE:NO
Number of SIP User Agent Server(UAS) calls: 1
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide