Random [CRIT] sofia_glue.c:1031 Error creating HANDLE! when using att_xfer
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@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@10.100.161.3:5060 ;transport=udp>] aed6d1eb-c1fe-496f-b520-150ae23918a6 from_str=["Outbound Call" < sip:keneja%sabia.pbx.isimples.com.br@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
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@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@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@10.100.161.3:5060;transport=udp>] aed6d1eb-c1fe-496f-b520-150ae23918a6 from_str=["Outbound Call" <sip:keneja%sabia.pbx.isimples.com.br@10.50.0.1 <mailto:sip%3Akeneja%25sabia.pbx.isimples.com.br@10.50.0.1>>] aed6d1eb-c1fe-496f-b520-150ae23918a6 invite_contact=[<sip:mod_sofia@10.50.0.1:5060 <http://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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@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@10.100.161.3:5060;transport=udp>] aed6d1eb-c1fe-496f-b520-150ae23918a6 from_str=["Outbound Call" < sip:keneja%sabia.pbx.isimples.com.br@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.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@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@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@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@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@10.100. 161.3:5060;transport=udp>] aed6d1eb-c1fe-496f-b520-150ae23918a6 from_str=["Outbound Call" < sip:keneja%sabia.pbx.isimples.com.br@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@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@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@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@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@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@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@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 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest
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@10.100.128.102:5060] call_id=[N/A] to_str=[<sip:102@10.100.128.102:5060>] from_str=["Outbound Call" <sip:106%piromax.pbx.isimples.com.br@10.50.0.1>] invite_contact=[<sip:mod_sofia@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@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@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@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@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@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@10.100.161 .3:5060;transport=udp>] aed6d1eb-c1fe-496f-b520-150ae23918a6 from_str=["Outbound Call" < sip:keneja%sabia.pbx.isimples.com.br@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@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@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@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@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@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@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@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@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@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
Of course not when you keep cutting out all the info and giving us only a small view of the logs, You need to get the logs captured from START to FINISH with debug cranked up and sip trace on, Otherwise you're guessing what is important for us to see. The issue could have start many many lines above this. /b On Thu, Apr 6, 2017 at 7:46 AM, Antonio Modesto <modesto916@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@10.100.128.102:5060] call_id=[N/A] to_str=[<sip:102@10.100.128.102:5060>] from_str=["Outbound Call" <sip:106%piromax.pbx.isimples.com.br@10.50.0.1>] invite_contact=[<sip:mod_sofia@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:
2017-04-06 1:33 GMT-03:00 Brian West <brian@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@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@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@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@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@10.100.161 .3:5060;transport=udp>] aed6d1eb-c1fe-496f-b520-150ae23918a6 from_str=["Outbound Call" < sip:keneja%sabia.pbx.isimples.com.br@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@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@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@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@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@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@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@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@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@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@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@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@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 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest
Hi, The reason for the error is that your From uri (sip:106%piromax.pbx.isimples.com.br@10.50.0.1) is invalid. The '%' character is used for escaping, so it must itsef be escaped (url encoded) as '%25'. Aside from that, you should IMHO, investigate why you receive it at first. Best regards, -- Vallimamod Abdullah SIP Solutions vma@sipsolutions.fr .
On 6 Apr 2017, at 14:46, Antonio Modesto <modesto916@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@10.100.128.102:5060] call_id=[N/A] to_str=[<sip:102@10.100.128.102:5060>] from_str=["Outbound Call" <sip:106%piromax.pbx.isimples.com.br@10.50.0.1>] invite_contact=[<sip:mod_sofia@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:
2017-04-06 1:33 GMT-03:00 Brian West <brian@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@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@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@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@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@10.100.161.3:5060;transport=udp>] aed6d1eb-c1fe-496f-b520-150ae23918a6 from_str=["Outbound Call" <sip:keneja%sabia.pbx.isimples.com.br@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@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@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@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@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@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@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@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
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) Skype:briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
That actually should be valid there, Since even when encoded values are injected they still contain percent signs. /b On Thu, Apr 6, 2017 at 8:04 AM, Vallimamod Abdullah <vma@vallimamod.org> wrote:
Hi,
The reason for the error is that your From uri ( sip:106%piromax.pbx.isimples.com.br@10.50.0.1) is invalid. The '%' character is used for escaping, so it must itsef be escaped (url encoded) as '%25'.
Aside from that, you should IMHO, investigate why you receive it at first.
Best regards, -- Vallimamod Abdullah SIP Solutions vma@sipsolutions.fr .
If this take place, please create jira for fix
ср, 5 апр. 2017, 22:52 Michael Jerris <mike@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@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@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@10.100. 161.3:5060;transport=udp>] aed6d1eb-c1fe-496f-b520-150ae23918a6 from_str=["Outbound Call" < sip:keneja%sabia.pbx.isimples.com.br@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 ____________________________________________________________
On 6 Apr 2017, at 14:46, Antonio Modesto <modesto916@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@10.100.128.102:5060] call_id=[N/A] to_str=[<sip:102@10.100.128.102:5060>] from_str=["Outbound Call" <sip:106%piromax.pbx.isimples.com.br@10.50.0.1 ] invite_contact=[<sip:mod_sofia@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:
2017-04-06 1:33 GMT-03:00 Brian West <brian@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@gmail.com> wrote: Check how many file handler allowed to create process. Default value is
Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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@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
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) Skype:briankwest
____________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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@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 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest
It very well could be the %, I can't find the reference that I looked up long ago about this. Try removing it and see. On Thu, Apr 6, 2017 at 8:10 AM, Brian West <brian@freeswitch.org> wrote:
That actually should be valid there, Since even when encoded values are injected they still contain percent signs.
/b
On Thu, Apr 6, 2017 at 8:04 AM, Vallimamod Abdullah <vma@vallimamod.org> wrote:
Hi,
The reason for the error is that your From uri ( sip:106%piromax.pbx.isimples.com.br@10.50.0.1) is invalid. The '%' character is used for escaping, so it must itsef be escaped (url encoded) as '%25'.
Aside from that, you should IMHO, investigate why you receive it at first.
Best regards, -- Vallimamod Abdullah SIP Solutions vma@sipsolutions.fr .
If this take place, please create jira for fix
ср, 5 апр. 2017, 22:52 Michael Jerris <mike@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@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@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@10.100.161 .3:5060;transport=udp>] aed6d1eb-c1fe-496f-b520-150ae23918a6 from_str=["Outbound Call" < sip:keneja%sabia.pbx.isimples.com.br@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 ____________________________________________________________
On 6 Apr 2017, at 14:46, Antonio Modesto <modesto916@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@10.100.128.102:5060] call_id=[N/A] to_str=[<sip:102@10.100.128.102:5060>] from_str=["Outbound Call" <sip:106%piromax.pbx.isimples. com.br@10.50.0.1>] invite_contact=[<sip:mod_sofia@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:
2017-04-06 1:33 GMT-03:00 Brian West <brian@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@gmail.com> wrote: Check how many file handler allowed to create process. Default value is
Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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@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
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) Skype:briankwest
____________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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@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
-- *Brian West* brian@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 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest
Hi, To my understanding, the BNF grammar in rfc3261 says that % must be followed by hex digits (https://tools.ietf.org/html/rfc3261#section-25.1): SIP-URI = "sip:" [ userinfo ] hostport uri-parameters [ headers ] userinfo = ( user / telephone-subscriber ) [ ":" password ] "@" user = 1*( unreserved / escaped / user-unreserved ) user-unreserved = "&" / "=" / "+" / "$" / "," / ";" / "?" / "/" unreserved = alphanum / mark mark = "-" / "_" / "." / "!" / "~" / "*" / "'" / "(" / ")" escaped = "%" HEXDIG HEXDIG The issue here is that the '%pi' in the uri is not a valid encoded hex representation. Best Regards, -- Vallimamod Abdullah SIP Solutions vma@sipsolutions.fr .
On 6 Apr 2017, at 15:45, Brian West <brian@freeswitch.org> wrote:
It very well could be the %, I can't find the reference that I looked up long ago about this. Try removing it and see.
On Thu, Apr 6, 2017 at 8:10 AM, Brian West <brian@freeswitch.org> wrote: That actually should be valid there, Since even when encoded values are injected they still contain percent signs.
/b
On Thu, Apr 6, 2017 at 8:04 AM, Vallimamod Abdullah <vma@vallimamod.org> wrote: Hi,
The reason for the error is that your From uri (sip:106%piromax.pbx.isimples.com.br@10.50.0.1) is invalid. The '%' character is used for escaping, so it must itsef be escaped (url encoded) as '%25'.
Aside from that, you should IMHO, investigate why you receive it at first.
Best regards, -- Vallimamod Abdullah SIP Solutions vma@sipsolutions.fr .
On 6 Apr 2017, at 14:46, Antonio Modesto <modesto916@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@10.100.128.102:5060] call_id=[N/A] to_str=[<sip:102@10.100.128.102:5060>] from_str=["Outbound Call" <sip:106%piromax.pbx.isimples.com.br@10.50.0.1>] invite_contact=[<sip:mod_sofia@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:
2017-04-06 1:33 GMT-03:00 Brian West <brian@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@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@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@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@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@10.100.161.3:5060;transport=udp>] aed6d1eb-c1fe-496f-b520-150ae23918a6 from_str=["Outbound Call" <sip:keneja%sabia.pbx.isimples.com.br@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@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@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@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@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@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@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@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
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) Skype:briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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@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
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) Skype:briankwest
-- Brian West brian@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
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) Skype:briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@10.100.128.102:5060 <http://sip:102@10.100.128.102:5060/>] call_id=[N/A] to_str=[<sip:102@10.100.128.102:5060 <http://sip:102@10.100.128.102:5060/>>] from_str=["Outbound Call" <sip:106%piromax.pbx.isimples.com.br@10.50.0.1 <mailto:sip%3A106%25piromax.pbx.isimples.com.br@10.50.0.1>>] invite_contact=[<sip:mod_sofia@10.50.0.1:5060 <http://sip:mod_sofia@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 <https://pastebin.com/CzhMEPbB>
2017-04-06 1:33 GMT-03:00 Brian West <brian@freeswitch.org <mailto:brian@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@gmail.com <mailto:s.safarov@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@jerris.com <mailto:mike@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@gmail.com <mailto:modesto916@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@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@10.100.161.3:5060;transport=udp <>>] aed6d1eb-c1fe-496f-b520-150ae23918a6 from_str=["Outbound Call" <sip:keneja%sabia.pbx.isimples.com.br@10.50.0.1 <mailto:sip%3Akeneja%25sabia.pbx.isimples.com.br@10.50.0.1>>] aed6d1eb-c1fe-496f-b520-150ae23918a6 invite_contact=[<sip:mod_sofia@10.50.0.1:5060 <http://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@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
-- Brian West brian@freeswitch.org <mailto:brian@freeswitch.org> Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com <http://www.freeswitchbook.com/> http://www.freeswitchcookbook.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 <tel:(918)%20420-9001> | F:+19184209002 <tel:(918)%20420-9002> | M:+1918424WEST (9378) Skype:briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
-- Atenciosamente,
Antônio Modesto _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@domain and see if it helps. Thanks a lot. 2017-04-06 12:42 GMT-03:00 Michael Jerris <mike@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@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@10.100.128.102:5060] call_id=[N/A] to_str=[<sip:102@10.100.128.102:5060>] from_str=["Outbound Call" <sip:106%piromax.pbx.isimples.com.br@10.50.0.1>] invite_contact=[<sip:mod_sofia@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:
2017-04-06 1:33 GMT-03:00 Brian West <brian@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@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@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@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@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@10.100.161 .3:5060;transport=udp>] aed6d1eb-c1fe-496f-b520-150ae23918a6 from_str=["Outbound Call" < sip:keneja%sabia.pbx.isimples.com.br@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@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@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@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@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@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@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@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@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@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@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@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@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@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
Hello everyone, Just for the record, the problem was indeed the '%' inside the fields. I was using sofia/internal/<user>%<domain> as a param to the bridge application because the XML generated by my API did not include a 'dial-string' param. After modifying the API to include the dial string for the entire domain I could start using the user endpoint Ex: 'user/user@domain'. Thanks everyone for the help. 2017-04-07 8:18 GMT-03:00 Antonio Modesto <modesto916@gmail.com>:
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@domain and see if it helps.
Thanks a lot.
2017-04-06 12:42 GMT-03:00 Michael Jerris <mike@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@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@10.100.128.102:5060] call_id=[N/A] to_str=[<sip:102@10.100.128.102:5060>] from_str=["Outbound Call" <sip:106%piromax.pbx.isimples.com.br@10.50.0.1
] invite_contact=[<sip:mod_sofia@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:
2017-04-06 1:33 GMT-03:00 Brian West <brian@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@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@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@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@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@10.100.161 .3:5060;transport=udp>] aed6d1eb-c1fe-496f-b520-150ae23918a6 from_str=["Outbound Call" < sip:keneja%sabia.pbx.isimples.com.br@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@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@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@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@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@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@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
--
*Brian West* brian@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@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@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@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@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@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@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
-- Atenciosamente, Antônio Modesto
participants (5)
-
Antonio Modesto
-
Brian West
-
Michael Jerris
-
Sergey Safarov
-
Vallimamod Abdullah