[Freeswitch-users] Freeswitch opened multiple outbound channels for one call with different uuid

David spautz2 at telefaks.biz
Wed Feb 8 15:45:56 MSK 2012


Am 08.02.2012 09:20, schrieb David:
> Hi,
>
> i wonder because when i do a normal call e.g. from directory 220 to
> directory 240 (all internal), then freeswitch opened 5 channels.
>
> One for that inbound from 220, second, a channel for outbound to 240.
> Thats ok, but there was 3 addition channels (all with direction=outbound
> and dest=240 and all the same data (shown in database table
> core_channels)). Only the uuid is different.
>
> The problem is that, if the callee accept this invite, three
> hangup-events get fired by freeswitch.
>
> How can i avoid this creation of three additional channels? What are the
> reason for this channels?
>
>
> Thanks
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

It was found that freeswitch performs multiple INVITES. But why?

2012-02-08 13:42:22.464450 [NOTICE] switch_channel.c:926 New Channel 
sofia/internal/220 at entwick1 [ac3dbe28-12df-42ff-ba63-7939d3fe5c77]
2012-02-08 13:42:22.464450 [INFO] mod_dialplan_xml.c:485 Processing User 
220 <220>->240 in context default
nta: timer J fired, terminate 200 response
nta_incoming_timer: 0/0 resent, 0/0 tout, 1/2 term, 1/3 free
nta: timer K fired, terminate OPTIONS (24015567)
nta_outgoing_timer: 0/0 resent, 0/0 tout, 1/5 term, 1/5 free
nta: timer K fired, terminate OPTIONS (24015565)
nta: timer K fired, terminate OPTIONS (24015566)
nta_outgoing_timer: 0/0 resent, 0/0 tout, 2/4 term, 2/4 free
nta: timer K fired, terminate OPTIONS (24015564)
nta_outgoing_timer: 0/0 resent, 0/0 tout, 1/2 term, 1/2 free
nta: timer K fired, terminate OPTIONS (24015568)
nta_outgoing_timer: 0/0 resent, 0/0 tout, 1/1 term, 1/1 free
2012-02-08 13:42:24.224610 [NOTICE] mod_sofia.c:2506 Ring-Ready 
sofia/internal/220 at entwick1!
nta: sent 180 Ringing for INVITE (2)
nua(0xb6ea4088): call state changed: received -> early
2012-02-08 13:42:24.224610 [NOTICE] mod_dptools.c:891 Ring Ready 
sofia/internal/220 at entwick1!
2012-02-08 13:42:25.364453 [NOTICE] switch_channel.c:926 New Channel 
sofia/internal/sip:240 at 192.168.1.11:5060 
[cddc3d8d-e30d-4985-be48-5702bc7f32b0]
2012-02-08 13:42:25.364453 [NOTICE] switch_channel.c:926 New Channel 
sofia/internal/sip:240 at 192.168.1.11:5060 
[368c5156-f353-4141-9def-8ccd1df64579]
2012-02-08 13:42:25.364453 [NOTICE] switch_channel.c:926 New Channel 
sofia/internal/sip:240 at 192.168.1.11:5060 
[1f955ed3-62a7-4c37-8016-39655a992017]
nua(0xb6427168): adding session usage
2012-02-08 13:42:25.364453 [NOTICE] switch_channel.c:926 New Channel 
sofia/internal/sip:240 at 192.168.1.11:5060 
[b6f6c2a8-9098-4528-a38e-8a463e38b12c]
nta: sent INVITE (24016408) to */192.168.1.11:5060
nua(0xb6427168): call state changed: init -> calling, sent offer
nua(0xb689fe28): adding session usage
nta: sent INVITE (24016408) to */192.168.1.11:5060
nua(0xb689fe28): call state changed: init -> calling, sent offer
nua(0xb68018d8): adding session usage
nta: sent INVITE (24016408) to */192.168.1.11:5060
nua(0xb68018d8): call state changed: init -> calling, sent offer
nua(0x8ed3d50): adding session usage
nta: sent INVITE (24016408) to */192.168.1.11:5060
nua(0x8ed3d50): call state changed: init -> calling, sent offer
nta: received 180 Ringing for INVITE (24016408)
nta: 180 Ringing is going to a transaction
nua(0xb6427168): call state changed: calling -> proceeding
2012-02-08 13:42:25.504438 [NOTICE] sofia.c:5604 Ring-Ready 
sofia/internal/sip:240 at 192.168.1.11:5060!
2012-02-08 13:42:25.504438 [NOTICE] switch_ivr_originate.c:483 Ring 
Ready sofia/internal/220 at entwick1!
nta: received 486 Busy Here for INVITE (24016408)
nta: 486 Busy Here is going to a transaction
nta: sent ACK (24016408) to UDP/192.168.1.11:5060
nua(0xb689fe28): call state changed: calling -> init
nua(0xb689fe28): removing session usage
2012-02-08 13:42:25.604444 [NOTICE] sofia.c:6276 Hangup 
sofia/internal/sip:240 at 192.168.1.11:5060 [CS_CONSUME_MEDIA] [USER_BUSY]
nta: received 486 Busy Here for INVITE (24016408)
nta: 486 Busy Here is going to a transaction
nta: sent ACK (24016408) to UDP/192.168.1.11:5060
nua(0xb68018d8): call state changed: calling -> init
nua(0xb68018d8): removing session usage
2012-02-08 13:42:25.704439 [NOTICE] sofia.c:6276 Hangup 
sofia/internal/sip:240 at 192.168.1.11:5060 [CS_CONSUME_MEDIA] [USER_BUSY]
nta: timer I fired, terminate 407 response
nta_incoming_timer: 0/0 resent, 0/0 tout, 1/1 term, 1/2 free
nta: timer A fired, retransmit INVITE (24016408)
nta: resent INVITE (24016408) to */192.168.1.11:5060
nta_outgoing_timer: 1/1 resent, 0/1 tout, 0/2 term, 0/4 free
nta: received 486 Busy Here for INVITE (24016408)
nta: 486 Busy Here is going to a transaction
nta: sent ACK (24016408) to UDP/192.168.1.11:5060
nua(0x8ed3d50): call state changed: calling -> init
nua(0x8ed3d50): removing session usage
2012-02-08 13:42:26.464439 [NOTICE] sofia.c:6276 Hangup 
sofia/internal/sip:240 at 192.168.1.11:5060 [CS_CONSUME_MEDIA] [USER_BUSY]
nta: received 486 Busy Here for INVITE (24016408)
nta: 486 Busy Here is going to a transaction
nta: sent ACK (24016408) to UDP/192.168.1.11:5060
nta: 486 Busy Here is duplicate response to 24016408 INVITE
     Via: SIP/2.0/UDP 192.168.1.4 ;branch=z9hG4bKva9aUQeyeN81p
nta: received 486 Busy Here for INVITE (24016408)
nta: 486 Busy Here is going to a transaction
nta: sent ACK (24016408) to UDP/192.168.1.11:5060
nta: 486 Busy Here is duplicate response to 24016408 INVITE
     Via: SIP/2.0/UDP 192.168.1.4 ;branch=z9hG4bKva9aUQeyeN81p
nta: received 486 Busy Here for INVITE (24016408)
nta: 486 Busy Here is going to a transaction
nta: sent ACK (24016408) to UDP/192.168.1.11:5060
nta: 486 Busy Here is duplicate response to 24016408 INVITE
     Via: SIP/2.0/UDP 192.168.1.4 ;branch=z9hG4bKva9aUQeyeN81p
nta: received CANCEL sip:240 at entwick1;user=phone SIP/2.0 (CSeq 2)
nta: CANCEL (2) is going to INVITE (2)
nta: sent 487 Request Terminated for INVITE (2)
nua(0xb6ea4088): removing session usage
nua(0xb6ea4088): call state changed: early -> terminated






Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list