[Freeswitch-users] Random [CRIT] sofia_glue.c:1031 Error creating HANDLE! when using att_xfer

Antonio Modesto modesto916 at gmail.com
Fri Apr 7 15:18:37 MSD 2017


Hi,


I think I know where this is coming from. I use mod_xml_curl to generate my
XML directory (We have a web application to manipulate our user / domain
database). The domain / users are not being generated with a 'dial-string'
parameter, so I'm using sofia/internal/user%domain to dial to the users
inside my dialplan. I'll change my code to generate the dial-string so that
I can dial using user/user at domain and see if it helps.

Thanks a lot.


2017-04-06 12:42 GMT-03:00 Michael Jerris <mike at jerris.com>:

> From the rest of this thread, it does look possible that the % is causing
> this.  Can you manipulate to remove that and confirm if that is the case.
> If it is, please file a jira on this, that would indicate we need to add a
> line of code to encode that user portion of the from string.
>
> On Apr 6, 2017, at 7:46 AM, Antonio Modesto <modesto916 at gmail.com> wrote:
>
> Hello guys,
>
> I tried to increase sofia debug level to 9 but it gave me nothing useful:
>
> nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering
> nua_common.c:122 nh_create_handle() nua(0x7f8018014150): creating handle
> 0x7f8015287660 failed
> 2017-04-06 09:23:17.300587 [CRIT] sofia_glue.c:1031 Error creating HANDLE!
> url_str=[sip:102 at 10.100.128.102:5060]
> call_id=[N/A]
> to_str=[<sip:102 at 10.100.128.102:5060>]
> from_str=["Outbound Call" <sip:106%piromax.pbx.isimples.com.br at 10.50.0.1>]
> invite_contact=[<sip:mod_sofia at 10.50.0.1:5060>]
> 2017-04-06 09:23:17.300587 [NOTICE] mod_sofia.c:117 Hangup
> sofia/internal/102 [CS_INIT] [DESTINATION_OUT_OF_ORDER]
>
> Talking to my client I managed to get some more context. This always
> happens when the person tries to transfer the same call for the second
> time. For example:
>
>
> 1) LEG A (PSTN) Calls LEG B (Bob)
> 2) Bob answers the call and tries to transfer the call to Sally
> 3) Sally answers Bob and tell him to talk to Alice and hangs up the call
> 4) Bob is now talking again to PSTN
> 5) Bob tries to transfer the call to Alice, the transfer returns
> immediately and the error above pops on the console
>
> Here is the output of *info *before calling att_xfer:
>
> https://pastebin.com/CzhMEPbB
>
>
>
>
>
>
>
> 2017-04-06 1:33 GMT-03:00 Brian West <brian at freeswitch.org>:
>
>> This issue has zero to do with file handles, its the NUA handle in Sofia.
>>
>> /b
>>
>>
>> On Wed, Apr 5, 2017 at 11:02 PM, Sergey Safarov <s.safarov at gmail.com>
>> wrote:
>>
>>> Check how many file handler allowed to create process. Default value is
>>> 1024.
>>> If this take place,  please create jira for fix
>>>
>>> ср, 5 апр. 2017, 22:52 Michael Jerris <mike at jerris.com>:
>>>
>>>> Are you forcing one of those values with a var?
>>>>
>>>> sofia loglevel all 9 may help show which one it doesn’t like, but one
>>>> of those vars printed is the wrong format.
>>>>
>>>> On Apr 5, 2017, at 2:36 PM, Antonio Modesto <modesto916 at gmail.com>
>>>> wrote:
>>>>
>>>> Hi folks,
>>>>
>>>> Some of my customers are complaining that sometimes when they are going
>>>> to transfer a call, it drops. I noticed that when this happens, freeswitch
>>>> reports the following in the console/logfile:
>>>>
>>>>
>>>> aed6d1eb-c1fe-496f-b520-150ae23918a6 2017-04-04 12:58:13.900620
>>>> [NOTICE] switch_channel.c:1104 New Channel sofia/internal/angela
>>>> [aed6d1eb-c1fe-496f-b520-150ae
>>>> 23918a6]
>>>> aed6d1eb-c1fe-496f-b520-150ae23918a6 2017-04-04 12:58:13.900620 [CRIT]
>>>> sofia_glue.c:1031 Error creating HANDLE!
>>>> aed6d1eb-c1fe-496f-b520-150ae23918a6 url_str=[sip:angela at 10.100.161
>>>> .3:5060;transport=udp]
>>>> aed6d1eb-c1fe-496f-b520-150ae23918a6 call_id=[N/A]
>>>> aed6d1eb-c1fe-496f-b520-150ae23918a6 to_str=[<sip:angela at 10.100.161
>>>> .3:5060;transport=udp>]
>>>> aed6d1eb-c1fe-496f-b520-150ae23918a6 from_str=["Outbound Call" <
>>>> sip:keneja%sabia.pbx.isimples.com.br at 10.50.0.1>]
>>>> aed6d1eb-c1fe-496f-b520-150ae23918a6 invite_contact=[<sip:mod_sofia
>>>> @10.50.0.1:5060>]
>>>> aed6d1eb-c1fe-496f-b520-150ae23918a6 2017-04-04 12:58:13.900620
>>>> [NOTICE] mod_sofia.c:117 Hangup sofia/internal/angela [CS_INIT]
>>>> [DESTINATION_OUT_OF_ORDER]
>>>>
>>>>
>>>> Do you guys know what can be causing this?
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> --
>>>> Atenciosamente,
>>>>
>>>> Antônio Modesto
>>>> ____________________________________________________________
>>>> _____________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://confluence.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/free
>>>> switch-users
>>>> http://www.freeswitch.org
>>>>
>>>>
>>>> ____________________________________________________________
>>>> _____________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://confluence.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/free
>>>> switch-users
>>>> http://www.freeswitch.org
>>>
>>>
>>> ____________________________________________________________
>>> _____________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.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
>>>
>>
>>
>>
>> --
>>
>> *Brian West*
>> brian at freeswitch.org
>>
>> *Twitter: @FreeSWITCH , @briankwest*
>>
>> http://www.freeswitchbook.com
>> http://www.freeswitchcookbook.com
>>
>> Allison prompts for FreeSWITCH:
>>
>> *https://www.gofundme.com/allison-prompts-for-freeswitch*
>> <https://www.gofundme.com/allison-prompts-for-freeswitch>
>>
>> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
>> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>>
>> *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002>
>> | *M:*+1918424WEST (9378)
>> *Skype:*briankwest
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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
>>
>
>
>
> --
> Atenciosamente,
>
> Antônio Modesto
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>



-- 
Atenciosamente,

Antônio Modesto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170407/e86ff2bf/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list